help... my actor doesn't collide enough
CLAY
Member Posts: 72
Hello I'm having trouble with an issue :
my player must die in a level to pass the other… he must be killed by a fireball.
so what i did is this :
(actor-player-)
when collide with fireball
{destroy this actor}
(actor-fireball-)
when collide with the player
{spawn} (actor-explosion-) ...(animation of like 53 images so in 15 frame per second it's 3.6 sec)
{timer} after 3.6 second (X) run to completion
{change scene} = next scene
{destroy this actor}
(actor-explosion-)
{animate} 15 fps
_____________________________________
those are the rules and everything is going well exept that the ''scene'' won't change. what i did I
made several fireball which arrives one after another… and it worked but the level doesn't work that way ... it'll be way too esay , it have to be only one fireball... and i don't know how to do it so i need help guys ... please !
my player must die in a level to pass the other… he must be killed by a fireball.
so what i did is this :
(actor-player-)
when collide with fireball
{destroy this actor}
(actor-fireball-)
when collide with the player
{spawn} (actor-explosion-) ...(animation of like 53 images so in 15 frame per second it's 3.6 sec)
{timer} after 3.6 second (X) run to completion
{change scene} = next scene
{destroy this actor}
(actor-explosion-)
{animate} 15 fps
_____________________________________
those are the rules and everything is going well exept that the ''scene'' won't change. what i did I
made several fireball which arrives one after another… and it worked but the level doesn't work that way ... it'll be way too esay , it have to be only one fireball... and i don't know how to do it so i need help guys ... please !
Comments
game.hasFireball (boolean)
then
(actor-fireball-)
when collide with the player
AND
game.hasFireball = false
THEN
game.hasFireball = true
that way only one fireball can span
@mp909: the problem is to change the scene after the animation is finished... it won't change ... only if i made several fireball that gonna collide one after another to the actor BUT if i do that the level will be easy ...
@Crazybreadman: it's my actor who has to kill himself ...
i'm gonna lauch a demo to show you guys give me like 10 min