Simple setup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Basic C SDL2 game
|
||||
# lettergamecore
|
||||
|
||||
This project is a basic C [SDL2][SDL] game that uses [CMake][] as a build system.<br>
|
||||
It shows how we can develop a basic grid-based game.
|
||||
@@ -39,8 +39,8 @@ sudo apt install libsdl2-image-dev libsdl2-ttf-dev libsdl2-net-dev libsdl2-mixer
|
||||
|
||||
```sh
|
||||
# Clone this repo
|
||||
git clone https://gitlab.com/aminosbh/basic-c-sdl-game.git
|
||||
cd basic-c-sdl-game
|
||||
git clone https://gitlab.com/aminosbh/lettergame.git
|
||||
cd lettergame
|
||||
|
||||
# Create a build folder
|
||||
mkdir build
|
||||
@@ -51,7 +51,7 @@ cmake ..
|
||||
make
|
||||
|
||||
# Run
|
||||
./basic-c-sdl-game
|
||||
./lettergame
|
||||
```
|
||||
|
||||
***Note:*** To use SDL2_image, SDL2_ttf, SDL2_net or SDL2_mixer, you should
|
||||
|
||||
Reference in New Issue
Block a user