by Bee-Ant » Sun Aug 19, 2007 12:04 pm
make a "power" variable, global or actor whatever...
in the "create actor" of your actor put this code :
power=0;
in "collision event" with PowerUpper actor(for example "gold") put this code :
power++;
then in your keydown event of your actor, put this code :
if(power==0)
{
Create Actor("Shot", "ShotImage", ("none"), ("none"), 0, 0);
}
if(power==1)
{
Create Actor("Shot", "ShotImage", ("none"), ("none"), 0, 0);
Create Actor("Shot", "ShotImage", ("none"), ("none"), 0, 5);
}
The second "if" code will create double shot...
I hope that code will help you...
note : don't copy-paste that code