So I am making this "Alien Invaders" style game, and I have made the ship that you control. Now it's just that I need some modifications to that sprite. I need someone that can take my sprite and make sprites to when the ship turns left and right. The ship sprite size is 16x16.
Those are the images I need. And if possible, keep image size 16x16.
Ok, so in my game I want zombies (obj_zombie) to follow me (obj_player). But the zombies encounter obstacles like walls (obj_wall_stone)(obj_wall2_stone). And the zombies need to avoid themselves too! This is my code:
The zombies avoid themselves, that works fine. But I want them to avoid my stone walls. And when they touch the player I want them to have a "knockback" effect too! Like set the speed to -2 or something like that.
I tried this code
mp_potential_step_object(obj_player.x,obj_player.y,2,obj_zombie and obj_wall_stone)
But that didn't work for avoiding the walls! Any help would be great!
Simple code to make them follow me, and face my direction. But if I have multiple zombies in the room and they follow me for some time, they "overlap". Hope u know what I mean.. So what should I do?? D:
2. Problem: Shotgun
Ok so the player has weapons to defend himself (obviously). I so far made a normal pistol, and a mini uzi. But when it comes to the shotgun I am stuck... When the player left clicks, obj_bullet is created at obj_player.x,obj_player.y and in the create event of the bullet it has this code:
Ok so I have made a game where you can get points for completing levels, and the faster you complete it, the more points you get. So at the end of the game I want the highscore (score caption) to pop up. And at the top of the list I want my best score. So people who try the game, can try to beat my score. How can I do that?
I was wondering if you could multiply 2 or more variables. Like if i have a variable called score and a variable called bonus and i want to multiply them, how could i do that? Like "score + bonus"? Plz help me