Page 1 of 1

falling through the floor in nothingness???????

PostPosted: Sat Jan 20, 2007 2:32 pm
by UltimatHedgehog
i need to make my actor stand on the floor but they just fall through

PostPosted: Sat Jan 20, 2007 8:47 pm
by makslane
Use the Collision event with the 'Physical Response' action.

Look the tutorial: Help -> Game Stuff -> Gravity
Look the Abuse 2 demo:
http://game-editor.com/games/abuse2.zip

PostPosted: Sun Jan 21, 2007 2:27 am
by UltimatHedgehog
i tried phsical response and the floor gets knocked down off the screen then i fall to after the collision :shock:

PostPosted: Sun Jan 21, 2007 2:49 am
by Game A Gogo
you need to do this on the player actor, not the floor

PostPosted: Sun Jan 21, 2007 3:42 am
by UltimatHedgehog
uuuuuuuuuuhh...I got mad at the thing so i got rid of everything with gravity and had my guy walk on air wats a good gravity to use with spacebar jump :roll:

PostPosted: Sat Jan 27, 2007 11:59 pm
by Sgt. Sparky
okay, sorry it took so long to reply but: on the draw actor event have this script
Code: Select all
 yvelocity += 1;
 if(yvelocity > 10)yvelocity = 10;

(or whatever you want the max speed to be)
and on the key down event of space, have this script
Code: Select all
yvelocity -= 5;

or put a greater yvelocity depending on how high you want to jump :D
if you want to know how to jump without repeating just tell me :D

PostPosted: Mon Jan 29, 2007 1:00 am
by UltimatHedgehog
dont need it i found the one i had before :lol:

PostPosted: Tue Jan 30, 2007 2:21 am
by pavel329
I'm pretty sure if you look on turorials there is a great explanation on this problem.Actually there are tutorials for both problems.

PostPosted: Sat Feb 03, 2007 9:37 am
by dunderios
but thats in the standart tutorail-pack, you can see it in the menu bar
help>events & actions> collision

PostPosted: Sat Feb 03, 2007 11:41 am
by Kodo
There are also dozens of posts on platform collision, jumping, double jumping, jumping forever ect ect ect already on the forums. 9 times out of 10 anything I need to ask has already been asked and can be found using the search option (top right of page).