-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathant.tscn
45 lines (31 loc) · 1.05 KB
/
ant.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=4 format=2]
[ext_resource path="res://ant.gd" type="Script" id=1]
[ext_resource path="res://images/ant-2-top-view.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=1]
custom_solver_bias = 0.0
radius = 56.7132
height = 3.32031
[node name="ant" type="Area2D"]
position = Vector2( 228.464, 132.594 )
rotation = 1.5708
scale = Vector2( 0.5, 0.5 )
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
script = ExtResource( 1 )
stomach_contents_label_path = NodePath("../stomach contents")
[node name="Sprite" type="Sprite" parent="." index="0"]
texture = ExtResource( 2 )
_sections_unfolded = [ "Offset", "Transform" ]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
shape = SubResource( 1 )
[node name="digestion" type="Timer" parent="." index="2"]
process_mode = 1
wait_time = 1.0
one_shot = false
autostart = true
[connection signal="timeout" from="digestion" to="." method="_on_digestion_timeout"]