PT Raid new Wade game
Shri

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

All 2 Comments
hermes
Your best game to date :D

Personally I would have preferred wasd + mouse for the controls or wasd + arrow keys. Took some time getting used to it, but was fun. Slightly too difficult perhaps, I had to use those cheat codes at some point!
Shri

Hermes,

 

Thanks for the feedback, I changed the controls to wasd for moving the boat.

You can use any combination of controls and it should work - mouse + - keyboard +- touch.

I stayed away from the arrow keys because their use is not consistent between browsers.

 

cheers,

Shri

Post a reply
Add Attachment
Submit Reply
Login to Reply