Unity Tips 2

OnValidate You know when you make a component, then you add it to 35 prefabs, then you add another value to it and it needs to be initialized or something. That sucks eh? Well OnValidate gets called (only in the editor) every time you save or edit your component. What’s cool is that if you …

Unity Tips

Here’s a few generic programming things we use in Unity to make our lives easier. These might be useful to other people. Singleton Component GameManager, SteamClient, yadda yadda. You probably have a component somewhere where you only want one of them and you probably want to get access to it from everywhere for some reason. …

Godus

Positivity To be a successful at anything you need to be blind to a certain level of negativity. You need to be forward looking, positive, confident in your own opinions.. and most of all you need to be excited about what you’re working on. This is what Peter Molyneux’s special ability is. It isn’t a …

Paying for Mods

There’s a lot of craziness about paid mods, a lot of people who don’t know how they feel. It’s probably no big suprise that I’m all for it. I sold a mod once and everyone was angry that it was happening, until it happened and they got a much better product than they’d have gotten …

Leafblower

A while back I received a parcel. Inside was a leafblower, a steam cleaner and an extension cord. I hadn’t ordered any of these things, but the box was addressed to me. So I assumed someone on the internet sent them me as a joke. A leafblower – because there’s a leafblower hidden in GMod. …

Garry’s Mod is 10 years old

10 years ago I was 22. I was living with my parents. I made a mod for Half-Life 2. It’s funny because I had no idea what I was doing. I didn’t use any source control. If I did something that resulted in a crash and my undo buffer didn’t fix it I ended up …

Selling Out

The whole Minecraft being bought by Microsoft thing is stirring up a lot of anger and stupidity towards pretty much everyone involved. The things that matter on the internet and the things that matter in reality are completely different. Once you start hiring people your whole attitude changes. You’re not just fucking about with your …

One Year On

A year tomorrow Alex was born. You can read more about that here and here. In a lot of ways it seems a lot longer than a year. It’s hard to believe there was a time that he didn’t exist. Looking back it’s incredible to see how much he’s changed. He went from a dark …

I fell out of love with Lua

I used to like Lua a lot and now I don’t. I think anyone intending to add a scripting language to their game/engine should seriously consider using Javascript instead. This opinion isn’t based on anything logical like speed or implementation. Lua has served us really well in Garry’s Mod in terms of both speed and …