A while ago I was attending the Global day of Coderetreat in Zurich. It is a day long coding practice event. Attendees work together in groups of two. In each session we coded the kata “game of life” from scratch puttygen , each time with different constraints. The constraint I found very interesting was this: Continue reading
c#
Localization TextManager for Unity3d
When trying to add localization to my mobile game Level It! for Android I wanted to use the .net resource manager but unfortunately got a weird error message from Visual Studio. Apparently this is not supported with Unity3d. This post describes a simple text manager to do the localization with Unity 3d. My starting point Continue reading
#define private public
The other day I was talking to a friend and he told me about something he was doing. He has a C++ dll and the according h-file. Now he wanted to access some private methods in the dll. There is no reflection in C++ and he does not have the source code. How can you Continue reading
How to Run a Coding Dojo at your Working Place
Would you like to run your own coding dojo? This year one of my goals is to run at least one coding dojo at my working place. So far, I run two of them and would like to share how I did it from inviting the participants to running the dojo. Hopefully others find this Continue reading
Sound of Crashing Tower in “Level It!” with Unity3d
My mobile game Level It! has towers built out of a few hundred small wooden blocks. When hit the tower falls and a crash sound plays. In this post I describe how I programmed the crash sound in Unity3d. First version of the crash sound: no sound dynamics and too slow Every time a Continue reading