At 2/26/21 10:08 AM, 3p0ch wrote:
At 2/25/21 04:46 PM, Titilonic wrote:
Edit: Splitting the for-cycle from the ngio.callComponent('Medal.unlock' kept the right Medal but it still failed.
I'm not sure if it's something Wick-specific. When I did medal unlocking in Phaser (which is JavaScript) I vaguely remember running into issues and ultimately got it working with a far simpler approach. This code unlocked any of three medals if conditions were met:
The only way to verify that the medals are working with this approach is to go to your project page on NewGrounds where your medals are listed and see if right now they still say something along the lines of Untested and then change to Approved after you run the game with that code.
I see. Thanks, I'll try it without return messages.
At 2/26/21 10:08 AM, 3p0ch wrote:
At 2/25/21 04:46 PM, Titilonic wrote:
Edit: Splitting the for-cycle from the ngio.callComponent('Medal.unlock' kept the right Medal but it still failed.
I'm not sure if it's something Wick-specific. When I did medal unlocking in Phaser (which is JavaScript) I vaguely remember running into issues and ultimately got it working with a far simpler approach. This code unlocked any of three medals if conditions were met:
The only way to verify that the medals are working with this approach is to go to your project page on NewGrounds where your medals are listed and see if right now they still say something along the lines of Untested and then change to Approved after you run the game with that code.
I see. Thanks, I'll try it without return functions.