GithubHelp home page GithubHelp logo

ezhangle / opensurge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alemart/opensurge

0.0 1.0 0.0 72.56 MB

A fun 2D retro platformer inspired by Sonic games and a game creation system.

Home Page: http://opensurge2d.org

License: GNU General Public License v3.0

CMake 0.78% C++ 0.24% C 88.36% Scheme 10.55% JavaScript 0.07%

opensurge's Introduction

Open Surge

Welcome to Open Surge!

Get the game at opensurge2d.org

Surge

What is Open Surge?

Open Surge is a fun 2D retro platformer inspired by Sonic games and a game creation system that lets you unleash your creativity!

Open Surge demo

Open Surge is currently available for Microsoft Windows and GNU/Linux. It is in active development!

About Open Surge

Open Surge is two projects in one: a game and a game creation system (game engine). It is released as free and open source software.

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

How do I play?

You can play using a keyboard or a joystick.

Key Effect
Arrows Move
Space Jump
Enter Pause
Esc Quit
Left Ctrl Switch character
Equals (=) Take snapshot
F12 Open the editor

How do I create a game?

Use Open Surge to create your own amazing games! Create new levels, items, bosses, gameplay mechanics, playable characters, special abilities and more!

  • First, learn how to create a level using the built-in editor (press F12 during gameplay)
  • Next, learn how to do basic hacking (modify the images/sounds, create new scenery, new characters, etc.)
  • Finally, have fun with scripting! SurgeScript, the scripting language featured in Open Surge, gives you ultimate power to create anything you desire and make your dreams come alive!

To learn more, read the project wiki and watch the video tutorials made by the developer of the engine.

Advanced users

Running from the command line

Advanced features are available via the command line. For more information, run:

opensurge --help

Compiling Open Surge

To compile Open Surge from the source code, you'll need a C compiler, CMake, and the following development libraries:

After downloading and extracting the source code, create a build directory and compile from there:

mkdir build && cd build
cmake ..
make

You can perform a system-wide installation on Linux by running:

sudo make install

You may run ccmake or cmake-gui to know additional build options (e.g., set the path of the installation directory). If you have installed the development libraries into non-standard paths, you need to configure their appropriate paths as well.

Note: read the project wiki for more detailed instructions.

Linux users: game assets (images, sounds, etc.) can be stored globally or in user-space. Assets located in user-space take precedence over assets located in system directories. Open Surge uses the XDG Base Directory specification; look for the opensurge2d directory.

Files Usual locations
Game assets /usr/share/games, ~/.local/share/opensurge2d
Game config. ~/.config/opensurge2d
Logs, etc. ~/.cache/opensurge2d

If you're using Flatpak, user-space files are found at ~/.var/app/org.opensurge2d.OpenSurge. If you're using Snap, they are found at: ~/snap/opensurge/current/.local/share/opensurge2d, ~/snap/opensurge/current/.config/opensurge2d, and ~/snap/opensurge/common/.cache/opensurge2d.

Portable setup: if you haven't done a system-wide installation, Open Surge can also read files from the folder of the executable.

opensurge's People

Contributors

alemart avatar secularsteve avatar stilic avatar markand avatar wuzzy2 avatar dart-bird avatar suve avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.