GameMaker: Studio

GameMaker: Studio

Find, play, and make games easily
Discover, rate, and download the best player-created games made in GameMaker: Studio for free. Or try making your own and share with the community. Click here to learn more.
Help! Can't kill enemys!
I followed a tutorial video on how to make a video game and when I was testing, I couldn't kill the enemy. After re-watching, I still couldn't kill the enemies and can't figure out where I went wrong.

If you need me to tell you what I coded and the video I was following, feel free to leave a comment.
< >
Showing 1-4 of 4 comments
Daynar 8 9 Nov, 2014 @ 8:37am 
do you having instance_destroy() after the enemy health is <= 0? if you dont call instance_destroy() the instance will just sit there with - health.
Mutated Plush 1 9 Nov, 2014 @ 8:56am 
Originally posted by Daynar:
do you having instance_destroy() after the enemy health is <= 0? if you dont call instance_destroy() the instance will just sit there with - health.
the video I'm watching must of missed that part… unless I didn't see it… :-/ also, I'm having the same problem with the player too, the player will take bullets and refuse to move afterwards.
Daynar 8 10 Nov, 2014 @ 8:01am 
hmmm that's interesting. So they do respond to the bullets but stopping motion, but they arn't destroyed. I'd check your health and bullet/other object interaction code bits. Look for where they may modify movement and perhaps try running the game with those lines commented out.
Mutated Plush 1 10 Nov, 2014 @ 11:23am 
Originally posted by Daynar:
hmmm that's interesting. So they do respond to the bullets but stopping motion, but they arn't destroyed. I'd check your health and bullet/other object interaction code bits. Look for where they may modify movement and perhaps try running the game with those lines commented out.
I've fixed the bug where they don't kill me, but I had to remove the player's particle effect in order for the game not to crash when the player dies.
Still no patch for the birds though :-/ I'll upload the game to Workshop so you can see it.
< >
Showing 1-4 of 4 comments
Per page: 1530 50