troll.tscn 769 B

1234567891011121314151617181920212223242526
  1. [gd_scene load_steps=4 format=3 uid="uid://bryfdf2r0lvau"]
  2. [ext_resource type="Script" path="res://troll.gd" id="1"]
  3. [ext_resource type="Texture2D" uid="uid://c125b0x0g8lwk" path="res://troll.png" id="2"]
  4. [sub_resource type="CircleShape2D" id="1"]
  5. radius = 16.0
  6. [node name="Troll" type="CharacterBody2D"]
  7. script = ExtResource("1")
  8. [node name="Sprite2D" type="Sprite2D" parent="."]
  9. texture = ExtResource("2")
  10. [node name="Shadow" type="Sprite2D" parent="."]
  11. modulate = Color(0, 0, 0, 0.501961)
  12. show_behind_parent = true
  13. position = Vector2(3, 3)
  14. texture = ExtResource("2")
  15. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  16. position = Vector2(3.24216, 19.453)
  17. shape = SubResource("1")
  18. [node name="Camera2D" type="Camera2D" parent="."]
  19. current = true