|
Answer» I was wandering, what are the actual differences between VB and C++?
I can work with VB fairly well now and CREATE some simple programs with it, but the other day I went into C++ and I didn't have a clue what I was doing, the options where very different from VB.
And I'm I right in saying C++ is better for making games?
And I was just wandering how I could create some simple games in VB such as Tetris or Pong. Well, you know what VB stands for? Visual BASIC. There's a reason for that. VB can do some pretty powerful things, but C and C++ can get even deeper into the computer and software. You can't write drivers or kernels in VB for sure. I believe 3D games need to be in C++. Probably because they do a lot with dll's and stuff. Office apps, browsers, 3D games, server software, basically everything that needs to be very STABLE and secure are written in C or C++. As far as Tetris and Pong, take a look at sourceforge.net for examples of code for each.Really, if you just wanted to make games, I would recommended something like Game Maker, which is solely for that purpose (check my sig. for a game I made with it).
Visual Basic just isn't BUILT for making games (as far as I have seen). I downloaded a Tetris-like game (I'd give the link, but I've forgotten it), but it wasn't very good.It's been a while since I used Visual Basic. I think you could probably make a Tetris game in it. But VB is not designed for games and so you have limited graphical ability. Also the langauge is not very fast. C++ certainly has a much steeper learning curve, but it's the industry standard for games. If you just want to make games for a HOBBY and nothing too serious, then Game Maker would be a good choice. If you want to look into C++ there are plenty of tutorials on the net.I'm not really creating games for any reason, I'm just using it to increase my knowledge and experience with VB. I can do simple programs, I just wanted to go into more complex code and do simple animations like moving an object around a form.Take a look in sourceforge.net and freshmeat.net for examples for what vb can/should be used for.
|