Blogs ยป TTH

TTH

A blog about the TTH project *project on-hold*
Created by Kalakian on Fri 31 of July, 2009 10:18 BST
Last post Mon 07 of June, 2010 14:34 BST
(2 Posts | 125 Visits | Activity=2.00)
Find:

On-hold

By Kalakian on Mon 07 of June, 2010 14:32 BST
This project has been put on-hold as it was a personal project, and the new team have plenty of projects to work on

TTH Revivial

By Kalakian on Fri 31 of July, 2009 10:23 BST
Originally posted on WosGamers Ning by Kalakian on 11 October 2008 at 2:30pm

I'm sure most people on the CGT course will have at some point created a game or demo for one of their courseworks and planned to return to it later on in their own time to continue working on it. One such project for me has always been my 2D Graphics Programming coursework, TTH.

About TTH

Two Tanks and a Hill (yes, I know we were very inventive), is a simple 2D game like Scorched Tanks (old amiga game) where there is a tank at either side of a randomly generated hilly terrain. Each player must take it in turn to estimate the appropriate angle and power at which to fire in order to destroy their opponent's tank. In Scorched Tanks (and Worms), the players had a variety of different weapons that could be used, and TTH was going to be no different ... except we ran out of time to implement anything other than simple cannon fire.

The Coursework

The project was first created as a coursework for 2D Graphics Programming back in 2002 by myself, John 'Naltec' Nelson, and John 'CyberGoth/CyberDrizzt/Timmy' McCubbin. As we were in the first enrolment for the CGT course, we were of course the guinea pigs, and thus subject to cruel torture methods such as having to use DirectDraw. Further modules then changed to using DirectGraphics (the old Direct3D combined with some improved 2D features), and lucky for all those on the course now, OpenGL.

Game Engine

Anyway ... OpenGL was never taught while I was on the course, so I've had to learn it from books and the internet. One of my recent goals was to create a simple game engine using OpenGL, and what better way to test it out than to recode TTH so it uses my new engine? :) ... well, I could code a 3D game/demo instead, but the engine's 3D capabilities are currently limited to displaying simple objects with all vertices defined in code (no 3D loading support yet), so I'll give that a miss :P

So, looking back at the game, the main features the game engine needs to support are:

Bitmap loading and Sprite display
Keyboard and Mouse Input
Sprite Based Fonts
Simple Audio and Video Support

To The Future

Everything seems in order, so it's time to get started ... wow, that code is a mess, globals everywhere, a lack of object orientation, and where's those comment things?

This may take some time ... stay tuned (but don't hold your breathe)