
0
Answered
Profit per Minute Calculation
Hi there,
I am buidling an Industry Management game solely using Bolt and have setup all the core mechanics for the game. I am now wanting to setup a Profit per Minute display to show the user how much money is being made per minute.
I have a feeling that I need to be using time.deltaTime in my calculations but have not figured out a way to do so. I have also tried running a flow to check everytime the GlobalMoney variable is updated but the PPM still is off by a massive margin.
Has anyone done this before, if so how should I proceed?
Many thanks in advance,
Ed.
Bolt Version:
1.4.5
Unity Version:
2019.2.0f1 Personal Edition
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Customer support service by UserEcho
I was able to set it up as below. I used the current profit variable divided by the timer speed to get my profit per second, multiplied by 60 to make it 1 minute.