Overview
This is a 360° ("sonic-style") platformer engine completely written in JavaScript and HTML5 allowing you to develop this style of platforming games for the Open Web.
Live Demo at: https://coderman64.github.io/motobug-engine/
features
- 360° Genesis-style Sonic physics.
- Sound effects and music via HTML5 audio
- Controller support (through the JS Gamepad API) (beta)
- touch controls support (beta)
- full debug interface (press i)
- Press L to change the level
- hold v and use arrow keys to view around the level
- change character by pressing p (works outside of debug mode)
- slow down the game a bit by holding c
a number of different engines exist that do quite similar things to Motorbug. The most notable of these (off the top of my head) is the Sonic Worlds engine. This is a quite fully-featured and well-tested engine and is much better than Motorbug in most cases. However, to fully utilize this engine, you need to install Multimedia Fusion 2 (MMF2), which is commercial software.
Motorbug, while quite a bit more buggy than Sonic Worlds, depends only on the open HTML5 & JavaScript standards, which means it can be played in any modern browser (including your phone).
This means that this may be the only mobile-compatible sonic fan engine out there (to my knowledge).
There are also some other implementations of sonic physics written in JS (like this)
Screenshots
Where can I learn more?
More info and source code are available here: https://github.com/coderman64/motobug-engine/
NOTE:
This is a project that I have developed thus far in my free time, and may not receive any support in the future.
Also, many assets (some sound effects, tiles, sprites, etc.) were made by me, and you can use them in your own fan games/engines under the CC-BY-SA 4.0 license.
There were also many assets used from various other fan projects, as well as official games by SEGA. I do not claim to own these assets, and you should seek the original creators for more info.
Media
Github page (you can download a .zip file from here):
https://github.com/coderman64/motobug-engine/
Live Demo:
https://coderman64.github.io/motobug-engine/
https://github.com/coderman64/motobug-engine/
Live Demo:
https://coderman64.github.io/motobug-engine/
Updates
Code/Engine
- The core engine and mechanics were all written by me, with help from this Sonic Retro page.
- There are also a few dev tools included in the project, written by me in Python
- Sonic and related sprites are from the ModGen project
- Shadow and related sprites are from Cylent Nite
- Silver and relates sprites are from the S-Factor, a hack by Aquaslash
- Motobug and enemy sprites (including the motobug in the project logo) are from this sprite sheet by Dolphman.
- Tiles for some of the dev levels are modified from various official sonic games and thus belong to SEGA. Those for Crystal Geyser (the first level) are original and belong to me. You can use them under a CC-BY-SA 4.0+ license.
- the beach background, springs, rings, and spikes were made by me! (you can use them under the CC-BY-SA 4.0+ as well)
- sound effects and music were also made by me! (you can use these too under the CC-BY-SA 4.0+)
- if there are any sprites here that I didn't credit, they are likely from spriters-resource.com/ and originally came from original sonic games. Thus, they are probably © SEGA.