This repository has been archived on 2025-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
helpless/oogabooga/examples/hotload
2024-08-18 12:51:33 +02:00
..
build_engine.c os_get_elapsed_seconds() & some unecessary refactoring 2024-08-18 12:51:33 +02:00
build_game.c os_get_elapsed_seconds() & some unecessary refactoring 2024-08-18 12:51:33 +02:00
build_launcher.c Refactor more to be able to build as dll and link a single global oogabooga instance, and made an example for a hot loaded game 2024-07-23 17:33:11 +02:00
hotload_build_all.bat Refactor more to be able to build as dll and link a single global oogabooga instance, and made an example for a hot loaded game 2024-07-23 17:33:11 +02:00
hotload_build_game.bat Refactor more to be able to build as dll and link a single global oogabooga instance, and made an example for a hot loaded game 2024-07-23 17:33:11 +02:00
README.md Refactor more to be able to build as dll and link a single global oogabooga instance, and made an example for a hot loaded game 2024-07-23 17:33:11 +02:00

!!! THIS VERY EXPERIMENTAL !!!

This is an example how how we can set up a oogabooga project where some code can be recompiled while the engine is still running.

To try this:

  1. Copy the files in this directory into the root project directory
  2. Compile with hotload_build_all.bat
  3. Run build/launcher.exe
  4. Modify build_game.c
  5. Recompile the game code only with hotload_build_game.bat
  6. Go back to the application and press 'R'