I havn't played flywheel, but I think I know what it's about.
create an global variable (intager) and make it so when you create your actor (do all of this on your main actor, your "flywheel") that variable will equal 0. lets call this variable speed for now, but you can call it what you want. I'm assuming you either use key down, or draw actor to make the flywheel move, but however you do it, instead of what you do to move, i'll just say for now that it's x=x+5, you put this (but use the numbers you want)
- Code: Select all
if(speed==0)
{
x=x+5;
}
else if(speed==1)
{
x=x+8;
}
now what you need to do is make it so when you collect the powerup or whatever it is that makes you speed up, you make speed=1. also make it create a 3 second timer, specify the quantity as 1, and make a timer event for that timer and have speed=0 on that timer event.
I hope this helped