A
Alexis3335
Guest
Hello,
I am making an Asteroid-like game and I am a begginer.I now have a spaceship that follows your cursor and moves and it even has a little flame animation,but I have trouble with the "asteroids".I made the object with the sprite,but how can I make it so it moves randomly on the room and when it hits the player,you go to the "Game Over" room I will make (for this part of coding,I'm okay)Could you guys help me?Thanks for your time
(Picture is showing my Spaceship object coding for now,idk if it's usefull but I put it just in case)View attachment 18590
I am making an Asteroid-like game and I am a begginer.I now have a spaceship that follows your cursor and moves and it even has a little flame animation,but I have trouble with the "asteroids".I made the object with the sprite,but how can I make it so it moves randomly on the room and when it hits the player,you go to the "Game Over" room I will make (for this part of coding,I'm okay)Could you guys help me?Thanks for your time
(Picture is showing my Spaceship object coding for now,idk if it's usefull but I put it just in case)View attachment 18590