XaiJu
relativisticgame
relativisticgame

patreon


Week 25 progress update

I finally managed to run the game engine inside a browser (Google Chrome) after compiling it with the emscripten toolchain. As can be seen from the attached screenshot, I tested a minimal example that only uses one asset (a crappy analog clock that I created a long time ago), but I am satisfied for now. It is all I wanted to achieve with this little “experiment”.

This week I also worked on some engine code refactorings and added support for two useful libraries. The first one is termcolor and I use it to add colours to the log messages that the engine produces. It is only used internally on Debug builds.

The second library I added support for is Dear ImGui. This is a GUI library and I think it is very cool! I hope to use it to make the engine more interactive. The aim is to be able to explore the entity hierarchy from inside the game engine and to change things dynamically, i.e. change entity component attributes (e.g. the colour of lights) dynamically, add entities to the tree, etc. I think this is essential to speed up the development process.

I did a bit more progress on the TikTok video, but I honestly didn’t feel quite working on the video this week. I will go back to it next week.

Week 25 progress update

More Creators