#2 Collects resources

#8 Generates resources based on resource data
#10 Shows total resources and adjusts for new resources
This commit is contained in:
2024-02-07 09:22:14 -06:00
parent 7c81a2229e
commit 84de7fa6f1
10 changed files with 157 additions and 39 deletions

8
scripts/game_resource.gd Normal file
View File

@@ -0,0 +1,8 @@
class_name GameResource
extends Resource
@export var atlas_location: Vector2i
@export_range(-1, 1, 0.05) var spawn_region_min: float
@export_range(-1, 1, 0.05) var spawn_region_max: float
@export var pickup_value: int
@export var name: String