C
crazybloodmonkey
Guest
so i'm making a platform shooter and well i'm having trouble getting my enemy death animations to play i saw this video it was drag and drop and whle it got my enemies to die the animation didn't work.
so i decided to find one that was more technical and now when i try to run the game it just give me a compile failed error ,here's said video
also here is what i coded in that should have work but it's causing the error
so in object_e(which is what my enemy object is called) i have a collision event with obj_bullet and a execute code with this in it
var randomangle = random (360);
var o;
o = instance_create(x,y,object_edeath);
o = angle = 0 + randomangle;
with(object_edeath);
{
direction = angle;
image_angle= angle;
speed = .5;
}
instance_destroy();
hopefully someone can help figure out this problem i sure it's pretty simple.
so i decided to find one that was more technical and now when i try to run the game it just give me a compile failed error ,here's said video
also here is what i coded in that should have work but it's causing the error
so in object_e(which is what my enemy object is called) i have a collision event with obj_bullet and a execute code with this in it
var randomangle = random (360);
var o;
o = instance_create(x,y,object_edeath);
o = angle = 0 + randomangle;
with(object_edeath);
{
direction = angle;
image_angle= angle;
speed = .5;
}
instance_destroy();
hopefully someone can help figure out this problem i sure it's pretty simple.