Number Wizard 2: The Revenge

I challenged myself to expand on the game some. The computer can guess your number, or you can guess the computer’s number. (I definitely sought out some others’ work to make this happen.) I’m still trying to figure out some of the code I used.

Number Wizard 2: The Revenge

…not sure why WebGL is not working for the one option. Here’s the Unity 4.6 Web version:

Number Wizard 2: The Revenge

Good twist being able to guess the number, I can almost see in my head how you’d do that in code so I must be learning something!

Try using GameDev.tv’s sharing service instead for WebGL;

Nice job! I really liked how you switched it up and letting the player guess. Again, great job!!

1 Like

I tried GameDev.tv service. I got the same error messageUntitled
Found this fellow that had some problems: https://community.gamedev.tv/t/solved-uncaught-abort-at-error-crashes-my-numberwizard/26754
(There you are Rob!)
So I played around with it in Unity 5.6. I did find an error code that was pointing to a few lines, though it wasn’t entirely making sense - saying I wasn’t referencing an object that I’m pretty sure I was.
Felt like I was simply jiggering things rather than knowing what I’m actually doing…
But I tightened the code - got rid of a method that I think wasn’t being used. Finally got it to work:
http://www.sharemygame.com/share/9c7c7755-c8c3-47c8-97bb-ca91497c455a
Apparently the other builds have a tolerance for my awful coding.

1 Like

Sounds like the error you found was the issue, well done for resolving it yourself :slight_smile:

Privacy & Terms