troll.tscn 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. custom_solver_bias = 0.0
  6. radius = 16.0
  7. [node name="troll" type="KinematicBody2D"]
  8. input_pickable = false
  9. collision_layer = 1
  10. collision_mask = 1
  11. collision/safe_margin = 0.08
  12. script = ExtResource( 1 )
  13. [node name="Sprite" type="Sprite" parent="."]
  14. position = Vector2( -3.94334, -36.924 )
  15. texture = ExtResource( 2 )
  16. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  17. position = Vector2( -0.342697, -0.980721 )
  18. shape = SubResource( 1 )
  19. [node name="Camera2D" type="Camera2D" parent="."]
  20. anchor_mode = 1
  21. rotating = false
  22. current = true
  23. zoom = Vector2( 1, 1 )
  24. limit_left = -10000000
  25. limit_top = -10000000
  26. limit_right = 10000000
  27. limit_bottom = 10000000
  28. limit_smoothed = false
  29. drag_margin_h_enabled = true
  30. drag_margin_v_enabled = true
  31. smoothing_enabled = false
  32. smoothing_speed = 5.0
  33. drag_margin_left = 0.2
  34. drag_margin_top = 0.2
  35. drag_margin_right = 0.2
  36. drag_margin_bottom = 0.2
  37. editor_draw_screen = true
  38. editor_draw_limits = false
  39. editor_draw_drag_margin = false