#ifdef TRAPPER_ZOID

Profile
Australia
TZ's gamedev journal
1,075 comments
1 followers
383 entries
Advertisement
Trapper Zoid
May 20, 2007
More updates!
More updates!

Timers

Timers are now up and running. Going with the KISS philosophy I've implemented them as a wrapper data class; game objects can define their own timers for whatever they need. In terms of data a timer is just a long int record of a particular time in clock ticks, which it can updat…
334 views
Trapper Zoid
May 19, 2007
Writing on the Wall

A Big Ol' Screen of Characters

More updates:
  • I've written a simple "sprite set" class which acts as a container of sprite identifiers. It's effectively an array of sprite ids, except with an extra function that allows you to specify a block of sprite names that end in incrementing digits, such as mys…
355 views
Trapper Zoid
May 18, 2007
Basic spriting done

A pyramid of stars!

I decided it wasn't worth getting bogged down on throwing in too many features into the spriting code yet - I won't know what I'll need until I need to make a game with it. So I just put in the basic minimum to get working functionality. The game code can set a sprite's:
  • type (wha…
318 views
Trapper Zoid
May 18, 2007
Two for the price of one!

Sprites are now working under Windows and Mac OS X. It was an ordeal to get the arcane workings of a PNG loader, PhysicsFS and OpenGL to work together in harmony but it's now displaying pretty pictures. I finally got glpng, a third party PNG-to-OpenGL library, to do the hard work for me after I ad…
441 views
Trapper Zoid
May 17, 2007
Quick update
Quick update:
  • SDL opens up in a properly titled window now, both on Mac OS X and Windows.
  • SDL events can be passed properly on to the rest of my library. Currently only the quit and resize messages are passed on, but I'll add the rest when I write the functionality.
  • SDL windows can be resized.
  • The basi…
296 views
Trapper Zoid
May 15, 2007
Graphics Design
It's time for another design brainstorm post. Since I'm up to the SDL video initialisation I need to start work on the graphics module, and this requires at least a basic understanding of how I'm going to structure the thing.

The Old Method

The current methodology I'm using for grpahics is based on t…
305 views
Trapper Zoid
May 14, 2007
Port early, port often
After a lot of frustration I've got my unit test and SDL test projects running in Xcode under MacOS. It's good to know that the only problem with my code was not including SDL.h in my SDL main C++ file and using **argv instead of *argv[]. Oh, and stupidly inserting the SDL header files in my third …
420 views
Advertisement
Trapper Zoid
May 14, 2007
Diagonal Updates
Brief run down of newly implemented features in the Diagonal Game Library:
  • PhysicsFS is now integrated in. I've stripped it down to only read plain directories and ZIP files, but it appears to be working fine.
  • Logging has been ported across from my old engine. I have my colour coded HTML log messages…
317 views
Trapper Zoid
May 12, 2007
Three weeks until the MAGIC starts!
The contest is now officially MAGIC! I love acronyms made purely for their easy use in corny puns.

It's now only three weeks to the competition starts. Three weeks may sound like a long time, but to me it certainly isn't. I'd really like to have this prototype game library ready so I can whip someth…
297 views
Trapper Zoid
May 12, 2007
One task down, many more to go
I've got my kernel a.k.a. game loop running. Most of time on this was writing a templated singleton class that I liked; the actual kernel itself is tiny due to the use of signals. It's just a while loop that keeps sending out signals until a quit flag is set or there isn't anything left that it is …
239 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
54 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement