Unity BatchMode Console

If you’ve made a game that has a dedicated server in Unity using -batchmode you probably noticed that when you use Console.Print it doesn’t print to the console. And it’s pretty hard to make it happen. So here’s a couple of classes that we use in Rust’s dedicated server. This is Windows Only. Download them …

9 reasons why I LOVE C#

I always enjoyed coding in c++. But coding in C# makes coding in c++ feel like coding in assembly. Here’s 9 reasons why I love it. No Headers It’s not until you stop using headers until you realise how stupidly archaic they are. Var Using var means you don’t have to actually declare the type. …

Serializing Shit

So I was looking at serialization yesterday. Here’s what I have found out. What Is Serialization Saving your classes to some format that you can rebuild them from. So, say for example in Rust you have a box filled with stuff and you want to save your game.. you need some way to save that …

Unity Viewmodels

We have some nasty hacks in Rust. One of the nastiest, most intrusive hacks is the viewmodel system. The Usual Way The common sense way to render a viewmodel would be how games have pretty much always rendered viewmodels. Right before rendering them, clear the depth buffer then render. You clear the depth buffer so …

Baby Gadgets

Before Alex I had no idea what kind of stuff we had to buy for him. Now I’m a well educated expert. Here’s what to spend your money on.   Get this book. I’m not gonna link to it because I don’t want people to think it’s an affiliate scam. But basically this book will …

Valve VR Demo

A lot of people asked me to post about what happened in the VR demo. Valve say it’s cool to talk about.. so here we go. I was initially under the impression that the demo took place in a wardrobe because they had a black curtained off area about that size with VR ROOM written …

Steam Dev Days : Day 2

Here’s what I learned in the second day of Steam Dev Days. Trading is something we need to do for Rust. This is something we really need to think about exactly how we go about it.. but trading adds an infinite amount of value to the games it’s added to.. and that value is multiplied …

Steam Dev Days Day 1

I’m gonna make a summary of things that I feel like I’ve learned from SDD, day 1. I don’t know how much I’m allowed to say, so I’m only really going to reveal shit that I’ve seen elsewhere (mainly on twitter). The steam controller is going to be a thing. I’d kind of dismissed it …

Catchup

I haven’t blogged for a while because I’ve been a busy bugger. People have started to email, text, tweet and comment asking me to make a post. So here it is.