Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

Archive::General Discussion Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-27-2004, 01:19 PM
rhaze
Fire Beetle
 
Join Date: May 2004
Posts: 2
Default Re: Need some QBASIC help...

Quote:
Originally Posted by ryder911
Sorry If this is the wrong forum.. please move if it is

Ok, I am in a computer science class, In the beginning of the year we made a maze. We just got an assignment now, were we have to make a marble move the the maze. It is for extra credit. I want to do somethign different then that. I want to make the marble move by using the arrow keys. I have an idea on how to do it, but Im not sure what ACSII ( i think thats what it would be ) character code, represents a up / down, left / right arrow. Please any help withthis would be appreciated!
The easiest thing to do is write a program to capture the scan codes from the keyboard. Then set those to the default and reuse that code to make them user-definable from an options menu within the program (allowing people to rebind them to WASD if the want, etc).

I did a similar program in high school, tron/snake-style game in QBasic and that's what I did to handle the key bindings.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:08 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3