Here is a demo I made for somthing I don't think anybody else on the forum has used in a game yet.
When the player is still on a box he will fallow the box, but when he is off the box he will not fallow it.
Stickey Feet.
Enjoy!
speckford123 wrote:you know, thats pretty good, when i did it all i did was parent the actor to the floor
only one thing missing, when he jumps off his velocity should still be affected, but hey you probably thought of that before me
if(op == 1)
{
int Nm = 5;
if(getclone(cname)->dir == 0)Nm = -5;
if(key[KEY_LEFT] == 1 && key[KEY_RIGHT] == 0)xvelocity = -spd - Nm;
if(key[KEY_LEFT] == 0 && key[KEY_RIGHT] == 1)xvelocity = spd - Nm;
}
Bee-Ant wrote:Btw Spark...could you make "human" game???
Bee-Ant wrote:I meant all characters are human...mostly you made "ball" character...
Users browsing this forum: No registered users and 1 guest