hey guys, I am working on a clicker game as a way to get used to the Unity workflow before I work on a bigger project.
I am planning on implementing a feature like Cookies Per Second in cookie clicker, which is a certain amount of cookies you gain every second automatically while the game is running. I want the number to constantly be ticking up like cookie clicker every frame.
#Clicker game production logic
1 messages · Page 1 of 1 (latest)
I am thinking at the start of each frame, it should calculate the amount of time since the last frame (using system clock or something) in seconds and then multiply that amount by your cookies per second. Then add that number to my cookies.
Wondering what I would need to add to get this working