#2.2: UI: Upgrade Display



The upgrade slot, which is also pinned to the screen, indicates whether the laser upgrade has been saved. This happens when the player has already reached upgrade level 2 and touches another upgrade. 


Accordingly, the sprite of the actor changes by an on upgrade script. 


If the upgrade was stored in the $Upgrade_stored variable and the player is no longer on the second upgrade level, the stored upgrade can be used by pressing the Select key or Shift. This sets the upgrade level of the player with $Player_Upgrade and by the Player_upgade script to 2 and $Upgrade_stored is reset so that the upgrade slot appears empty again.


Get GB Space Jump -2.0

Leave a comment

Log in with itch.io to leave a comment.