Page 1 of 2

Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Nov 28, 2007 12:37 am
by Sgt. Sparky
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.

:D
Enjoy!

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Nov 28, 2007 1:53 am
by kirby
Cool, by the way, thsoe scripts were HARD, how you know how
to do those scripts, it more harder than ever. :D
I think i shall rate 3 star i think...
:twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Nov 28, 2007 8:25 am
by Kalladdolf
not bad there :)

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Nov 28, 2007 6:39 pm
by Sgt. Sparky
Thanks. :D
(I make up the code as I go along, practice makes perfect.)

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Thu Nov 29, 2007 12:11 pm
by Bee-Ant
Exellent 8)

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Thu Nov 29, 2007 4:24 pm
by Spidy
yeah nice game sgt.sparky :arrow: script looked hard

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Thu Nov 29, 2007 11:13 pm
by speckford123
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

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Fri Nov 30, 2007 10:38 pm
by Sgt. Sparky
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

just add this code to the player on the draw actor event inside the { & } on they key[KEY_UP] part,
Code: Select all
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;
}

:D:D:D

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Sat Dec 01, 2007 11:17 am
by Bee-Ant
Btw Spark...could you make "human" game???

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Sat Dec 01, 2007 3:55 pm
by Sgt. Sparky
Bee-Ant wrote:Btw Spark...could you make "human" game???

What do you mean by that?
A game where you are a human, or a game where you fight humans?

:D:D:D:D:D:D

But Sure, I will make somthing where you are a human or you fight humans.

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Tue Dec 04, 2007 3:28 am
by Bee-Ant
I meant all characters are human...mostly you made "ball" character...

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Tue Dec 04, 2007 5:15 pm
by Sgt. Sparky
Bee-Ant wrote:I meant all characters are human...mostly you made "ball" character...

oh, okay. :D

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Tue Dec 04, 2007 5:57 pm
by Kalladdolf
you know, sparky indeed is a spinning-feet-ball-robot-specialist.

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Dec 05, 2007 10:11 am
by Bee-Ant
lol :lol:

Re: Stickey Feet (player walking on moving boxes) Demo

PostPosted: Wed Dec 05, 2007 10:27 am
by Spidy
lolololololol :D :P :lol: :D :P :lol: :D :P :lol: