diff options
| author | 3gg <3gg@shellblade.net> | 2023-03-09 09:44:30 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2023-03-09 09:44:30 -0800 |
| commit | f688e3b624226ca843a7256987d9a76560a3ab9b (patch) | |
| tree | d8d05925767b3d8a83da2f7a7fadd48970829beb /README.md | |
| parent | 3027010b87e30bc1546ff48b9e5011fa3b3e8fb6 (diff) | |
Update project setup instructions.
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 |
