Motorbug Engine

Overview

3976

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
How is this different from other "sonic-style" engines?

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
3962


3963


3964


3966

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/

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
Sprites and Assets
  • 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.

Comments

Hey all! I know it's been a while, but I've got some updates.

While I haven't done much in the core engine recently, I've started working on a level designer/editor, which I'm calling Motobug Studio. The idea is simply to make development with Motobug much easier and more approachable to beginners, as well as making things more efficient for everyone.

It's still a work in progress, but it has come a long way since I started:
4942


Head over to https://github.com/coderman64/motobug-engine-designer to download it and check it out if you're interested. If anyone is familiar with Python and wants to help out, I would greatly appreciate it!
 
I'm aware. It seems that this happens sometimes with HTML5 audio. I'm not sure what exactly causes it, or why it's inconsistent across platforms.

Any insights would be appreciated.
that's good, also why aren't you using sonic sounds from original games?
 
that's good, also why aren't you using sonic sounds from original games?
I dunno...Mostly because I wanted to see if I could recreate the sounds myself. Also to be a bit different, I guess.
Most of the sounds I think came out alright, though I'm still not sure about the "losing rings" sound.
 
Hey all! Finally got around to updating Motobug. This update brings all the new features from my 2020 fangame demo Sonic EXP back into the main branch of Motobug, including:
  • A title screen, with animated logos that play beforehand (this is simply a .mp4 video file)
  • Save games
  • A save-select screen
  • New items, including a level-finished signpost, and special stage ring
  • polish with some new sprites, sounds, and animations
  • and much more!
As always, let me know what you guys think!
 

Item information

Added by
Coderman64
Views
2,156
Comments
6
Last update

More in 2D Frameworks

More from Coderman64

Share this item