Page 1 of 1

Idea on "Sonic Loops"

PostPosted: Thu Sep 16, 2010 6:59 pm
by Hblade
Those loops on Sonic that you run on, and sonic sticks to them. I think I have an idea on how to make them. Make a small trigger event that activates a switch() command, which then as your holding the keys down allows a large sine wave to accur, EXAMPLE:
Code: Select all
switch(bleh) {
    while(key[KEY_RIGHT]) {
        sin(angle)*SPEED //Or however its done xD
    }
}


You get where I'm comin from right? xD The coding will be hard but using that it can be done :D Or whats his name's "Stick to" function

Re: Idea on "Sonic Loops"

PostPosted: Fri Sep 17, 2010 12:38 pm
by lcl
Cool idea! :D

Re: Idea on "Sonic Loops"

PostPosted: Sat Sep 18, 2010 3:27 am
by Hblade
thanks :D

Re: Idea on "Sonic Loops"

PostPosted: Sat Sep 18, 2010 10:47 am
by savvy
interesting concept.. i came up with a olution to this once, but i cant remember *facepalm*

Re: Idea on "Sonic Loops"

PostPosted: Sat Sep 18, 2010 10:49 am
by Turon
i don't quit get it :roll:

Re: Idea on "Sonic Loops"

PostPosted: Sat Sep 18, 2010 10:52 am
by savvy
basically, when your holding the key, it bases which directiona sonic is moving in on his angle. which changes as he goes round the loop.
am i correct H?