diff options
author | Luca Sas <sas.luca.alex@gmail.com> | 2021-11-04 16:46:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 16:46:53 +0200 |
commit | ad7f8812f2338b1035af8dfabdb8c9433e57bb8e (patch) | |
tree | b7dcecd475c130a0d9cd3a9531793f877317eb7e | |
parent | dc4aea45b3956ae5b785fd7dc8d82d6ab347d22c (diff) | |
download | gamejam-slgj-2024-ad7f8812f2338b1035af8dfabdb8c9433e57bb8e.tar.gz gamejam-slgj-2024-ad7f8812f2338b1035af8dfabdb8c9433e57bb8e.tar.bz2 gamejam-slgj-2024-ad7f8812f2338b1035af8dfabdb8c9433e57bb8e.zip |
Update README.md
-rw-r--r-- | README.md | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -6,16 +6,6 @@ The master branch of the raylib source code is downloaded using CMake FetchConte Building from the cmake file will build both raylib and `src/main.c` which includes a basic example of a raylib program. -## Q&A - -1. How do I change my project name? - - On `line 2` in `CMakeLists.txt` you can change the name `"my_raylib_game"` in the line `project(my_raylib_game C)`. Don't change anything other than the name. - -2. How do I use C++? - - One `line 2` in `CMakeLists.txt` you can add `CXX` like so `project(my_raylib_game C CXX)` in order to add C++ support. - ## Asset handling The example in `src/main.c` uses an example image located in the `assets` folder. @@ -27,4 +17,4 @@ If you plan on releasing or sharing your game consider manually setting the valu In C you can concatenate string literals by putting them next to each other, eg: `"A" "B"` is `"AB"`. So ASSETS_PATH `"test.png"` becomes `"/path/to/your/assets/test.png"` -If you wanna share your game with others you should set ASSETS_PATH to be a *relative* path like "./assets/". You can do this in the CMakeLists.txt file.
\ No newline at end of file +If you wanna share your game with others you should set ASSETS_PATH to be a *relative* path like "./assets/". You can do this in the CMakeLists.txt file. |