My fellow clickers, I am beyond confused by own doing and am turning to you for help. I am trying to make a progress screen for my game. After a level is complete, it jumps to the progress screen and runs a fast loop to compare values in the INI with requirements to unlock trophies and in-game rewards. Upon getting a reward, you are given the option to Continue or return to the Main Menu. If you hit continue, and there are more rewards, it is supposed to give you the next reward. If there are no more rewards to give or no rewards to give at all, it is supposed to load the next level, a random number between 11 and 50. Here is where my problems are:
- On the "trackTrophies" loop, if no rewards are to be given, it should run the "All Set" group and load the next level. It doesn't.
- After receiving a reward, if you click continue and there are more rewards to give, it should instantly show the next reward info by refiring the "rewardTrigger" alterable value on the "celebration" object. It does reset this value to 1, but does not change the on-screen info.
- If there are no more rewards to give, it should run through a check to see which levels are available and jump to the next level. In terms of testing the frame, it should just close. It doesn't.
I have attached the screen MFA in question in the ZIP file. If you hit play, the screen is supposed to instantly close, but as you can see, it does not. If you reactivate the Start of Frame line under the "Hax" group you can see the trophy and a single reward animation, but hitting Continue does nothing.
Right now only the Tier 1 rewards are coded even close to correctly, so I will have to go through and fix the rest of them (tiers 2-5) once these three parts are working correctly. Then I'll likely have to make adjustments for Steam later on but that's a few weeks away, and will just require replacing INI calls with Steamworks calls. In the meantime I am only concerned about getting it to work locally.
Please help, Clickers! I am banging my head against the wall on this one.