Yoho! I'm in need of a tip,
I've got a simple game containing two airplanes, and a
power up box.
I've got the movement codes working and the function that makes
the players able to fire a missile, no problems there.
I use the "my.emask & my.event" assignments to the missiles action, this works great as long as the players shot eachother. But as soon as the missile hits the power up box (Which I want to blow up in that case) the game crash.
I use the;
"switch (event_type)"
and then the "case EVENT_ENTITY:" in the code, though I can't seem to separate the missile from knowing if it's hit the player or the box. Have tried with "if" statements inside the "case" function, but can't seem to get it to work.

Thanks in advance!


"If you say 'plz' because it's shorter than 'please', then I'll say 'no' because it's shorter than 'yes'.