variable help
2 posts • Page 1 of 1
variable help
how do i get a key to control a variable?
- xonoa
- Posts: 5
- Joined: Sun May 02, 2010 4:12 am
Re: variable help
Like Key Binding?
I think that is it. That should make scene.my.variable go up everytime you press "A"
Although i usually don't use key binding. (I never really liked it)
- Code: Select all
keys.bind("a"{scene.my.variable=scene.my.variable+1})
I think that is it. That should make scene.my.variable go up everytime you press "A"
Although i usually don't use key binding. (I never really liked it)
-

niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests



