OnGround thing

Game Editor comments and discussion.

OnGround thing

Postby Caaz Games » Sat Aug 04, 2007 11:29 pm

ok almost everyone knows the OnGround thing so you dont keep jumping right? well ive been using it for almost every thing and sometimes it doesn't work right heres the things i'm using it for

1 Buttons - Shooting (You cant in air)
2 Buttons - Running (Goes slower in air)
1 Buttons - Jumping (So you cant "Fly")

so thats four buttons being used with the same variable, is it possible to overuse a variable? :?:
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Postby d-soldier » Sat Aug 04, 2007 11:34 pm

the only thing I can think of is if you have your shooting setup to repeat while the key is down (in which case it may continue to fire if you started on the ground and never let the key up while jumping), or if your first shot takes in the variable, and each additional shot is created from a timer while that key remains down (in which case only the first shot may have been scripted with that "if" statement???) maybe?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron