Jared's projects

Jared's programming projects:

 

2008-05-07

I have turned my 2D space shooter game into a project to develop a 2D game engine. 

[see Asplode!, An XNA Twitch Shooter for description and code related to this.]
 
Lately I have been reading a lot about game architecture and event based systems.  I coded an event manager which takes events from all of a games subsystems( AI , GameView/Human Input , etc...) and processes these events.  I also spent a while coding a process manager which manages all game processes such as updating, rendering and a bunch of other little things.  I wanted to code my own GUI but I think that feature will have to be put on hold until I get the core stuff down.

 

Main.java, Ball.java, ThreadRunner.java (see attached source code, change extension from .txt to .java): Work in progress: three classes that define drifting balls (2D ellipses) that bounce off the walls.

HelloWorldMouse.java (see attached source code, change extension from .txt to .java): Draws with text at the cursor position. This is the version we hacked at the meeting to write "Hello World" in one of two languages, depending on cursor coordinate.

AttachmentSize
HelloWorldMouse.txt1.59 KB
Main.txt1.16 KB
Ball.txt1.06 KB
ThreadRunner.txt634 bytes

Comments

Post new comment

Security question, designed to stop automated spam bots