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.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2004, 12:57 PM
ryder911
Hill Giant
 
Join Date: Jun 2002
Posts: 212
Default Need some QBASIC help...

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!
__________________
Chris---
Reply With Quote
  #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
  #3  
Old 05-28-2004, 05:08 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

You're doing QBASIC in a CS class?
Reply With Quote
  #4  
Old 05-28-2004, 06:32 AM
Virus11
Discordant
 
Join Date: May 2004
Posts: 311
Default

I did QBASIC in 7th grade computer finance class.
__________________

Reply With Quote
  #5  
Old 05-31-2004, 07:34 AM
ryder911
Hill Giant
 
Join Date: Jun 2002
Posts: 212
Default

yes, lol hahah im a soph. and in computer science one u do QBASIC, and CS II you do VB.. My school is ghetto lol
__________________
Chris---
Reply With Quote
Reply


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 12:18 PM.


 

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