Category: Programming

  • Creating a cutout shader for doors and windows

    For the game I’m currently working on is a 3D isometric management game where you build rooms on a spacestation. The rooms and spacestation are made up of a series of tilesets so the player can effectively paint out the rooms in any size and shape they wish and the wall tiles are snapped together and…

  • Why is Physics.UpdateBodies using up so much time? 20ms to 2ms

    As part of performing some initial prototyping and load testing for our next game we had to determine how to implement the physics system. For our game we required a dynamic world and the ability to simulate 100-500 agents. That kind of target is right on the edge of needing to write a bespoke system so as…

  • Edit and Apply registry settings via PowerShell

    The video game Diablo 3 is a great game, however due to its extremely vibrant and chaotic particle effects during fights it can become very difficult to see the mouse cursor. So I’ve written a quick script for Windows users to turn on mouse cursor trails in Diablo 3. It will automatically disable the trails…

  • Using Git with 3D Games

    Git can work fine with 3D Games out of the box. However the main caveat here is that versioning large (>5MB) media files can be a problem over the long term as your commit history bloats. We have solved this potential issue in our projects by only versioning the binary asset when it is considered…

  • Collaborative Code Design

    When working within a team of programmers I have always found that maximizing collaboration between programmers in the design phase has great benefits down the road. Even if a programmer isn’t expected to work within the implementation of a specific design I find they still get great value out of knowing, at least at a…