troll.tscn 536 B

123456789101112131415161718192021
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://troll.gd" type="Script" id=1]
  3. [ext_resource path="res://troll.png" type="Texture" id=2]
  4. [sub_resource type="CircleShape2D" id=1]
  5. radius = 16.0
  6. [node name="Troll" type="KinematicBody2D"]
  7. script = ExtResource( 1 )
  8. [node name="Sprite" type="Sprite" parent="."]
  9. position = Vector2( -4, -28 )
  10. texture = ExtResource( 2 )
  11. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  12. shape = SubResource( 1 )
  13. [node name="Camera2D" type="Camera2D" parent="."]
  14. current = true