Category Archives: Computer Games

Looking at unity

Digging into the unity engine this weekend. Reading and watching some YouTube videos. Looks like it uses dependency injection pretty extensively with a rather slick UI wrapped around things.

I’ve gone through enough to see how a basic set of objects gets created and scripted in the UI interactively. I’m now on the hunt for methods for creating templates for objects and then creating instances of those objects programmatically. I’d like to be able to modify the geometry on the fly as well, but that isn’t really needed immediately.

I’m thinking of wrapping together a small wargame that draws its inspiration from stellar conquest. Same basic structure but with no copyrighted material pulled over. The system level combat also likely wants to be automatically resolved to make offline, turn based play smoother. The player is the general/admiral directing overall strategy. The in-system combat is handled locally and the player only sees the end result.

Far more reading and experimentation to be done. I also need to be able to bolt in much more complex C# code on the back-end to implement the rules management (or push that to the PHP code on the server perhaps and make this all pull together. Should be an interesting run.