Hi all,
Thank you for taking the time to read.
I am making an item pickup game with each level on a countdown timer. Various item pickups have a points value and a time add value. i.e. every pick up grants bonus seconds. small items give 1-2 seconds, big items give 10 seconds. etc.
I test with 3 pick up items A, B & C. Each has 20 seconds, 40 seconds and 60 seconds bonus upon pickup (I am using big numbers so I can visually see the timer change). Each also has different points values.
Problem:
The points get added correctly. The time does not. If I pickup in order A, B then C then the time bonus is stuck at 20 seconds for each.
If I pick up in reverse order C, B then A then a weird thing happens. The correct time bonus is applied from C (60 secs) but B then A minus 20 seconds each.
The player should be able to pickup in any random order.
I believe I am using the same method of acquiring points as acquiring time so they should both work but they don't. Points is fine, time is not.
Image01: Item Pickup shopwing points (working) and Time(not)
Image02: Time Manager game object
Image03-04: Player object Pickup Manager
It's been quite a few days now and I am willing to try anything. Any help would be super awesome.
Thank you in advance.