https://github.com/kadir014/lumina
Lightweight and cross-platform game engine in C
https://github.com/kadir014/lumina
2d c cross-platform game-development game-engine gamedev linux wasm web windows
Last synced: 5 months ago
JSON representation
Lightweight and cross-platform game engine in C
- Host: GitHub
- URL: https://github.com/kadir014/lumina
- Owner: kadir014
- License: mit
- Created: 2024-01-18T00:29:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T19:39:24.000Z (over 2 years ago)
- Last Synced: 2024-02-25T20:44:19.082Z (over 2 years ago)
- Topics: 2d, c, cross-platform, game-development, game-engine, gamedev, linux, wasm, web, windows
- Language: C
- Homepage:
- Size: 292 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lumina
Lumina is a lightweight and cross-platform 2D game engine.
# Roadmap & Future
Lumina is a pretty recent project of mine which I started working over the semester break. Lumina is a latin origin word, meaning *"light"*. It is built on top of the brilliant SDL2 library. I want the game engine to be able to run (and build) easily on Android as well as desktop and web.
# Installing & Building
### Building for desktop
**❗ Prerequisite**: Make sure you have GCC / MinGW installed.
Clone (or download) the repository
```
$ git clone https://github.com/kadir014/lumina.git
```
Set working directory to Lumina
```
$ cd /path/to/lumina/
```
Run the build script. It will build the game engine and the basic example, then run it if succesful.
```
$ python build.py
```
### Building for web
**❗ Prerequisite**: Make sure you have Emscripten installed. ([Installing guide](https://emscripten.org/docs/getting_started/downloads.html))
Clone (or download) the repository
```
$ git clone https://github.com/kadir014/lumina.git
```
Set working directory to Lumina
```
$ cd /path/to/lumina/
```
Run the build script with `web` argument. It will build the game engine and the basic example, then host a local webserver where you can test the game on `localhost:8000`.
```
$ python build.py web
```
# Examples
Example demos are in [examples](https://github.com/kadir014/lumina/blob/main/examples/) directory.
# License
[MIT](LICENSE) © Kadir Aksoy