Opponent.tscn 717 B

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://turn_combat/combatants/Combatant.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://turn_combat/combatants/Opponent.gd" type="Script" id=2]
  4. [ext_resource path="res://turn_combat/combatants/sprites/green.png" type="Texture" id=3]
  5. [node name="Opponent" instance=ExtResource( 1 )]
  6. script = ExtResource( 2 )
  7. _sections_unfolded = [ "Transform" ]
  8. damage = 3
  9. [node name="Health" parent="." index="0"]
  10. life = 7
  11. max_life = 7
  12. [node name="Body" parent="Sprite/Pivot" index="1"]
  13. texture = ExtResource( 3 )
  14. [node name="Timer" type="Timer" parent="." index="2"]
  15. process_mode = 1
  16. wait_time = 0.25
  17. one_shot = true
  18. autostart = false
  19. [editable path="Sprite"]