EmptyEpsilon inspired game
Go to file
Arthur POULET 3469024b23 WIP events & handler
This change tries to modivy the event to be a "generic entity" that
holds the data about the event (type, code, modifiers).

It does not use crystal generics.

I don't plan to merge it on master because it adds a overheat.
2023-08-24 19:19:53 +02:00
spec WIP events & handler 2023-08-24 19:19:53 +02:00
src WIP events & handler 2023-08-24 19:19:53 +02:00
.editorconfig Init project 2023-08-17 00:24:35 +02:00
.env Init project 2023-08-17 00:24:35 +02:00
.gitignore Add a sandbox to for PoC 2023-08-20 19:39:21 +02:00
LICENSE Init project 2023-08-17 00:24:35 +02:00
Makefile sandbox: add controls and sliders for acceleration 2023-08-21 12:22:50 +02:00
README.md sandbox: add controls and sliders for acceleration 2023-08-21 12:22:50 +02:00
shard.lock Add a sandbox to for PoC 2023-08-20 19:39:21 +02:00
shard.yml Init project 2023-08-17 00:24:35 +02:00
x.cr WIP events & handler 2023-08-24 19:19:53 +02:00

README.md

ZeroEpsilon

Inspired by https://github.com/daid/EmptyEpsilon

Build

Dependencies

You need git make crystal shards sfml imgui imgui-sfml

Compilation

make build # dev build
make release # optimized

Run the game

After you build the game, run it with

export LD_LIBRARY_PATH="$(pwd)/lib/imgui-sfml" # there is a .env file for that
./zero_epsilon

Contributing

You can send email or join me on irc. Details on https://sceptique.eu/about.

If you already have an account on git.sceptique.eu you can contribute to the upstream https://git.sceptique.eu/Sceptique/ZeroEpsilon. I accept all kinds of patch as long as it's not bullshit.

If you want to test the sandbox, you can try crystal run src/tests/physics_sandbox.cr --error-trace