Blicke – New Game with Demo Available

In the last few months I am developing a new puzzle game for iOS and Android.

I present you Blicke!

Blicke is a unique puzzle game in which you have to slide the blocks across the board to take each one of them to their target. Each block matches its own color.

The game is almost complete and it will be released in a few weeks, but you can play the web demo and try it now! Continue reading

Unity – Reusable Singleton Tutorial

Singletons are very useful in Unity. They can be used to store variable values and keep it after changing Scenes, e.g.

I like to use a MyApplication class as Singleton in my games, managing all variables, objects and configurations that need to persist throughout the game.

Searching for Unity Singleton Patterns on Google, most of the time you will find:

  • Simple and small codes, but with some issues;
  • Long codes that make your classes “dirty”.

But then I found a cool pattern in this wiki

I took this pattern, made some changes and now I share here what I called as Reusable Singleton.

It’s a Singleton design pattern that can be reused extending it on subclasses. Using this script, You will not need to write the singleton initializers in your classes. Just make your class extends Singleton and it will automatically have the singleton features! Just 1 line of code! Continue reading