gdquest-demos / godot-2d-space-game

A 2D space exploration and mining game made with Godot and our AI framework
MIT License
837 stars 109 forks source link

Refactor the upgrades code and scenes #24

Closed Razoric480 closed 4 years ago

Razoric480 commented 4 years ago

The upgrade menu should be procedurally built based on the upgrades that are fed into it/are available. It should be relatively simple to extend. An 'upgradeitem' resource that has an icon, a name/label, and maybe a function it calls on the player, or that it executes itself by being passed a player object. (execute(player: Node))

NathanLovato commented 4 years ago

I was thinking of doing that yesterday actually! Totally.

NathanLovato commented 4 years ago

Part of it done with 9cc1bbe1e1eb23fe0206dd4d063d424849594e7e, that adds a more flexible stats system.

To do: