Page 1 of 1

how do i make actors that i can stand on

PostPosted: Sat Jan 12, 2008 10:44 pm
by lordezak
how do i make actors that i can stand on - ive all ready got a platform that moves up and down i wasd wonderin if i can make it solid so i can ride it up like on the mario games :( can i do that? (and does it hav anything to do wif the main platform??? :? :?

Re: how do i make actors that i can stand on

PostPosted: Sat Jan 12, 2008 11:04 pm
by blackguy95
go to the events menu when you click on the player actor.... and then select collision and pick the colliding actors, and then click on physical response. "set the two bottom columns to zero and the top ones to 0.1 so that the player actor will not bounce" :)

Re: how do i make actors that i can stand on

PostPosted: Sun Jan 13, 2008 8:33 am
by Bee-Ant
Make variable called "canjump"
Player>CollisionEvent>Platform>PhysicalResponse>1 1 0 0
Player>CollisionEvent>top side of Platform>ScriptEditor>
Code: Select all
canjump=1;

Player>CollisionFinish>Platform>
Code: Select all
canjump=0;

Player>DrawActor>ScriptEditor>
Code: Select all
yvelocity+=0.5;

Player>Keydown>Jump>ScriptEditor>
Code: Select all
if(canjump==1)
{
    yvelocity-=10;
    canjump=0;
}

More complex...hahahah.. :lol:

Re: how do i make actors that i can stand on

PostPosted: Sun Jan 13, 2008 1:00 pm
by lordezak
thanks u 2 the first one was easier coz i got it yesterday and i dont kno code but thanx anyway! :D :D :D

Re: how do i make actors that i can stand on

PostPosted: Sun Jan 13, 2008 1:04 pm
by Azou
You post it 2 times :D

Re: how do i make actors that i can stand on

PostPosted: Sun Jan 13, 2008 1:10 pm
by Bee-Ant
lordezak wrote:thanks u 2 the first one was easier coz i got it yesterday and i dont kno code but thanx anyway! :D :D :D

You'll need my code when you have a question about "Stop Player Flying"