Simple jumping and shooting.

Talk about making games.

Simple jumping and shooting.

Postby Dark RyNo » Tue Feb 08, 2005 7:09 pm

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.
Dark RyNo
 
Posts: 35
Joined: Tue Feb 08, 2005 7:04 pm
Score: 0 Give a positive score

Postby willg101 » Wed Feb 09, 2005 12:54 am

I dont know if this will help, but under your physical response, do you have 0 for the colide actor's final velocity multiplier?
Last edited by willg101 on Wed Feb 09, 2005 12:56 am, edited 1 time in total.
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby Dark RyNo » Wed Feb 09, 2005 12:41 pm

Yes I do.
I tryed putting the mass multiplyer up as this creates less bouncing but then he fell through the floor.
Dark RyNo
 
Posts: 35
Joined: Tue Feb 08, 2005 7:04 pm
Score: 0 Give a positive score

Postby makslane » Wed Feb 09, 2005 4:09 pm

Look the Gravity tutorial at: Help -> Game Stuff -> Gravity
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron