Building an Idle Clicker Game in Unity - Full Project Example
In this video I will discuss how we can create an Idle clicker game in Unity on a full project example that you can download for free using the link below. We will talk about the Math needed to create an Idle clicker. We will also discuss the game code architecture that we can use to implement a game like this in Unity.
Grab the project files at:
courses.sunnyvalleystudio.com/
Play the game here:
svstudio.itch.io/alien-invasi...
Assets used:
mattwalkden.itch.io/free-robo...
Game shown at the beginning:
orteil.dashnet.org/cookieclic...
Articles:
tech.innogames.com/dealing-wi...
www.gamedeveloper.com/design/...
You can support me through Patreon:
/ sunnyvalleystudio
Join the discord:
/ discord
00:00 What are Idle Clickers
00:50 Download the Project for Free
01:12 Math and Balancing
03:44 Designing Idle Game in Unity
05:00 Project structure
06:26 Code architecture design
07:32 Connecting scripts using Events
09:42 Using Scriptable Objects for data storage
10:05 Visuals and Animations
10:50 Using Spline for grenade attack
11:31 Storing Big Numbers in idle games
Пікірлер: 21
Thank you. Trying to make an idle game tutorial as my last hurrah in Unity before deleting it for good. This gives me the info to make the numbers work, and some ideas for my own.
@SunnyValleyStudio
2 ай бұрын
Glad I could help! 🙂
looks nice again. cant wait for the game architecture how u will manage the classes and structure of the project
@SunnyValleyStudio
Жыл бұрын
Thanks! I hope to release a longer series about it but for now I talk briefly about the architecture around 6:26 🙂
@bigcub8925
11 ай бұрын
@@SunnyValleyStudio hi would love to see the longer series. Would you consider making a course out of this? I'm in your farming course and turn base course, I'd totally take the Idle course as well.
Thank you for this, can’t wait to try it out!
@SunnyValleyStudio
6 ай бұрын
I hope the project is useful to you 🙂
Thanks I will definitely check out the template!
@SunnyValleyStudio
7 ай бұрын
I hope it is useful to you! 🙂
I'm a simple man... I hear "math", I like.
@SunnyValleyStudio
Жыл бұрын
Math plays a big role in the design and balancing of Idle games 👍 It can be surprisingly interesting if put in the context of video games 😄
@rmt3589
3 ай бұрын
Same, tbh.
Excellent work! I was going to start my own commercial project, can I use this project as a base and then modify it? (to my taste obviously)
@SunnyValleyStudio
Жыл бұрын
Sure. Feel free to use it for any commercial game. Its CC BY 4.0 licenced
you got the income/cost graphs wrong, they're the same graphs, it's just tha the second one has the y axis scaling logarithmically instead of linearly so the exponential cost scaling seems linear while the linear income scaling seems logarithmical
@SunnyValleyStudio
2 ай бұрын
Sorry about that!
Is there a setting / a way to make each particle be rendered based on its own pivot? Hey can you get answer of this question? I still finding when I see your questions in unity forums If you get answer please tell he how to do this
@SunnyValleyStudio
Жыл бұрын
Hey! As far as I can tell in Render module you can specify the pivot of all particles. I am not sure what you want to achieve though. One fix could be to have a texture sheet (animated particles) and use Sprite Editor to modify the pivot per each tile (not sure if it will work though). Another solution might be to use a different renderer mode (like mesh) ? Again not sure what you want to achieve.
@nileshkumawat6730
Жыл бұрын
@@SunnyValleyStudio thanks for reply
Now we're cooking with gas
@SunnyValleyStudio
Жыл бұрын
Thanks for watching 👍