Game Institute C++ Module 2 - Summary and Code

Week/Lesson 1(Chapter 10)

Class and Function Templates. Pretty simple really, lesson involved correcting some templates and redoing some Module 1 code with templates.

Week/Lesson 2(Chapter 11)

Error Codes, exception handling basics and using the ASSERT keyword.

Week/Lesson 3(Chapter 12)

All about number counting in computers - Binary, Hex and decimal, the various convertions between, bits and memory, bit operations, how floating point numbers work.

Week/Lesson 4(Chapter 13)

Linked Lists, Stacks, Queues, Dequeus, Maps, Algorithms, Functors, Predicates. This is quite a hard lesson on first approach but we are writing our own Linked List class, Queue class and Stack class. The STL is not something you can just 'learn' such as classes, it seems to require some time to understand the benefits and possible pitfalls. Next week - finally - windows game coding

My Linked List Example - this is an incomplete implementation of a linked list and a custom Stack and Queue class that implements the linked list. Once I have a good working example I will link a final zip file. I will be using the STL going forward so I can understand the benefits and pitfalls of it. In all honesty writing my own containers seems a bit brazen at this point especially as I dont neccessarily need to. I think it best to get experience of when to use what container at this stage.

Week/Lesson 5(Chapter 14)

Finally into Windows programming :). Event driven programming model, MSG structure, WNDCLASS structure, creating a self defined window, message loop. I have done a lot of this previously so good to get the refresher.

Excercises from Chapter:
Program 14.1 Ultra Basic Windows Program!
Program 14.2 First Proper Windows Program
Excercise 14.1 Add an Exit message
Excercise 14.2 Add Horizontal and Vertical Scrollbars
Excercise 14.3 Create 3 seperate windows
Excercise 14.4 Change the mouse cursor
Excercise 14.5 Blue Background
Excercise 14.6 Custom Icon

Chapter code here

Week/Lesson 6(Chapter 15)

WM_PAINT Message, Device Context, TextOut, Shape Primitives, Loading and rendering Bitmaps, Pens and Brushes, Menus, creating resources.

Excercises from chapter:
Program 15.1 Hello World!
Program 15.2 Line Drawing
Program 15.3 Rectangle Drawing
Program 15.4 Ellipse Drawing
Program 15.5 Bitmap Loading
Program 15.6 Complete Drawing Application

Chapter code here

Week/Lesson 7(Chapter 16)

Modal Dialog Boxes, Buttons, Radio Buttons, Checkboxes, Combo Boxes, Modeless Dialog Boxes

Excercises from chapter:
Program 16.1 Modal Dialog example
Program 16.2 Modeless Dialog example
Program 16.3 RadioBox example
Program 16.4 ComboBox example
Excercise 16.1 ListBox example
Excercise 16.2 Checkbox example
Excercise 16.3 Mini Notepad Project
Excercise 16.4 Colour Selection Dialog

Chapter code here

Week/Lesson 8(Chapter 17)

Windows multimedia timing functions, computing elapsed time, FPS, Double buffering, sprites

Excercises from chapter:
Pong - Budget Implementation of Pong (if there is such a thing!)
Explosion - Use of multiple sprites to create animation

Chapter code here

Week/Lesson 9(Chapter 18)

Game Analysis, Design and implementation. Making a complete game

Excercises from chapter:
Air Hockey - I have added sound using the FMOD sound library and will attempt to add some more features over the next few weeks!

Chapter code here

4 comments:

Anonymous said...

I read this piece of writing fully on the topic
of the resemblance of newest and previous technologies, it's remarkable article.

My website :: dragon city hack

Anonymous said...

My relatives all the time say that I am killing my time here
at web, however I know I am getting know-how daily by reading thes nice posts.


Stop by my web-site Generateur de Code PSN

Anonymous said...

Heya just wanted to give you a brief heads up and let you know a few of the
images aren't loading correctly. I'm not sure why but I think its a linking issue.
I've tried it in two different browsers and both show the same outcome.

Here is my webpage: Psn Code Generator

Anonymous said...

Wow, this piece of writing is pleasant, my sister is analyzing these things, thus I am
going to let know her.

My web blog ... Dragon City Hack (www.youtube.com)