Jump to content


killer24norway

Member Since 07 Mar 2010
Offline Last Active Oct 09 2012 08:06 AM

Topics I've Started

Spriter needed. Very simple job!

08 September 2012 - 01:25 PM

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. Posted Image

  • Left
  • Right
  • Hard Left
  • Hard Right

Those are the images I need. And if possible, keep image size 16x16.

Avoiding multiple instances?

18 November 2011 - 04:22 PM

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:
mp_potential_step_object(obj_player.x,obj_player.y,2,obj_zombie)

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!   :turned:

TDS shooter: enemies and shotgun problems!

12 November 2011 - 04:57 PM

Ok so I am making a new game (Top Down Shooter), called Zombies Attack and I have come up on 2 problems that has me stuck!

1. Problem: Enemies

So my enemies (I'm gonna call them zombies now) are trying to kill me. Here is the code:
move_towards_point(obj_player.x,obj_player.y,2)
image_angle=point_direction(x,y,obj_player.x,obj_player.y);

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:
image_angle=point_direction(x,y,mouse_x,mouse_y)
move_towards_point(mouse_x,mouse_y,20)

For the shotgun I want 5,6 maybe 7 bullets to fire out, and each bullet in its own direction, if that makes sense... And remember this is a Top Down Shooter. Any help would be appreciated.   :thumbsup:

Saving highscore in game?

11 September 2011 - 03:32 PM

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?

Multiplying variables help?

26 July 2011 - 12:18 PM

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 :P