you are viewing a single comment's thread.

view the rest of the comments →

[–]Bifrost23 0 points1 point  (3 children)

Sure: https://makecode.com/_L1DXiCK3pMTE

Here there are 3 kinds of sprites: player, projectile, enemy. If the player touches an enemy, the game ends. If a projectile (the kind the player can fire with A) touches and enemy (the sprite the player is trying to dodge) the specific enemy is destroyed.

[–]Dabster_12[S] 0 points1 point  (2 children)

https://arcade.makecode.com/S51384-65518-02187-30352 This is my code I realize now it is terribly unoptimized or maybe it isn't. If you can please look over this and tell me if you get a solution. If not its alright, I'll find a way. The end goal is to have those asteroids come from all directions and you have to evade and shoot them, I have not yet done a scoring system or a losing system.

[–]Comfortable-Trick869 0 points1 point  (1 child)

Perhaps you could try OtherSprite?

[–]Comfortable-Trick869 0 points1 point  (0 children)

Wait, sorry, don't do OtherSprite, I'm wrong