
Clicker Game Tutorial Unity C#, Part 4
Simon Something
Views: 31996
Like: 207
Mini tutorial explaining how to make the gold per second trickle in smoother instead of just updating once per second.
Don’t forget to like, comment and subscribe to my channel let me know what you would like to see next!
If you have any questions don’t hesitate to PM me or leave a comment. Thanks for watching!
01.12.2021
I don't know why, but the gold counter gets very inaccurate after this code. I checked it with a stopwatch and when it is supposed to gather 10gold/sec it takes about 13seconds to gather 100 gold and when it is supposed to gather 100gold/sec it takes also about 13 seconds to gather a 1000 gold. It's really strange. When it refreshes the gold counter once a second than it is accurate. Anyone know a solution to this? It looks way smoother when it counts every frame or tenth frame instead of every second but when it makes it so inaccurate than it's useless.
Very useful and interesting tutorials indeed. Subscribed. Keep it up!
Do you think you could make a tutorial on how to make the buttons light up when you can afford them or change colour when you buy them? Thanks for all the tutorials, they're very helpful! Keep up the good work!
Very nice tutorials! Something I'd like to see is how to add animation loops to this. Button click = gold coin dinging up! Might be a fun idea. 🙂
having an issue where I duplicate a button to make a new upgrade it doesnt get added to the GPS. what i did. Duplicate, then change the name in the inspector and in the item manager inspector in unity
I'm pretty sure if you added "cookie clicker" in the title or tags you would get a lot more views. Anyways great tutorials thx!
How would you fix this in Unity 5?
How did you code it so that you can see how much of that upgrade you bought
How did you code it so that you can see how much of that upgrade you bought
Yo Simon , im woundering how you made the "level" count. Awesome series and content! Thanks! (If you would mind helping us, i would appreciate it!
How do I make the buttons look like progress bars? What should I look up to so I can make this?
Another Great video Simon <3
Another good tutorial 😀
For those using decimals in your game, don't format it with .ToString("F0");. Format it with Mathf.Floor(gold).ToString();
The reason this is better is because using the method described in the video rounds up the number, so it might display you actually having 15 gold while you in fact may only have 14.5. Using my method it will only display 15 when you in fact have 15.