All,
9-2-14 --- I have made some code updates since the original post. So, I reposted the latest source for your entertainment - cheers Shri
I have a new wade game on my site www.ashatej.com.
It is the first game in the list "PT Raid"
If you can give it a go, I would appreciate some feedback.
The game has the following keyboard cheats so you can see the whole thing without having to
play through the levels.
0 - sets your health to zero (you die)
1 - sets your score to 1000 (you advance a level)
8 - makes your gun super powerful
9 - gives you 90 torpedos
I have attached the source code here for your amusement.
There are a lot of files, but if you take a look maybe there will be something you can reuse.
As usual, ignore any copywright stuff and feel free to use what you will.
Some of the highlights:
- scene manager and scene behaviors
- boat behaviors (these could easily be modified to build any other type of vehicle/character)
- the background tiling and scrolling code so the screen is never blank
- Gio's menulist code - repurposed for an in game menu
- Gio's menulist code - repurposed as an in game pull down map
- an encapsulated gui object
- steering behavior
- a sound manager
If you find bugs or can improve something, please share back with the rest of us.
anyway, enjoy,
cheers,
Shri