Showing posts with label game. Show all posts
Showing posts with label game. Show all posts

Sunday, 17 May 2009

Topics Covered



1. Data types, Variables and Standard I/O: I covered this one a while back. I learned basic concepts like C++ and the details of a 'Hello, World!' code. I just wish I could learn more about the preprocessor directive (#include) but apparently I will in the future when I'm ready. I found this great site that's got data types in detail is from cplusplus.com

http://www.cplusplus.com/doc/tutorial/variables/

2. Truth, branching and game loops: Ah, now I'm getting warm. I finally cover the basics of what I believe I'll be using a lot in game programming. Note to self - Must pick up randomizers quick. Logical operators, switch statements and basic loops (if, while, do) are the order of the day.

3. For loops, strings and arrays: Call me dumb, but arrays have always been the bane of my existence. But since I started taking my training seriously, I realized they are not so bad. Even multidimensional arrays don't trouble me anymore. All it takes is focus and practise. For loops, I hear, are some of the most used devices in the game programming industry.

4. Standard Template Library: I'm still in this chapter. All (good) compilers usually grant the users access to a library of codes for future use. APIs like DirectX and OpenGL also make use of this concept but also offer images and soud for game programmers, but I digress. For now, I'm happy with a basic library, just to know what the hell I'm doing. I covered drawing on the library for components such as randomizers (ctime, cstdlib) and containers like vectors.
A good site for downloading great templates is SourceForge -

http://sourceforge.net/search/?type_of_search=soft&words=c%2B%2B

I just got into Algorithms. If you are tired of long-ass blog entries, never fear. I was simply filling you in on what's been done so far (see entry topic), so bring on the late nights and throbbing headaches. I was born for it!

Thursday, 14 May 2009

So Far

Right now, I've got about 4 months to get up to speed before university woes ensue. My focus is the C++ Programming language. I've got so much material on C++, but very few of them actually make any kind of sense to me. At a glance, my library contains
- Jamsa Klander's C/C++ Programmer's Bible
- Beginning C++ Through Game Programming (Second Edition by Michael Dawson)
- NIIT's Programming in C++ Vol 1
- The C++ Programming Language (Third Edition) (by the creator of C++ - Bjarne Stroustrup)

and a plethora of site links, which I will fill you in on as I progress. Over time and trial and error, I have come to the conclusion that the absolute best start based on my resources would be Beginning C++ Through Game Programming. It's like £25 brand new and £15 fairly used, but you must get it with the CD which contains all the tutorial codes (http://www.amazon.co.uk/Beginning-Through-Game-Programming-Second/dp/1598633600/ref=sr_1_1?ie=UTF8&qid=1242298458&sr=8-1)

The book starts real slow which suits me to a point (hey, self taught C++ ain't no walk in the park you know) but picks up speed about three chapters in and just keeps gathering speed. It's important that you don't miss anything or skip any chapters to avoid getting stumped later.

When I'm done with this book, I believe I will be decent enough to proceed with Jamsa Klander's book. For now, I've got work to do (no I mean real, part-time Debenhams work. Night Shift can be a real energy burner) Next time, I'll go into detail on my training. For now, ciao!