Jake Salmon: Games

Actionscript 3 / Flash

In my final year of university (studying Artificial Intelligence at the University of Sussex) we were tasked with learning Actionscript 3 and creating a game. I decided to completely avoid the timeline and instead created a pure object-orientated game.

I drew basic vector graphics and programmed some simple reactive Artificial Intelligence. The game can be played on the right.

The controls are in game and listed below:

Up/down keys Thrust ship forwards and backwards
Left/Right keys Rotate ship clockwise/counter-clockwise
Space key Fire projectiles

(p.s. sorry about the annoying sound, I have lost the source code and so cannot remove it!)

Java

In July 2011 I decided to test my Java skills by building a tech demo from scratch without using any libraries or engines. I spent around 8 hours spread over a few weeks and learnt a lot from the experience. The code was designed carefully in an object orientated way to make it reusable and easy to extend. Full source code (under MIT license) is available here.

I created managers for loading assests and playing animations from spritemaps. Most of the graphics are hardware accelerated which gives an impressive frame rate. The artifical intelligence is fairly simple but utilises slightly complex math for predicting enemy positions while aiming. Vector math was used to handle all the physics.

The game is only playable via a downloadable jar file which is found here, or by compiling the source given above. Controls for the game are given below:

Up/down keys Thrust ship forwards and backwards
Left/Right keys Rotate ship clockwise/counter-clockwise
Space key Shoot rapid-fire cannon
B key Shoot powerful missile