Light The Hedgehog Posted March 1, 2010 Report Share Posted March 1, 2010 My fan game called sonic dark is in progress. I have a youtube vid and my username is LighttheULTIMATE look that up and you'll find it. Anyways, I wanted to know if this code will work. if vk_space_pressed hsp+=10 or whatever.. Thx in advance. Help will be rewarded Link to comment Share on other sites More sharing options...
LarkSS Posted March 1, 2010 Report Share Posted March 1, 2010 Oh dear... Link to comment Share on other sites More sharing options...
OverbounD Posted March 1, 2010 Report Share Posted March 1, 2010 What's the definition of "work"? It will add 10 to hsp if that's what you want it to do. What hsp does to begin with is up to you. Did you set it up as a horizontal speed variable? Why am I even asking this I know I'm just wasting my time... Link to comment Share on other sites More sharing options...
Light The Hedgehog Posted March 1, 2010 Author Report Share Posted March 1, 2010 Oh I was asking if that was the right way to do it.. Since Basically you said it is the right way, I think I'm done here. Also It did work. Link to comment Share on other sites More sharing options...
OverbounD Posted March 1, 2010 Report Share Posted March 1, 2010 You need to be more clear with your questions. We cannot even tell what you are using to make your game let alone what engine you are working with or if your working from scratch for that matter. Link to comment Share on other sites More sharing options...
justin123 Posted March 2, 2010 Report Share Posted March 2, 2010 if keyboard_check(vk_space){hsp+=10;} This will work 1 Link to comment Share on other sites More sharing options...
Light The Hedgehog Posted March 2, 2010 Author Report Share Posted March 2, 2010 Thank you Justin. Also I am using gamer dee/ damenzians Full_Engine. Link to comment Share on other sites More sharing options...
Recommended Posts