Single Class Game Framework :)

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Single Class Game Framework :)

Post by mohaps »

Hi all,


just to see how much i could push my bad coding habits.. i tried to write a game using just one class... :) just for the heck of it...

this is how far i got...
Click on the Screenshots For hires verisions
Image
Image
Image


the "game" has everything but shootable baddies... it supports

a) sound and music through audiere
b) fps walk around and collision detection
c) flexible entity placement.. as you can see the health / armor power ups
d) single shot weapon with muzzzle flash
e) basic inventory
f) a hud console which scrolls up => latest message appears at the bottom and older messages scroll up
g) graphic hud meters for health/armor/ammo
h) random spawn points
i) item pick up and dropping
j) integrated editor to layout entities in a map by key presses.

i used the media that ships with the cube engine 2 to quickly put together something...

the map is a CShop4 map that i made in like five minutes using some free textures available on the net...


regards
mohaps
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
SkaCahToa
Posts: 10
Joined: Mon Jun 12, 2006 5:08 pm
Location: Michigan, USA

Post by SkaCahToa »

ONE CLASS? wow.
are you planing on submiting the code? I really want to know how all that could be done with only one class.
zeno60
Posts: 342
Joined: Sun May 21, 2006 2:48 am
Location: NC, USA
Contact:

Post by zeno60 »

Looks neat, I like the health drop features. I would also love to see the code/demo.
Post Reply