Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Making Games (http://www.programmingforums.org/showthread.php?t=12963)

demon101 Apr 9th, 2007 2:00 AM

Making Games
 
i was wondering if you could make games in visual basic 6.

i was thinking about geting into making games and i already know a little about visual basic 6.

mrynit Apr 9th, 2007 3:46 AM

Yes you can make games in VB 6. i dont suggest it tho. IF you want to make games and you dont know java,C++ or C# try FreeBASIC. it has a similar syntax to VB but it is more powerful than VB for making games. FB can use 32 bit dll so you can use Alegro,SDL,OpenGL, winsock,win32 API etc. FB is not fully OOP but has object orientation support. look thru some of the game code for examples. if you want i can give you some of my code. FB is crossplatform to windows, protected dos mode, linux and xbox.

general overview, a bit outdated http://en.wikipedia.org/wiki/Freebasic
a bunch of 2D/3D games in FB http://games.freebasic.info/
home page http://freebasic.net/

lectricpharaoh Apr 9th, 2007 4:06 AM

I'd recommend moving over to VB.NET or C# to try writing some simple games. As you get more advanced, you can do 3D and stuff through managed DirectX (using either VB.NET or C#). Also, you can grab both compilers for free (express versions anyways) from Microsoft's web site.

Should you want to do more CPU-intensive games, you might well need to use native (ie, not .NET 'managed') code, and probably the most popular language for this would be C++. If you learn C# first (it's easier), it might make the c++ learning curve a little less steep, since C#, like Java, borrows a lot of its syntax and language concepts from C++.

I recommend C# over VB.NET for two reasons. First is the 'it will serve you better if you move to C++' reason mentioned above, and second is personal preference. I find it to be a cleaner language, but ultimately, it compiles down to .NET managed code with either language, so will not really differ in efficiency between the two.

demon101 Apr 10th, 2007 11:04 AM

Quote:

Originally Posted by mrynit (Post 126500)
if you want i can give you some of my code.

yeah if you want to show a little of it that would help me out to see how the code is and things.

uman Apr 10th, 2007 12:38 PM

I was wondering if you could give a press conference in Latin. I was thinking about getting into giving press conferences and I already know a little Latin.

Komodo Apr 15th, 2007 10:49 AM

uman that's just not nice...

physicist Apr 19th, 2007 11:33 PM

uman...wtf

yeah you CAN make games in VB6, but i would not. as mentioned before, i would get into VB.net because, although VB.net is almost just as easy as VB6, you can implement DirectX!!!! yeah thats what they use in all the big games nowadays...
BUT i would not waste my time learning C# and just start learning C++ everyone says ZOMG ITS TOO HARD NO YOU ARE NOOB YOU CANT LEARN C++ but C# is closer to C++ than most people realize and neither one is much harder to learn than the other; therefore go with the most productive, C++

IMHO if you learn C++ and master it then you can learn ANY C based language (Java, C#) in a few days with documentation on the side

although i must say my transition into Java found me thinking that C++ is easier

i myself am only an amateur in both C++ and Java; as well as VB and VB.net.

if you want VB.net games i can give you some. physics is tedious because elastic collisions with conserved KE round off each time so the speed is not constant of a bouncing projectile in arachnid.

pal Apr 20th, 2007 3:45 AM

Python programming language is good with game programming. Give python a try and visit pygame.org.

rsnd Apr 20th, 2007 4:44 AM

I made many games in visual back back in high school =) Nods and crosses, manual chess, pong, connect dots... just to name a few. I even started space invaders...then i started on c++ and never got back =(

pegasus001 Apr 20th, 2007 11:41 AM

Quote:

Originally Posted by rsnd (Post 126933)
I made many games in visual back back in high school =) Nods and crosses, manual chess, pong, connect dots... just to name a few. I even started space invaders...then i started on c++ and never got back =(

Did you rewrite them using c++? If not what a pitty.


All times are GMT -5. The time now is 2:59 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC