2D Toolkit Forum

2D Toolkit => Support => Topic started by: Micho on August 20, 2013, 07:16:55 pm

Title: Problem with Whack a mole Tutorial
Post by: Micho on August 20, 2013, 07:16:55 pm
Hello!

I just purchased the Framework, and I'm starting with the Whack a mole tutorial.
I just finished the scripting stage, but when I run the game, it fails at random times. Leaving without running the example and Unity. Some times reached to hit once in a while to moles, but always fails. Happened to anyone before?, Sorry I can not give more descriptions about the problem, but I can not think that could be, I followed the tutorial to the letter.
Beforehand thank you!

Greetings!
Title: Re: Problem with Whack a mole Tutorial
Post by: unikronsoftware on August 20, 2013, 07:25:35 pm
Have you compared your project with the completed unitypackages? You can download completed unitypackages at the end of each page of the tutorial.
Title: Re: Problem with Whack a mole Tutorial
Post by: Micho on August 20, 2013, 08:25:03 pm
Just try with the version of the tutorial and this works perfectly. I will compare it to my project and I'll see what the difference is.
Thanks for the quick response!.

Greetings!
Title: Re: Problem with Whack a mole Tutorial
Post by: Micho on August 21, 2013, 01:42:14 am
I fixed it. Do not know why, but when I added more moles on the scene, it worked. At first I had only one mole and that's when failed. The reason?, No clue, i think it was for the script. I'll look in detail later.

See Ya!