Jump to content


Crasher111

Member Since 01 Jun 2009
Offline Last Active Nov 06 2012 01:44 AM

Posts I've Made

In Topic: GM8 Variables not working?

24 October 2012 - 07:22 AM

- you have given it 2 hp .. but do the destroy check at 1 hp instead at 0 hp

- collisions can happen many times each second, so you might want to set an alarm in the tower so it can only recive dmg at certain intervals .. might be better to do it in the enemy since multible enemies can attack a wall..

enemy collision with tower:

if alarm[0]<0{ // if alarm 0 is off
  other.DefenseHealth -= 1;
  alarm[0]=room_speed; // 1 second delay til next dmg
}
enemy alarm 0 event:
// leave a comment there to keep countdown active

- your build code can be mashed together into:
if keyboard_check_pressed(ord('C'))
if Ground=0
{
  Score = -10
  instance_create(obj_player.x,obj_player.y,obj_defense)
}


Sorry for the huge bump, but I just went back to this project and I realized that I found my fix!

Seriously, thanks for this. You're going in the credits.

Could someone please close this?

In Topic: GM8 Variables not working?

07 January 2012 - 10:52 PM

No, both yours and my solution didn't work.

In Topic: GM8 Variables not working?

07 January 2012 - 09:01 PM

Doesn't work. I put down the tower and what happens is that 2 enemies collide with it, and it doesn't disappear. I MAY have a solution to it though.

Thanks anyway.

Edit: Well, that didn't work. All I did was make a new object and in the Create event, change the object to my defence. It's in D&D though, as I dunno what the code is to change an instance.

In Topic: Suh Burb - Version 2.51

21 July 2010 - 02:50 PM

Lol, weird. It should've put him back outside in a couple seconds.


Well, I had to restart my computer to actually QUIT the game. Maybe you should do something about this. And you should put in a map you find sometime early in the game (Maybe when you enter and someone gives you it?). It would be alot easier to get around then having to figure out where the hell the Underground Train is

In Topic: Suh Burb - Version 2.51

19 July 2010 - 04:28 PM

I robbed the Pharmecy (more or less BROKE THE WINDOW TO GET INSIDE) and I'm stuck, I tried moving and he just wouldnt move. Is this supposed to happen? (I cant exit either O.o)