Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
mort
mort
@mort@floss.social  ·  activity timestamp 7 months ago

I added hot reloading of C++ gameplay code to my game :D

This is possible because "engine" code and "gameplay" code is split into different shared libraries. So when you hit F5, it compiles a new shared library for the gameplay code and loads the new one (as well as reloading all the assets etc).

#cplusplus#gamedev #programming

Your browser does not support the video tag.
This video cannot be previewed
Open original
Screen recording where I demonstrate changing gameplay source code and assets and hot reloading the game
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct