Meet Wrathy the cute Bear. He really loves to dance. A sneak peek at our upcoming project 😉
Music, art, and animation were done by me
All rights reserved by @projectdebugdev and @MunStudios#pixelart#ProjectDebug#Stickers#indiedev
Meet Ted, a high school student who is also a professional fighter. The type of guy who beats the bullies.
Redrawn my 1st original character from a year ago.
#pixelart#8bit#pixelartist#gamedev#indiedev
#UnityTips This is one pattern to distribute workload of multiple instances calling an expensive function.
Call a coroutine with a random delay offset and then start an InvokeRepeating with your expensive method.
#coding#gamedev#indiedev
C# interfaces can be tricky in @unity3d since an interface reference will NOT be null even if the Object is destroyed.
Use this base interface + extension method trick to make it easy! #unitytips#gamedev#indiedev#madewithunity
I recently discovered the nameof() expression in c#!
It's handy for creating custom inspectors, since they often require referencing a field by its string name.
With nameof(), if you refactor that name, you don't need to also update a hardcoded string!
#gamedev#unitytips
#UnityTips You can use extension methods to add functionality specific to a particular enum type.
In our example we use an enum to define neighbors on a square tiled board. And we add quality of life methods to the enumeration.
#csharp#indiedev#gamedev
#UnityTips Of course it is very good to know how to get from degree to radians ( rad = deg * PI / 180 )
But you could also use one of the constants from the Mathf library ( Mathf.Deg2Rad )
#gamedev#indiedev
#UnityTips Today two functions to return random points on a circle & a sphere, given a radius.
We wanted to highlight two very useful methods in Unitys Random class.
#coding#indiedev#gamedev