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
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
Single Class Game Framework :)
Single Class Game Framework :)
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com