Unity Optimisation Basics Part 3

Tags Which of the following should execute faster? [crayon-5a8a0d698b614588080368/] If you guessed any of them, you are wrong. That's right, calling them 10000 times a second there is no single method that consistently executes faster than the others. (Not entirely...

read more

Unity Optimisation Basics Part 2

Math is hard Currently in JSD, the Seeking missiles are taking up WAY more cpu per frame than I would have anticipated. As much as 30% of the total cpu load per frame when there's about 40-60 of them active. This is pretty much all its doing....

read more

Readying something for the AssetStore – Part 1

So I decided that since I often want the same collection of features in all my Unity projects/protos I should bundle all of that together into a lib and make it available on the asset store. These things being Splines, Easing, Pools, Live csv data and a few others are...

read more

Unity Optimisation Basics Part 1

I recently decided to run the unity profiler over JSD and see what could be improved, this is just a quick review of my findings. Searching is bad. I already avoid all Find and GetComponents when ever I can so there weren't many of them to find. I don't recall if it...

read more

Unity in a Repo

I've thrown together a quick little google doc of how I use source control and unity together. This isn't complex but I found in a quick google that a simple guide was hard to locate. It deals much more with how I use unity in a repo it is not meant to be a guide of...

read more

Just Asteroid Dammit Core

Didn't get to spend as much time on this as I would have liked. But we do have a ship and asteroids and sub asteroids spawning and floating around with the 2d physics system. I made them all super bouncy by adding a PhysicsMaterial2D as the default material was a...

read more

Basic sort algorithms

I have an exam coming up for my Grad Cert. It covers a bunch of data structures and algorithms as well as Java. I don't know about you but what I remember about the internal works of search algorithms is minimal, because they don't tend to affect my day to day life, I...

read more

Just Invaders Dammit Core

Next up was space invaders. Try it here With this one the its a few little tricks that are to be learned from. Don't want the player to go off the screen? Well there's heaps of whats to get that to work but for a core gameplay prototype, just put a clamp in there and...

read more

Just Flap Dammit Core

I posed my new Scripting for Game Development students with creating a core prototype of Flappy Bird. Doesn't take too long to get the core running and its well under 100 lines of code. You can try mine here For me, the trick at this point to getting it to feel even...

read more

JSD PA4

Updated JSD or in a few hours according to android dev console. Game now pulls data from live google spreadsheets and uses NGUI for much slicker GUI. You can now also incrementally refund any upgrades purchased instead of just refunding everything...

read more