formula for adding coin depends on 2 thing

Get help using Construct 2

Post » Sun Jan 31, 2016 12:31 pm

hi
my game have 3 resources : coin , medal , level
player1 have: 100medal , 10level
_
when player1 win the game : game must add coin to him but it must be depends on medal and level of player1 and player2
base formula : add level*10 coin to player1 so add 10*10=100coin (so if medal and level of two player be equal then player1 get 100 coin)
but i want if player2 have more medal and level (like : player2: 200medal , 20level ) then player1 get more coin something like 200coin (number must depends on medal and level)
_
and if player2 have less then player1 medal and level (like : player2: 50medal , 5level ) then player1 get less coin something like 50coin
what is the formula !?
B
16
S
6
Posts: 243
Reputation: 1,755

Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 14 guests