This project is read-only.
Project Description
A 2D side-scrolling platformer based on Sonic the Hedgehog.

About the project

A simple clone of Sonic the Hedgehog 2, written from scratch in Java SE 1.7 and using Swing for the display. Contains all of the basic Sonic 2 gameplay features including jumping, collecting rings, spilling rings when hurt and spindashing with the exception of the signature sloped and curved surfaces (such as loop-the-loops), something which I may add support for in a future build if I have time. Features include:

- Physics engine for simulating gravity and friction
- Collision detection and an event-based flow for collision events
- Flying enemies
- Projectiles
- Taking damage and dying
- Sound

Future features may include:

- Restarting the game after death
- Menus
- Proper HUD

Feel free to use this code as a base for your own project, or rip parts for your own use.

Last edited Mar 23, 2014 at 3:47 PM by RGreenlees, version 5