Timeline for Increasing resources overtime for a browser-based game [duplicate]
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23, 2014 at 22:07 | history | closed |
bummzack congusbongus Anko Seth Battin House |
Duplicate of Game resource timers - general implementation | |
Aug 30, 2014 at 11:45 | answer | added | DutchEcho | timeline score: 0 | |
Aug 28, 2014 at 9:46 | comment | added | AturSams | The other method is not very complex, you simply need to keep track of the last time and the last amount of gold and update that when production rate changes and or when a player makes a transaction. Updating every second might be unneeded overhead but updating whenever the player makes a transaction is just like that ides of using a goldModification (which is uneeded). Just make sure that changes in production rate require a transaction or use a cron job that handles these. | |
Aug 28, 2014 at 9:30 | answer | added | AturSams | timeline score: 2 | |
Aug 28, 2014 at 6:07 | review | Close votes | |||
Sep 23, 2014 at 22:07 | |||||
Aug 28, 2014 at 2:44 | history | asked | Saturn | CC BY-SA 3.0 |