• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker: programming a twin-stick-shooter! Enemies

D

DraiterLp

Guest
Ive done a twin-stick-shooter vs zombies. my only problem is, that i only get damage if i hit the zombies, not if they hit me... I
 

Attachments

Jochum

Member
Hi,

Please try to create a collision event for the player in the object of the zombie:
Code:
//Collision code
"Total health" -= "damage amount";
 
Top