Prestidge button for a clicker game help?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tigerbolt5

Hi was wondering if anyone has tried making a prestige button for a clicker game in Godot before. I’m fairly new and have no idea where to start if anyone has experience of knows of a good source that would be greatly appreciated.

:bust_in_silhouette: Reply From: JimArtificer

Assuming that you are referring to a button that resets one’s progress but with a permanent bonus, this is fairly simple. It is about combining some elements that you will need to build along the way.

Your clicker game will already have:

  1. A way to start a new game
  2. Buttons that modify the player’s state for upgrades
  3. A source of income
  4. Income modifiers

A prestige button simply performs all of these functions together by applying a special income modifier that is not reset when the game restarts.