meow
This commit is contained in:
parent
ab1797b9ed
commit
d5455ef493
7 changed files with 239 additions and 53 deletions
|
|
@ -1,50 +1,61 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://vv75ycmtipn7"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://vv75ycmtipn7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://u353j4q7l26d" path="res://cyclone.gd" id="1_khbba"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdw1vlidvg2yt" path="res://Sprites/Cyclone.png" id="2_7e2hf"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xr6w1"]
|
||||
radius = 32.0
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_khbba"]
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="Cyclone" type="RigidBody2D" node_paths=PackedStringArray("sprite", "label", "wind_speed_label", "line")]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_7e2hf"]
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xr6w1"]
|
||||
radius = 4.0
|
||||
|
||||
[node name="Cyclone" type="RigidBody2D" node_paths=PackedStringArray("sprite", "label", "wind_speed_label", "line", "visuals")]
|
||||
gravity_scale = 0.0
|
||||
lock_rotation = true
|
||||
script = ExtResource("1_khbba")
|
||||
sprite = NodePath("Sprite2D")
|
||||
label = NodePath("cLabel")
|
||||
wind_speed_label = NodePath("wsLabel")
|
||||
sprite = NodePath("Visuals/Sprite2D")
|
||||
label = NodePath("Visuals/cLabel")
|
||||
wind_speed_label = NodePath("Visuals/wsLabel")
|
||||
line = NodePath("Line2D")
|
||||
visuals = NodePath("Visuals")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
[node name="Visuals" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Visuals"]
|
||||
scale = Vector2(0.2, 0.2)
|
||||
texture = ExtResource("2_7e2hf")
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="."]
|
||||
position = Vector2(-572, -229)
|
||||
width = 2.0
|
||||
default_color = Color(0.656747, 0, 0.0830602, 1)
|
||||
joint_mode = 2
|
||||
|
||||
[node name="cLabel" type="Label" parent="."]
|
||||
[node name="cLabel" type="Label" parent="Visuals"]
|
||||
offset_left = -21.0
|
||||
offset_top = -11.0
|
||||
offset_right = 19.0
|
||||
offset_bottom = 12.0
|
||||
size_flags_horizontal = 4
|
||||
text = "1"
|
||||
label_settings = SubResource("LabelSettings_khbba")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="wsLabel" type="Label" parent="."]
|
||||
[node name="wsLabel" type="Label" parent="Visuals"]
|
||||
offset_left = -21.0
|
||||
offset_top = -66.0
|
||||
offset_right = 19.0
|
||||
offset_bottom = -43.0
|
||||
size_flags_horizontal = 4
|
||||
text = "1"
|
||||
label_settings = SubResource("LabelSettings_7e2hf")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="."]
|
||||
position = Vector2(-572, -229)
|
||||
width = 2.0
|
||||
default_color = Color(0.654902, 0, 0.0823529, 0.572549)
|
||||
joint_mode = 2
|
||||
|
||||
[node name="changeTimer" type="Timer" parent="."]
|
||||
wait_time = 5.0
|
||||
autostart = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue