logo

Gallery Test

This is a test post for photo galleries. These are some images I took with my microscope. I’m using lightGallery to render the gallery popup and rendering HTML with custom Hugo templates inspired by this blog post . The photos displayed here are retained under copyright and licensed under CC BY-NC 4.0 . Written exemptions may be granted to anyone who can figure out how to contact me.
One minute to read

Building a Replay System for Town of Salem

Town of Salem is an online multiplayer social deduction video game based on the Mafia party game. The game is characterized by rapid rounds of quick judgements and information asymmetries. Confusion is a resource, strategy is a sword, and expectation is a weakness. Being able to review previous games and study how each choice you made determined your opportunities and outcomes would be of great advantage in refining game skill.
9 minutes to read

Dear ImGui with .NET in Unity

Here’s how I was able to get ImGui working inside the Unity game engine from a .NET mod loaded with BepInEx . ImGui Demo window rendering inside Town of Salem ImGuiRenderingPlugin performs the heavy lifting of hooking the relevant graphics interface and acts as an ImGui backend. ImGui.NET is used as a wrapper around the native front-end provided by cimgui . Dependency Setup With BepInEx already installed, I built the example project and set up a post-build task to copy it to <Game>/BepInEx/plugins/ImGuiMod/Mod.
4 minutes to read