diff --git a/.gitignore b/.gitignore index 73f676e..af71b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ build **/CTestTestfile.cmake **/Makefile **/CMakeScripts +/.DS_Store diff --git a/assets/screenshot.png b/assets/screenshot.png new file mode 100644 index 0000000..a76163e Binary files /dev/null and b/assets/screenshot.png differ diff --git a/readme.md b/readme.md index 522ef0d..651023e 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,8 @@ on hot-reloading at the moment. The graphics part is done using [Raylib](https://www.raylib.com). +![](assets/screenshot.png) + [![build](https://github.com/seletz/raylib-hot-code-reload-c-example/actions/workflows/cmake-single-platform.yml/badge.svg)](https://github.com/seletz/raylib-hot-code-reload-c-example/actions/workflows/cmake-single-platform.yml) ## Why? @@ -24,6 +26,7 @@ to reload the **logic** of the game and test it with a given game state. Often enough we can't fully serialise and reload game state from/to disk. + ## How It Works The "game" is split into two parts. A main executable and a