Posts

Showing posts from November, 2015

Monty Hall Problem Simulator

Image
Have you ever heard abut Monty Hall Problem? Basically, it is kind of a brain teaser that has been named according to the host of the television game show called "Let's Make a Deal".

The starting point for this matter is the situation where there are three closed doors in front of you. Behind one door is a grand prize (money, car, whatever), and behind other two doors there is something less desirable (nothing, goat, etc.). Anyways, you have to pick one door. After selection is done, one door (with less desirable content) is opened for you. Now you have to decide whether you want to stay in your original selection or switch to other door.

There are conflicting opinions which choice is better, but but now you can try it yourselves using this free Android application: Monty Hall Problem Simulator. 
EDIT: Monty Hall Problem Simulator by WestSloth Games was removed from Google Play Store because of outdated API level.

This was a nice and relaxing weekend project for me, and I a…

Construct2 example: Local Leaderboard using array

Image
Friend of mine sent me a question how to create a local leaderboard for Top10 scores/times/results/whatever in Construct 2.

I want to introduce one simple way to implement leaderboard locally (no server required). Solution can be seen in this screenshot:


Brief description of the method used:

Save new score to variable for further use (in this case inputScore)Check if new score is greater than the lowest value in current array
=> If it is greater, replace lowest value with new score (inputScore)Sort array contents to descending order using this simple algorithm:
=> Take two consecutive elements from the array, starting from bottom, and compare them
=> If two consecutive elements are not in correct order, swap them
Basically, this is very simple to do if you understand how to access arrays in C2.

Have fun!

-Jussi.

Back to Unity3D

It's about two years since I last time tried to do something with Unity3D. At those days I did not have much gamedev experience. I just took some web based trainings and created couple of demos, but decided to use bit simpler tools for my first game projects.

So far I have created several Flash games with Stencyl, and couple of Android games using Construct 2. Although these games are pretty simple and silly, I feel my level of gamedev knowledge has improved a lot by doing these games from the beginning to the end.

Now I am trying to get familiar with latest Unity3D tool. I decided to start learning with free Unity 2D tutorial from Udemy. Obviously there are plenty of other trainings available, but this seemed like a good intro for using the tool.

My first impression is that there has been lots of improvements in Unity3D since the version 3 I was using last time. Somehow the tool seems to be easier to use now, or my skills have improved a lot in last two years. :)

I have a lot to …

Fledgling Gamedev's Guidelines

Here are some general guidelines that should help to get your first gamedev projects proceed, and even completed in a reasonable time.

0. Prepare to sacrifice your time and effort
Ok, you have idea for a game. But are you ready to make the effort to implement it? If you want to get your ideas ready, most likely you got to do it yourself. No one else will do it for you.

1. Start with something small and simple. 
If your first game project is large and complex, you probably won't finish it.

2. Select an engine that fits to your game. 
There is no need to shoot birds with cannon. Try different engines and use the one that fits for your purposes.

3. Create lots of prototypes and small games. Select the ones that work for further development. Gather experience on suspended and unfinished projects. 
4. Test the mechanics in early phase.  Find out if game mechanics is working as soon as you have working prototype. Try to define game's "fun factor" and ask what others think.  
5. …