Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Input Key Command And Code Sheet

Author
Message
JNice013
21
Years of Service
User Offline
Joined: 10th Jan 2004
Location:
Posted: 28th Apr 2004 05:31 Edited at: 29th Apr 2004 01:43
Ok I have gotten the inputkey code to work so I can use the space bar to change my sprite to it's firing position sprite. My problem is once I get the sprite moving with the running sprites nd the space key is pressed how do I get it to show in the exact spot that the running or standing still sprite is in.

Here is the code I have so far. I am in very early stages just getting the sprite to move and fire. It is organized and it had a detailed layout so that I can find things easily.

Also if anyone has any ideas or things I should input into my code or change please let me know.



"The Infamous J Nice"
Neil Young
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 28th Apr 2004 05:49 Edited at: 28th Apr 2004 05:50
You can find out the numbers yourself. Use Scancode(), run your code, and press any key you want and watch the number appear.

Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 28th Apr 2004 06:55
here you go:



JNice013
21
Years of Service
User Offline
Joined: 10th Jan 2004
Location:
Posted: 28th Apr 2004 07:23
thanks thats what I was looking for.

"The Infamous J Nice"

Login to post a reply

Server time is: 2025-05-23 18:58:11
Your offset time is: 2025-05-23 18:58:11