L
Lance46
Guest
I am new to Game Maker and I am currently giving the Lite version a try before purchasing a full version. I apologize in advance if my naming is not conventional because I do not yet know the norms of naming sprites and objects and such. I also don't know how to make code look like code on my question(first post). I am having difficulty with an alarm. I am making a version of PAC MAN and anytime a power pellet is destroyed I activate the code to make my ghosts blue. This is in my power pellets code.
{
Parent_Ghost.sprite_index = Blue_Ghost
alarm[0] = 300 . //my room speed is 30. Should go off after 10 seconds
}
also in the power pellet code I have alarm 0 with the code as such
{
Blinky.sprite_index = Blinky
Pinky.sprite_index = Pinky
Inky.sprite_index = Inky
Clyde.sprite_index = Clyde
}
They ghosts never change back. Any help or advice would be greatly appreciated.
{
Parent_Ghost.sprite_index = Blue_Ghost
alarm[0] = 300 . //my room speed is 30. Should go off after 10 seconds
}
also in the power pellet code I have alarm 0 with the code as such
{
Blinky.sprite_index = Blinky
Pinky.sprite_index = Pinky
Inky.sprite_index = Inky
Clyde.sprite_index = Clyde
}
They ghosts never change back. Any help or advice would be greatly appreciated.