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

Game Editor comments and discussion.

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

Postby UltimatHedgehog » Sat Jan 20, 2007 2:32 pm

i need to make my actor stand on the floor but they just fall through
User avatar
UltimatHedgehog
 
Posts: 325
Joined: Fri Jan 19, 2007 1:48 pm
Location: http://downloads.khinsider.com/?u=112542 plz click
Score: 10 Give a positive score

Postby makslane » Sat Jan 20, 2007 8:47 pm

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
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby UltimatHedgehog » Sun Jan 21, 2007 2:27 am

i tried phsical response and the floor gets knocked down off the screen then i fall to after the collision :shock:
User avatar
UltimatHedgehog
 
Posts: 325
Joined: Fri Jan 19, 2007 1:48 pm
Location: http://downloads.khinsider.com/?u=112542 plz click
Score: 10 Give a positive score

Postby Game A Gogo » Sun Jan 21, 2007 2:49 am

you need to do this on the player actor, not the floor
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby UltimatHedgehog » Sun Jan 21, 2007 3:42 am

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:
User avatar
UltimatHedgehog
 
Posts: 325
Joined: Fri Jan 19, 2007 1:48 pm
Location: http://downloads.khinsider.com/?u=112542 plz click
Score: 10 Give a positive score

Postby Sgt. Sparky » Sat Jan 27, 2007 11:59 pm

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
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby UltimatHedgehog » Mon Jan 29, 2007 1:00 am

dont need it i found the one i had before :lol:
Image
I always thought Hell would be a giant load screen that goes on for eternity, then one day, eons later, it would end, only to reveal a slightly different loading screen.
User avatar
UltimatHedgehog
 
Posts: 325
Joined: Fri Jan 19, 2007 1:48 pm
Location: http://downloads.khinsider.com/?u=112542 plz click
Score: 10 Give a positive score

Postby pavel329 » Tue Jan 30, 2007 2:21 am

I'm pretty sure if you look on turorials there is a great explanation on this problem.Actually there are tutorials for both problems.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby dunderios » Sat Feb 03, 2007 9:37 am

but thats in the standart tutorail-pack, you can see it in the menu bar
help>events & actions> collision
dunderios
 
Posts: 4
Joined: Sat Feb 03, 2007 9:28 am
Score: 0 Give a positive score

Postby Kodo » Sat Feb 03, 2007 11:41 am

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).
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron