Home

Awesome

<div align="center"><br> <img src="https://opensurge2d.org/img/surge_profile.webp" height="256"> <h1>Surge Engine</h1>

A retro game engine with a fun platformer for making your dreams come true!

Latest release License GitHub Sponsors Discord server

<img src="https://opensurge2d.org/surge-demo.gif" alt="Demo" height="360"> <br><br> </div>

It's cool!

Make your dreams come true! Open Surge Engine is an open-source 2D retro game engine for creating games and making your dreams come true!

It's a ton of fun! Surge the Rabbit is a featured jump 'n' run created with the Open Surge Engine. It's made in the spirit of classic 16-bit Sonic platformers of the 1990s. Play as Surge in fun and exciting levels filled with challenges!

Unleash your creativity! Create your own amazing games and play them on your PC and on your mobile device! Share your games with your friends! It's limitless fun!

A powerful engine for retro games! One of the core elements of the engine is SurgeScript, a scripting language for games. Use it to create new gameplay mechanics, characters with special abilities, bosses, and much more! The sky is the limit!

Open Surge Engine is an amazing tool for learning game development, programming, digital art, and the nature of free and open-source software in a playful way.

Official website: http://opensurge2d.org

Download

<img src="https://opensurge2d.org/img/badge_github.png" height="120" alt="Get it on GitHub"> <img src="https://opensurge2d.org/img/badge_fdroid.png" height="120" alt="Get it on F-Droid">

<img src="https://opensurge2d.org/img/badge_flathub.png" height="120" alt="Get it on Flathub"> <img src="https://opensurge2d.org/img/badge_snapcraft.png" height="120" alt="Get it from the Snap Store">

Support the project

GitHub Sponsors

ko-fi

Play MODs

You can play MODs created by other users.

  1. Download the MOD.
    • Linux users: preferably download it to your home folder.
    • Flatpak users: download it to ~/Downloads.
    • Snap users: download it to your home folder.
  2. Load the game.
    • Windows users: extract the MOD and launch the executable.
    • Other platforms: load the game from the options screen.

Documentation

About

The project is written from the ground up in C language, using the Allegro game programming library. It has been started by Alexandre Martins, a computer scientist from Brazil. Nowadays, it has contributors all over the world!

License

GPLv3

Advanced

Command-line options

Run opensurge --help

Paths

Check the Engine information at the options screen to see where the files are.

Content is distributed in the following locations:

The default paths of these locations vary according to the platform:

If you intend to hack the game, it's easier to have all files in the same place (read-write), because some of the above folders are read-only. Download the sources (use the same engine version), extract them to your filesystem and use the --game-folder command-line option.

Tip: you can also use the command-line option --verbose. The directories will appear at the beginning of the output.

Compiling the engine

Dependencies:

Compile as usual:

cd /path/to/opensurge/
mkdir build && cd build
cmake ..
make -j4
sudo make install

Use cmake-gui or ccmake for tweaking, like installing the engine to or finding the dependencies on non-standard paths.