ant.tscn 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://ant.gd" type="Script" id=1]
  3. [ext_resource path="res://images/ant.png" type="Texture" id=2]
  4. [sub_resource type="CapsuleShape2D" id=1]
  5. radius = 5.57427
  6. height = 16.2134
  7. [sub_resource type="CapsuleShape2D" id=2]
  8. [node name="Ant" type="KinematicBody2D"]
  9. scale = Vector2( 0.332887, 0.357937 )
  10. script = ExtResource( 1 )
  11. [node name="Sprite" type="Sprite" parent="."]
  12. scale = Vector2( 0.1, 0.1 )
  13. texture = ExtResource( 2 )
  14. [node name="CollisionShapeFront" type="CollisionShape2D" parent="."]
  15. position = Vector2( -0.0256538, -22.3513 )
  16. rotation = 1.5708
  17. shape = SubResource( 1 )
  18. [node name="CollisionShapeBody" type="CollisionShape2D" parent="."]
  19. position = Vector2( 0, 6 )
  20. shape = SubResource( 2 )
  21. [node name="mode" type="Label" parent="."]
  22. margin_left = 18.0241
  23. margin_top = 2.79379
  24. margin_right = 58.0523
  25. margin_bottom = 16.7938
  26. rect_scale = Vector2( 2, 2 )
  27. text = "ANT:1"
  28. __meta__ = {
  29. "_edit_use_anchors_": false
  30. }
  31. [node name="sensivity" type="ProgressBar" parent="."]
  32. margin_left = 18.0
  33. margin_top = -28.0
  34. margin_right = 78.0
  35. margin_bottom = -14.0
  36. __meta__ = {
  37. "_edit_use_anchors_": false
  38. }
  39. [node name="close2home" type="ProgressBar" parent="."]
  40. margin_left = 18.0241
  41. margin_top = -13.9689
  42. margin_right = 78.0241
  43. margin_bottom = 0.0310593
  44. __meta__ = {
  45. "_edit_use_anchors_": false
  46. }
  47. [node name="target" type="Line2D" parent="."]
  48. [node name="vel" type="Line2D" parent="."]
  49. default_color = Color( 0.905882, 0, 0.235294, 1 )