hello guyzz,,
whz up?
i have been thinking of a simple game,, but my problem is tht i have never created a game before but i would really like some help on making any simple game in vb.. i would really appreciate if u would help me on this topic...
Printable View
hello guyzz,,
whz up?
i have been thinking of a simple game,, but my problem is tht i have never created a game before but i would really like some help on making any simple game in vb.. i would really appreciate if u would help me on this topic...
www.planetsourcecode.com has A LOT of games for VB! Maybe you could get some good ideas from there!
Muzamil - You should start simple.
So start by using putting a picturebox on your form, and a few buttons to move the picturebox.
So when the user presses the 'left' command button, move the picturebox left, if the user presses 'down', then move the picturebox down.
Then develop upon that... perhaps by making the object move continually until the user presses 'stop'.
Things like that.
After you've been doing things like that, and are proficient in them, then you could move onto controlling the character with a mouse, and then start to play with the BitBlt() API to enhance the performance of your game
A good site with lots of "how to" stuff http://rookscape.com/vbgaming/
Hey thx for ur replies..
well to move the picture box using buttons is a quite simple thing to do but... moving the control by itself until stop is pressed thts a problemm..
i mean.. when sumone clicks on a button it shud just move until the stop button is pressed.. can u just give me the code for tht...?
how do you make games in VB. arent games more meant to made in flash. maybe not i dunnno
You can use almost any language to make a game. Most PC games are made in C++, but VB is also a possibility.
VB is MS flagship language. And they have made it possible for VB programmers to use DX to improve their games. So now you should have pretty big demands for not letting VB make your games.
But as Machaira wrote, most games in stores are made in C++.
Not anymore. C# is there!Quote:
Originally posted by NoteMe
VB is MS flagship language.
Most professional games are written in C++ because of it's superior performance in algorithms and inline assembly.
I have never tried C#, so it might be true. But earlier when I mentioned that VB was MS flagship I quoted Jonathan S. Harbour. He has been programming games in 14 years. So I just thought that he would know better then me....
C# is very new, and up to the release of .NET VB WAS MSs flagship. But, as I said, not anymore.
And I'd be really surprised if any game that is sold in a normal gamestore for $30+ is written in anything but C/C++/ASM.
That’s true. You don't want to hire a whole programming team and use a year to make a game in VB. But for one person to make games in his boy room, VB is perfect...