Singletons are a type of object used frequently in computer programming. As wikipedia says: …the singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. So that means you only have one of the class, and you can access it anywhere. Using a… Continue reading Games 101: Making Singletons My Way
Let’s talk gameplay. What’s the difference between, say, ‘gameplay’ programming and other programming? If you are developing a game, you might need to make lots of things: shaders, engine, lighting, modeling, animation, in-app purchases, banhammers, web sites, the list goes on. But these things do not a game make. Gameplay makes a game. Gameplay is what you… Continue reading Games 101: Coding Gameplay
This page is the portal into various game dev articles I’ve written. Similar to my Source Code Archive.
In an attempt to shamelessly get Project Search & Replace into people’s hands, I’ve created a free version: Project Search. Free Version: Project Search Like its bigger brother, Project Search allows you to search across an entire project but is feature limited: Replace is not available. Search Scope is not available. Search while the application… Continue reading Project Search & Replace: Free Version, More Videos, More Features
As I work on my Project Search & Replace tool I get to learn a lot about the internals of Unity. I’m currently adding the ability to search and replace prefab instances to the tool(edit: now out in v1.1!), and I’ve also written a free utility for prefabs (scroll down to the Prefab Hierarchy Inspector or check it… Continue reading Stupid Prefab Tricks
This is a post that I’ve been meaning to write for a while, mainly so that I can refer to it when someone can’t understand why I use SVN. So Git. Its the Golden Hammer of version control. Its really good for making Twitter so its great for games, right? It seems people are taught… Continue reading Why Git is Not Good for Games.
Working with animations in Unity has some quirks. Sometimes I will make an animation and I animated the wrong object. I might have realized I want to animate the container for an object, or accidentally animated the parent when I wanted to animate the child (this happens more often than I’d like to admit!). Unity does… Continue reading Howto: Remapping the Animation Hierarchy in Unity
Frequently people’s first foray into programming is in games. Sometimes developers come from other disciplines such as design or QA. Frequently I see the same programming mistakes occur due to a lack of understanding of basic data structures. I’ve made them, it seems everyone makes them. So I hope to spread some data structure love (using C#/Unity… Continue reading Games 101: Data Structures in Games
Archived code lives on here. Also migrating the code to Github so I can update things. I’ll do my best to keep this up to date. Mostly little things, helpers, etc. Whirlpool Shader This is the whirlpool shader talked about in this post. CopyRef Language: C# (Unity3D) I never remember how Resources.Load() likes its strings formatted.… Continue reading Hideout Source Code Archive
The latest version of the Project Search & Replace plugin is now available over in the Unity Store. The video below illustrates some of the new features such as: Search and Replace in your scene while the game is running! Search for usages of your MonoBehaviours! Duplicate search items. And if that wasn’t enough…its on sale… Continue reading Project Search and Replace v1.05 is out and 60% OFF!