diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 15 |
1 files changed, 11 insertions, 4 deletions
| @@ -5,15 +5,22 @@ Spear is a simple 2.5D game engine I have been working on since I started learni | |||
| 5 | The project's goal is to put what I learn into practise, to explore how far I can get with Haskell and if the results | 5 | The project's goal is to put what I learn into practise, to explore how far I can get with Haskell and if the results |
| 6 | are decent enough, to build one or two game demos along the way. | 6 | are decent enough, to build one or two game demos along the way. |
| 7 | 7 | ||
| 8 | Installation | 8 | Installation (Ubuntu) |
| 9 | ------------ | 9 | --------------------- |
| 10 | 10 | ||
| 11 | Simply clone the repo and build with cabal: | 11 | Install dependencies, then build with cabal: |
| 12 | 12 | ||
| 13 | ``` | 13 | ``` |
| 14 | $ sudo apt install libxxf86vm-dev libglfw3-dev | ||
| 14 | $ git clone https://github.com/jeannekamikaze/Spear.git | 15 | $ git clone https://github.com/jeannekamikaze/Spear.git |
| 15 | $ cd Spear | 16 | $ cd Spear |
| 16 | $ cabal install | 17 | $ cabal build |
| 18 | ``` | ||
| 19 | |||
| 20 | Run a demo: | ||
| 21 | |||
| 22 | ``` | ||
| 23 | $ cabal run pong | ||
| 17 | ``` | 24 | ``` |
| 18 | 25 | ||
| 19 | Features | 26 | Features |
