Members - Reputation: 122
Posted 23 September 2005 - 02:40 PM
Crossbones+ - Reputation: 4734
Posted 23 September 2005 - 02:48 PM
a) It's much more powerful
b) It's more portable
c) There's more documentation
Trust me, you aren't really able to do that much with DarkBASIC, and it's programming style (from what I've seen) teaches bad habits. If you want to stick with a BASIC language, then go with FreeBASIC. It's very much like C++, only it's only a few months old so the documentation isn't as great. The syntax is a little more like the DarkBASIC syntax, but the style is wholly different. You can also do many of the things you can do in C++ (like pointers, OpenGL, etc.), but you cannot do Object-Oriented programming in FreeBASIC (which C++ can).
The bottom line for the programming side of things: don't learn DarkBASIC, learn C++ (what most of the world uses) or FreeBASIC (as powerful and fast as C++, but much less complex).
For pixel art (sprites) you can use MSPaint. Or, you can download GraphicsGale (I'd give you a link, but I don't have one).
Members - Reputation: 426
Posted 23 September 2005 - 03:08 PM
C++ gives you a lot more freedom, but it also gives you more rope to hang yourself with. It's a hell of a lot easier to write buggy code with a language like C++, because of the freedom it gives you. It can also take many more lines of code to express something that could be expressed more easily in another language.
I've not looked at DarkBASIC, so I can't really comment on it, but if all you want to do is mess about, then it could be a good plan. It does a lot of the work for you, and if all you want to do is make some games, then you're going to get results quicker with DarkBASIC, than you are with C++.
If you're interested in getting into game programming as a career in future, then only learning one language isn't a good plan, and eventually you are going to have to learn C++. I'd advise you to learn something else first though, as it will make learning C++ much less of a hassle, if you understand the concepts of programming already, through experience with another language.
C# might be a good first language for game programming. It has much of the power of C++, but isn't quite as difficult to learn. I don't think being able to use pointers is really an important advantage of C++, not for a beginner.
Members - Reputation: 325
Posted 23 September 2005 - 03:22 PM
C++ is powerful now but lacks adequate support of multithreading and won't continue to perform well on multicore processors for that reason. Presently the best languages to start on for multithreading would either be Python with its built-in module for threading, or Java which supports multithreading internally in the syntax of the language. Also: Although these languages have slow bytecodes to make them multiplatform compliant they can also create stand-alone binaries using py2exe and GCJ respectively. Since Python can also be used as a scripting language and supports more platforms and is much easier I'd reccommend it over Java.
I know that is a lot of information to consider as a beginner but nowadays Object-Oriented programming rules. It allows you to reuse your code easily and make it modular. All three of the languages I mentioned are object-oriented. DarkBasic is not object-oriented.
If you decide to go with Python download the PyGame extension and Phil's pyGame Utilities which includes a small paint program and a tile-map editor all written completely in Python and includes the source code. And as for a beginning programming book there is a free PDF file here that teaches the most basic parts of programming and some of the more advanced features of Python.
Members - Reputation: 223
Posted 23 September 2005 - 03:45 PM
Python is simple, flexible, and generally alot easier than C++, and if later on you find yourself wanting to make more advanced games, then you can learn C++, which, with your prior programming knowlege of python, will make things just a little bit easier.
I also won't discriminate against DarkBASIC, although I find the syntax a little weird. Eitherway, there are a few links for you below.
An Introduction to Python Game Programming
C++ in 21 Days
Tutorials (the only ones i could find)
Members - Reputation: 426
Posted 23 September 2005 - 03:50 PM
One thing to bear in mind, is that DarkBASIC is very much a toy language ( at least to my knowledge, maybe someone can contradict me ), whereas languages like Python and Java, are fully featured languages, and are very powerful. If I recall correctly, BitTorrent was actually written in Python.
Learning Java is also good idea if you want to learn C++ eventually, as in some ways, they are very similar.