|
-
Apr 14th, 2001, 10:30 PM
#1
Thread Starter
New Member
ok. I'm pretty new at VB, but I wanted to have some fun w/ it by making some sort of game. What's the simplest way to create a playing field for a character to walk around in without making a new form for each new screen of the field- I want it to be one continuous field. And please don't laugh at me if this is a stupid question- remember you guys weren't always VB supergeniouses...
-
Apr 14th, 2001, 11:13 PM
#2
The real question is "HOW new?". Games are most
definatly not the place to start programming. I
recommend reading around in the MSDN about things
like the Line Method, especially if you are just starting
out. Even something as seemingly simple as a guy
walking in a field is somewhat complicated, and you will
be easily lost if you try to just dive on in. I dont mean
to discourage you, but you will almost invariably get
discouraged if you dont know what you are doing ( I
sure did =). As for your actual question, to use the
arrow keys for control, in the Form_KeyDown Event, use
the constants vbKeyUp, vbKeyDown, vbKeyLeft, and
vbKeyRight. They are self explanatory =). Hope this
helps you out a little bit, and good luck.
Z.
-
Apr 15th, 2001, 04:45 PM
#3
Thread Starter
New Member
thanks alot for the help u guys. I have done a couple of things with VB- stupid stuff like two random cards are drawn and u bet if the next is between the two or not . well, i guess i have to get a little more practice in, but i'll get it eventually. thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|