# How to level up in a game

**URL:** <https://community.thunkable.com/t/how-to-level-up-in-a-game/563846>\
**Category:** Questions about Thunkable X\
**Created:** [April 21, 2020, 11:45am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846 "2020-04-21T11:45:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqbandara11xvit](https://avatars.discourse-cdn.com/v4/letter/i/ac8455/32.png) [@iqbandara11xvit](https://community.thunkable.com/u/iqbandara11xvit)\
**Post date:** [April 21, 2020, 11:45am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/1 "2020-04-21T11:45:33Z")

</div>

I am developing a game.  
In this game, there is a final value called “Total Points”  
i want to level up the player when he get more than “total points” over as i decide for each level target.

Eg: **Level**** Minimum Total Points Target**  
…1…500  
…2…1200  
…3…2500  
.  
.  
.  
.

…20…35000

How Can i do this.  
Please Help…

---

<div class="post-metadata">

**Author:** ![Garry\_Lane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/garry_lane/32/58057_2.png) [@Garry\_Lane](https://community.thunkable.com/u/Garry_Lane)\
**Post date:** [April 21, 2020, 2:10pm UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/2 "2020-04-21T14:10:07Z")

</div>

Create a variable called something like Total Points. Set it at 500. Then set an "if Total Points=\>500 then set player level to player level +1 and set Total Points variable to 1200. Rinse and repeat. Incrementing with each level.

---

<div class="post-metadata">

**Author:** ![iqbandara11xvit](https://avatars.discourse-cdn.com/v4/letter/i/ac8455/32.png) [@iqbandara11xvit](https://community.thunkable.com/u/iqbandara11xvit)\
**Post date:** [April 22, 2020, 3:43am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/3 "2020-04-22T03:43:59Z")

</div>

thanks for replying garry.  
…  
.  
.  
Oh ! It’s Worked !!! 😀 😇 🤩  
How nice.  
You Saved Me Mr. Garry Lane.

Thank You Very Much.

---

<div class="post-metadata">

**Author:** ![Garry\_Lane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/garry_lane/32/58057_2.png) [@Garry\_Lane](https://community.thunkable.com/u/Garry_Lane)\
**Post date:** [April 22, 2020, 5:55am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/4 "2020-04-22T05:55:04Z")

</div>

Not a problem at all. Happy to help, any further issues just let me know. 🙂 I am toying with gaming functions at the moment too, bits and pieces of games here and there, having fun solving issues just like this 🙂

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 22, 2020, 3:21pm UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/5 "2020-04-22T15:21:01Z")

</div>

You can do this more efficiently with a list. Make a list with your points values (500, 1200, 2500, etc.). Then have a rule that says If Total Points \> get list item # Level, then change Level by 1. You would either need to have this in a forever rule that constantly checks (not recommended) or in every rule that adds points to your score.

---

<div class="post-metadata">

**Author:** ![iqbandara11xvit](https://avatars.discourse-cdn.com/v4/letter/i/ac8455/32.png) [@iqbandara11xvit](https://community.thunkable.com/u/iqbandara11xvit)\
**Post date:** [April 23, 2020, 11:04am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/6 "2020-04-23T11:04:46Z")

</div>

Thanks tatiang.

I will add your method to use. 😀

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:31am UTC](https://community.thunkable.com/t/how-to-level-up-in-a-game/563846/7 "2024-11-08T11:31:51Z")

</div>


