The game started, but when I engaged a combat I got an exception:
Be the hero that saves the land from the evil ninjas!
I started this project over 1 year ago as just a testbed for ideas I had, there was no real game only code and two scenes to test it out ... and then I didn't touch it for about 8 months. When I came back to it, I realised I had a lot of solid code in this project (I had a combat/health system, AI, inventory and so on) and decided I should put it to use, so I cobbled together some levels to show off the different things I had made. Although I must admit I went a bit into the weird end with this game.
Log in with your itch.io account to leave a comment.
That's not good! I have tested it pretty extensively and haven't seen any errors and I can't seem to replicate it on my end yet. Thanks for that though, I'll look into it. For now, can you try a different browser and tell me if that helps?
Did you do anything else notable prior to engaging in combat?
The exception was with Firefox 51.0.1, I just tried again and it happened at the same moment, I think it is when the enemy is defeated that the exception triggers.
I have this in the log:
Error: WebGL: blendEquationSeparate: modeRGB: invalid enum value MAX 2d2555a2-791c-4860-8c53-09a13266c295:1:196538
Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings) 2d2555a2-791c-4860-8c53-09a13266c295:1:196538
Pseudo Tracepoint: Damage being modified
I can't replicate it but this was built using an old unity version and other people can play it fine so it is probably a very odd & rare engine bug that has now been fixed in later versions.
Despite this, I have a rough idea of what may be happening...
Can you please hit the enemy 3 times, then allow yourself to be hit, and then hit the enemy 1 final time?
When you hit an enemy 4 consecutive times without being hit yourself, it enables a 'combo mode', making your head and weapon turn red and it modifies the damage that your weapon can do in the next hit. I'm pretty sure that it is the visual stuff that comes with the combo mode that is causing the error.
So if following my advice above works, then as you play the game just remember not to make 4 consecutive unbroken hits and understand you won't be able to enter the combo mode :)