"Amarth" said: Now, I don't know what you want (2D? 3D? Networking?) 2D, and networking if I can wrap my head around it.
"Amarth" said: I would suggest, however, that you don't use C++. Unless you know your way around it, it will be more of a hindrance than a tool, and you will learn wrong things (hack instead of solve, etc). It is much better to use a high-level language (python + pygame seems popular for games). Learn to use functions like map(), reduce() and filter() and don't use those idiotic for-loops. Use proper object-oriented design and not series of if-then-else (or switch) statements. Short functions with high cohesion instead of +20 line functions that are hard to follow. Exceptions. Model-View-Controller separation. Etc, etc. I appreciate the sentiment. C++ it remains, however. Mainly for all those reasons you want me to stay away from it.
"Amarth" said: Really, Python or even Java are easier tools to work with than C++, if only for garbage collection and better OOP support. I say you learn C++ only after having a sold basis in object oriented design, because otherwise you'll revert to hackery (and thus bugs). I'm sure they are, but C++ it remains.
I don't really need help with the code aspect itself (although thanks for the tips about pitfalls to avoid), really, I just need to know a good, free compiler (or how to use Cygwin's version of GCC, it's confounding me).
EDIT: Got Cygwin to compile, but I don't think I'll use it. I'm going for Dev-C++ instead.
|