how do i make actors that i can stand on

Game Editor comments and discussion.

how do i make actors that i can stand on

Postby lordezak » Sat Jan 12, 2008 10:44 pm

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??? :? :?
the computer world is bigger than the real one!
User avatar
lordezak
 
Posts: 15
Joined: Sat Jan 12, 2008 1:52 pm
Score: 2 Give a positive score

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

Postby blackguy95 » Sat Jan 12, 2008 11:04 pm

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" :)
User avatar
blackguy95
 
Posts: 7
Joined: Sat Jan 05, 2008 1:33 am
Score: 0 Give a positive score

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

Postby Bee-Ant » Sun Jan 13, 2008 8:33 am

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:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

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

Postby lordezak » Sun Jan 13, 2008 1:00 pm

thanks u 2 the first one was easier coz i got it yesterday and i dont kno code but thanx anyway! :D :D :D
the computer world is bigger than the real one!
User avatar
lordezak
 
Posts: 15
Joined: Sat Jan 12, 2008 1:52 pm
Score: 2 Give a positive score

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

Postby Azou » Sun Jan 13, 2008 1:04 pm

You post it 2 times :D
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

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

Postby Bee-Ant » Sun Jan 13, 2008 1:10 pm

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"
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron