Skip to content

Game engine which allows creating a broad range of marble popper games.

License

Notifications You must be signed in to change notification settings

jakubg1/OpenSMCE

Repository files navigation

OpenSMCE

Open-source Sphere Matcher Community Engine - an engine that is made to run various Sphere Matching games.

This is a project that runs on the LÖVE2D framework and is currently designed to run on version 11.5.

Current Status

This project is currently work-in-progress. While heavily rebuilt and having big changes each version, the releases should be stable and no bugs are to be expected. If otherwise, feel free to submit a bug report.

Launching

If you have LÖVE2D installed, you can run the game by launching start.bat (or love . on Linux). Note that you may need to change the LÖVE executable path in that file first.

Games

There are currently no released games which can be installed on this engine. However, that doesn't mean you can't play anything - you can convert the original Luxor and Luxor: Amun Rising games. Please refer to the game converter repository for more information.

Mods for these games will be supported in an upcoming release. Other Luxor installments such as Luxor 2 and beyond as well as other games like Zuma and Sparkle are currently unsupported.

You can have multiple games at once - each game is its own directory in the games folder.

Important Note:

During OpenSMCE's development, the game converter is usually lagging behind the current state of the source code. Because of this, running the code from source will most likely not work with the converter result. Hopefully, the versions Beta 5.0.0 and onwards will no longer have this problem, but I can't promise anything yet!

Building

You can build an OpenSMCE executable (or .love file) like any other LÖVE2D game or program. Note that strictly only .lua files need to be there. Any other file packaged into the executable will increase its size without any meaningful effect.

Alongside the executable, you also need the assets/ directory with its contents (specifically, fonts) to make the engine work fully properly. The engine can work without them though, there is fallback font support.

In the future, makelove support is planned and there is an open issue about it.

Releases on this page also include the OpenSMCE game converter.

Documentation

Code documentation is done by LDoc annotations in source files which are parsed and displayed in Visual Studio Code. See contribution guidelines for more information.

Game documentation can be found in doc/game, in the form of easily parseable .docl files. Additionally, when editing the game files through Visual Studio Code, schemas provide linting and descriptions for all fields. The JSON schemas are generated using the doc/game/generate.py script.

For more information on how the documentation generator works, you can look into this article.

Plans

The ongoing plan is to keep releasing Beta 4.x versions, which will contain new functionalities.

Beta 5.0 is an upcoming version, which is planned once the full game documentation is finished (#70, #112). This includes both a reference manual and JSON schemas.

For more information on how the documentation works, you can look at the article on how the generation pipeline works and the syntax of .docl files.

From Beta 5.0 onwards, all games are intended to be backwards compatible. Then, further Beta 5.x versions will be released, which would ideally include:

  • Complete rewrite of UI system (#63; paused)
  • Partial Luxor 2 support (mainly focusing on bringing the converter to parity)
  • Some quality-of-life changes for modders (#66, #74, #84, #90, #98, #101, #114, #117, #123)

If you want to help me, don't hesitate to do so! If you have any questions or you need more information, make a ticket on the Issues page. Any support is greatly appreciated.

For more information, you can take a look at the Beta 5.0 issue list and the 1.0 issue list.

Further plans

After the data management module is finished, the engine will be separated. The sphere matching gameplay will stay on this repository, while the rest will be extracted into another repository (the OpenSMCE Engine). The OpenSMCE Engine will be able to handle any type of game and will handle resource management, UI and hopefully more.

The idea is to have an in-between solution between fantasy consoles (such as Picotron, PICO-8 and TIC-80) and professional game engines (Godot, Unity, UE).

Credits

This repository contains code and other assets from the following sources:

About

Game engine which allows creating a broad range of marble popper games.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 5

Languages