News
Articles & Tutorials
Games
HTML5 GM
Developer Tools
Developer Sites
Forum
GMG Contest
Home
Help
Search
Login
Register
Game Maker's Garage Forum
»
Game Creation
»
GameMaker
»
Space bar on keydown
« previous
next »
Print
Pages: [
1
]
Topic:
Space bar on keydown
(Read 32515 times)
0 Members and 4 Guests are viewing this topic.
Gnome
GMG Extraordinaire
Posts: 1073
Space bar on keydown
«
on:
November 06, 2008, 07:48:57 PM »
can you do space bar on keydown? if so what is the value I put in?.
Logged
This Cannot be, NOOOOOOOO!!!!
-Gnomes Cry when the McRib was discontinued again.
Tireas Dragon
GMG Extraordinaire
Posts: 1626
Trying to recover from my shattered screen.
Re: Space bar on keydown
«
Reply #1 on:
November 06, 2008, 07:53:13 PM »
IF keydown$ = " " THEN
That what you wanted?
«
Last Edit: November 06, 2008, 07:53:50 PM by Tireas_Dragon
»
Logged
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.
Gnome
GMG Extraordinaire
Posts: 1073
Re: Space bar on keydown
«
Reply #2 on:
November 06, 2008, 07:58:21 PM »
so a space is the value for when you press space bar?
Logged
This Cannot be, NOOOOOOOO!!!!
-Gnomes Cry when the McRib was discontinued again.
Tireas Dragon
GMG Extraordinaire
Posts: 1626
Trying to recover from my shattered screen.
Re: Space bar on keydown
«
Reply #3 on:
November 06, 2008, 07:58:47 PM »
Correct!
Logged
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.
Silverwind
^ This guy is amazing.
Posts: 2805
For the glory of my maker
Re: Space bar on keydown
«
Reply #4 on:
November 07, 2008, 02:17:45 AM »
Yup. I never knew that until half way through QoM's development. I was using this instead:
confirmbutton = ASC keydown$
IF confirmbutton = 32 THEN
Logged
I survived the spammage of 2007
Print
Pages: [
1
]
« previous
next »
Game Maker's Garage Forum
»
Game Creation
»
GameMaker
»
Space bar on keydown