first draft of the new card gameplay

This commit is contained in:
2025-06-26 02:32:45 +10:00
parent 0cd8715468
commit a6c503b8ff
32 changed files with 388 additions and 179 deletions

View File

@@ -79,6 +79,10 @@ func card_picked_up(card_item: CardItem) -> void:
func _on_static_body_3d_button_interacted(_value: int, reply: Hero) -> void:
reply_player = reply
if reply.energy >= 3:
reply.energy -= 3
else:
return
button_collider.disabled = true
$StaticBody3D/AudioStreamPlayer3D.play()
randomize_cards(reply.hero_class.faction)