Page 1 of 1

question !! sonic things !!!!!

PostPosted: Mon Dec 17, 2012 5:06 pm
by sonicforvergame
hi and please let me know if you can answer to this question (don't just read my post and leave , right your answer if you don't know say it :!: )
Its about timers :
i want my actor (sonic ) to be fast for a limited time after destroying a power up box
now this is kind of familiar because everybody knows about power boxes in sonic game

and a optional help :

its about timers too:

i want that sonic do this
key down (down arrow) :arrow: change animation(sonic spin) :arrow: about 4 second of spin :arrow: go back to normal state facing right if sonic is in right animation and facing left if sonic is in left animation

PLEASE HELP

Re: question !! sonic things !!!!!

PostPosted: Mon Dec 17, 2012 5:12 pm
by lcl
This should help (the first video): viewtopic.php?f=27&t=12088 :)

Re: question !! sonic things !!!!!

PostPosted: Wed Dec 19, 2012 4:50 am
by sonicforvergame
Well good but ther wass not everyting i want i want this:

sonic destroy box :arrow: he become fast for 10 sec :arrow: after this his speed is back to normal

if you need more details ask me

Re: question !! sonic things !!!!!

PostPosted: Wed Dec 19, 2012 5:37 am
by skydereign
I've moved this topic because it really isn't an advanced topic. All this is, is knowing how to use timers and variables, which are both fairly simple. All you need is your acceleration/velocity setting to use a variable for speed. That way when you hit the speed box, it increases the variable (therefore increasing sonic's acceleration). And since you want it to last 10 seconds, you would also create a timer, that sets the speed variable back to the normal value.

Re: question !! sonic things !!!!!

PostPosted: Wed Dec 19, 2012 2:12 pm
by sonicforvergame
don't care if it's you moved it i just thought that making sonic face left after the spindash if he was facing left and right if he was facing right .