Page 1 of 1

Simple jumping and shooting.

PostPosted: Tue Feb 08, 2005 7:09 pm
by Dark RyNo
Hi.
Im a new user to game editor.
Im trying to make a simple running, jumping and shooting game at the moment.
These must be very often heard problems but please bear with me.
Ive made the floor, the running and the jumping.
I looked on th forums for a way to make my actor only be able to jump when on the floor and while this works, it is very glitchy. Ive set it so that on collisio with the floor there is a physical response. You cant jump unless the yvelocity is less then 0.2.
Unfortunaltely, when he hits the floor, he bounces so you have to wait for him to stop before jumping.

Second problem, I cant to shooting at all. Ive made a actor called bullet. How can I make it so that it fires out from the main character in the direction he is facing whenever you press spacebar.

Any help?
Thanks.

PostPosted: Wed Feb 09, 2005 12:54 am
by willg101
I dont know if this will help, but under your physical response, do you have 0 for the colide actor's final velocity multiplier?

PostPosted: Wed Feb 09, 2005 12:41 pm
by Dark RyNo
Yes I do.
I tryed putting the mass multiplyer up as this creates less bouncing but then he fell through the floor.

PostPosted: Wed Feb 09, 2005 4:09 pm
by makslane
Look the Gravity tutorial at: Help -> Game Stuff -> Gravity