Author Topic: Creating Missions & Rank System  (Read 331 times)


  • Full Member
  • ***
  • Posts: 166
    • View Profile
Creating Missions & Rank System
« on: November 02, 2018, 11:41:50 AM »
Hi !

I created global variable for Number of Jumps, Total Jumps , Number of enemy killed , Total kills, Number of Coin Collected, Total Coins collected.

I use Binary Load & Save to store TOTAL values.

Now, To reach Rank 2, Player should do these things.
1. Jump X times in Game (add "1" to Int variable rankCheck)
2. Kill X enemies in Game (add "1" to Int variable rankCheck)
3. Collect XX Coins Total (add "1" to Int variable rankCheck)

Once done, Will do Int compare, If rankCheck is equal to 3, It will send an Event called Rank 3 reached.

Will repeat this until Rank 30. Total 90 Quests.

Is there any easy way to do it ? I just newbie. So, I have to do lot of state machines to get every function done.



  • Administrator
  • Hero Member
  • *****
  • Posts: 4545
    • View Profile
    • jinxtergames
Re: Creating Missions & Rank System
« Reply #1 on: November 02, 2018, 02:15:14 PM »
You can use arrays probably.

You could have a array (bool) to see if a rank is reached then a 2nd array (string)
for the event name.
and use 'send event by name' and maybe a 3rd array (int) to set the next level jumps needed.