Skip to content

robrix/isometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

28543f9 · Mar 27, 2022
Jul 13, 2020
Dec 22, 2019
Jul 5, 2020
Mar 27, 2022
Sep 2, 2020
Jan 25, 2020
Jul 1, 2020
Jul 12, 2020
Feb 9, 2020
Jan 18, 2020
Jan 25, 2020
Aug 4, 2018
Jun 7, 2020
Aug 4, 2018
Mar 27, 2022
Mar 27, 2022
Mar 27, 2022
Jul 2, 2020

Repository files navigation

isometry

Messing around with programmatic tiling in an isometric setting.

Development

Development currently assumes a Mac with ghc 8.8 & cabal 3.0. You can install them directly, or use ghcup.

Initial setup:

brew bundle # for sdl2 & sqlite3
cat data/ephemerides.sql | sqlite3 data/data.db # to populate the solar system db with planets
cat data/factions.sql | sqlite3 data/data.db # to populate the solar system db with factions
cabal build # to set up dist-newstyle with the ghc package db

Run script/repl to load the project (both library & executable) into the REPL. In the REPL, :main will launch the game. Use :main --profile to enable profiling (timings for various parts of the game, shown on exit).

Alternatively, cabal run isometry will launch the game. Use cabal run isometry -- --profile to enable profiling.