|
-
Jul 4th, 2001, 10:36 PM
#1
Thread Starter
New Member
writing a game
how do you write a game for examplehow do you make a picture jump by pressing the up arrow key?
-
Jul 4th, 2001, 10:50 PM
#2
I'm assuming you're using Visual Basic?
For almost acceptable speed, you must use the GDI functions(BitBlt, etc.). You can use picture boxes and move them, but it's slow as all hell... The best way would be to use OpenGL or DirectX... But of course, if you wanted the best way, it would be with C++...
Take a look at Fox's website for some tutorials on simple animation and movement.
-
Jul 5th, 2001, 04:36 AM
#3
Fanatic Member
It doesn't matter if you BitBlt in VB or in C++, BitBlt will perform just as fast... the problem lies in the code between each render... if you want that fast, try ASM instead 
I would not recommend diving into DirectX or OpenGL, try to learn BitBlt instead...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Jul 5th, 2001, 09:10 AM
#4
Good Ol' Platypus
...But once you get really comfortable with Bitblt/VB you shold try your hand at DirectDraw (DX7)
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jul 5th, 2001, 11:43 AM
#5
Thread Starter
New Member
I am a newbie i don't understand what you are sayin !
-
Jul 5th, 2001, 12:05 PM
#6
Lively Member
Originally posted by z5x5
I am a newbie i don't understand what you are sayin !
Then the last thing you should be trying right now is writing a game... Try something simple, like a "hello world".
-Hand out
Visit EliteVB for slimy subclassing tricks and GDI32 goodness.
-
Jul 5th, 2001, 06:48 PM
#7
Thread Starter
New Member
not a real newbie i know how to do lots of stuff i made my own personal program for aol chat you know those kinda tools i would there used to be a program called magic toolz i think it has like faders and scrollers and stuff like that i made somthin like that for me!
-
Jul 6th, 2001, 04:22 AM
#8
PowerPoster
Read my Tutorial then.. not finished yet but helps you alot
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
|