okay, im new to the windows based programming (basic programs are fine). I wanted to get into game development, and i was wondering if any of you had any pointers to get me into it?
Printable View
okay, im new to the windows based programming (basic programs are fine). I wanted to get into game development, and i was wondering if any of you had any pointers to get me into it?
What do you what to do?
well, basically i want to make games, like the old final fantasy type games...
1st tip: Start simple. If you're new to windows programming, start small, even if you know a lot about BASIC. The jump is incredible.
2nd tip: Use Bitblt for your first game. http://vbden.tripod.com/articles/invmask.htm
3rd tip: If you haven't already done so, do some normal programming in VB (a database app, whatever), as it will help you get a feel for what VB's got to offer.
There's an excellent tutorial here at VB-World (look at the links at the top of the page), it teaches you how to make a Lander game and it's what got me started :)
Yeah, you should begin with simple games, but for RPG style games, you'll need something like this:
Code:do
check for input
drawmap
randomize battle
loop
I hat do loop.. use this instead:
And a tutorial, if you need one, youll find on my website in signature below.. Main->Coding->TutorialCode:While DoEvents
SlowDownFPS
CheckInput
UpdateScene
DrawScene
Wend
'Code improved by vBulletin Tool 2.0
that doesn't really matter. But you might need to include DoEvents to make the games run smoother.
Code:Do
DoEvents
do other stuff
Loop
Quote:
that doesn't really matter. But you might need to include DoEvents to make the games run smoother.
Yes it does, if someone sends me code i wont debug it if theres Do loops :)
And DoEvents is to process windows messages, if you dont include it it'll freeze if you dont take care.. DoEvents by the way, returns the number of loaded windows of your project, so if theres no more windows it'll automatically exit. But take care: If you tun the loop from Form_Load you have to show the form first!