https://github.com/robrix/isometry
programmatic voxels
https://github.com/robrix/isometry
Last synced: 11 months ago
JSON representation
programmatic voxels
- Host: GitHub
- URL: https://github.com/robrix/isometry
- Owner: robrix
- License: bsd-3-clause
- Created: 2020-06-07T13:58:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T03:19:55.000Z (about 4 years ago)
- Last Synced: 2025-06-03T00:29:00.184Z (about 1 year ago)
- Language: Haskell
- Size: 7.61 MB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `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`](https://www.haskell.org/ghcup/).
Initial setup:
```bash
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.