# How do I modify the probability of my rewards?

0 favourites
• 8 posts
From the Asset Store
Give your players time based rewards, checks how long player has been away to display time remaining to reward.
• Hey,

I am trying to make a wheel of fortune (lucky wheel) game, where there are 8 prizes (Refer to image below).

Now I'm using construct.net/en/forum/construct-2/how-do-i-18/spinwheel-wheel-fortune-124258 this as a guide, and currently there are the probability of the pointer landing on the each of the boxes is exactly 12.5%, which totals up to a 100% (fair chance). Is there any way I can change this probability without changing the size of the wheel? (All sizes of the wheel remains the same, but altering the chances to something like (The probability of landing on "1" is 50%, 2 is 20%, 3 is 10%.. etc.

• You could have 8 different and fixed torque numbers. Each number will always land on a specific spot.

You could then make a weighted array with indexes that link to the specified torques, like [1,1,1,1,2,2,2,2,3,3,3,4,4,4,5,5,6,6,7,8] and select a random index from this array.

Since the torque is always the same, and the landing spot of the torques are always the same, your weight array (or probability table) is the thing that will determine the landing spot.

You could also increase the number of possible torques to give a more random feel to the process.

All said and done, this is probably a bad thing to do. It is better to always be clear about the mechanics with your player unless you are dealing with some sort of trap or puzzle piece.

If you are dealing with gambling applications it is even worse, and not disclosing this to the public could be considered a rigged game and could result in felony charges depending on local legislation.

Just be mindful of when and how you use a mechanic that is counter-intuitive to the player, even more if there is monetization in the process. Remember that in some countries lootboxes may soon be gambling, so the market and the law are changing.

This might be way off of your purpose, but it never hurts to inform due to the nature and design of the wheel of fortune.

Cheers!

• You can Use my tutorial , you will see on start of layout , when choosing the speed , just repeat the values you want to show more ,ex : choose ( 1005,1005,1005,1005,1013 etc..) the number 1005 is 4 times more likely to appear than 1013 , or you can use advanced random plugin !!

• Hi,

if you haven't already, you can check my newest tutorial on probability tables:

cheers!

• Here is my version, you can choose any number and the wheel will spin to it.

dropbox.com/s/urehb4tsgeq816j/WheelOfFortune_Predictable.c3p

• Here is my version, you can choose any number and the wheel will spin to it.

https://www.dropbox.com/s/urehb4tsgeq816j/WheelOfFortune_Predictable.c3p?dl=0

Do you still have the WheelOfFortune_Predictable.c3p example? Could you share with me?

• ## Try Construct 3

Develop games in your browser. Powerful, performant & highly capable.

Construct 3 users don't see these ads
• Many Thanks dop2000

• 8 posts