fuzzyworld

godot-shooter / change-html-template / files / World.tscn

Branch change-html-template · default branch · all branches

World.tscn

Blame: the commit that last changed each line · file · history

969fd5af 2023-11-06 Pavel Safronov1[gd_scene load_steps=8 format=2]
b856550a 2023-10-30 Pavel Safronov2
f108d953 2023-11-02 Pavel Safronov3[ext_resource path="res://assets/kenney_simple-space/PNG/Default/icon_crossLarge.png" type="Texture" id=1]
b856550a 2023-10-30 Pavel Safronov4[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
5b18ed86 2023-11-01 Pavel Safronov5[ext_resource path="res://HUD.tscn" type="PackedScene" id=3]
6[ext_resource path="res://World.gd" type="Script" id=4]
2ef72487 2023-11-01 Pavel Safronov7[ext_resource path="res://StarField.tscn" type="PackedScene" id=5]
776d6499 2023-11-06 Pavel Safronov8[ext_resource path="res://CharacterTheme.tres" type="Theme" id=6]
b856550a 2023-10-30 Pavel Safronov9
f108d953 2023-11-02 Pavel Safronov10[sub_resource type="CircleShape2D" id=1]
11radius = 29.0172
12
b856550a 2023-10-30 Pavel Safronov13[node name="World" type="Node2D"]
5b18ed86 2023-11-01 Pavel Safronov14script = ExtResource( 4 )
b856550a 2023-10-30 Pavel Safronov15
a6145696 2023-11-06 Pavel Safronov16[node name="Player" parent="." groups=["player"] instance=ExtResource( 2 )]
0bfcffe2 2023-11-07 Pavel Safronov17position = Vector2( 248, 410 )
a6145696 2023-11-06 Pavel Safronov18
19[node name="Destination" type="Area2D" parent="."]
20
21[node name="XSprite" type="Sprite" parent="Destination"]
22modulate = Color( 0.0784314, 0, 1, 1 )
23texture = ExtResource( 1 )
24
25[node name="CollisionShape2D" type="CollisionShape2D" parent="Destination"]
26shape = SubResource( 1 )
27
e9f8f8f2 2023-11-01 Pavel Safronov28[node name="CanvasLayer2" type="CanvasLayer" parent="."]
2ef72487 2023-11-01 Pavel Safronov29
e9f8f8f2 2023-11-01 Pavel Safronov30[node name="ParallaxBackground" type="ParallaxBackground" parent="CanvasLayer2"]
748f09d4 2023-11-02 Pavel Safronov31scroll_ignore_camera_zoom = true
2ef72487 2023-11-01 Pavel Safronov32
e9f8f8f2 2023-11-01 Pavel Safronov33[node name="Foreground" type="ParallaxLayer" parent="CanvasLayer2/ParallaxBackground"]
748f09d4 2023-11-02 Pavel Safronov34motion_mirroring = Vector2( 2048, 1200 )
2ef72487 2023-11-01 Pavel Safronov35
e9f8f8f2 2023-11-01 Pavel Safronov36[node name="StarField" parent="CanvasLayer2/ParallaxBackground/Foreground" instance=ExtResource( 5 )]
2ef72487 2023-11-01 Pavel Safronov37
e9f8f8f2 2023-11-01 Pavel Safronov38[node name="Background" type="ParallaxLayer" parent="CanvasLayer2/ParallaxBackground"]
748f09d4 2023-11-02 Pavel Safronov39visible = false
2ef72487 2023-11-01 Pavel Safronov40modulate = Color( 1, 1, 1, 0.501961 )
41motion_scale = Vector2( 0.8, 0.8 )
748f09d4 2023-11-02 Pavel Safronov42motion_mirroring = Vector2( 2048, 1200 )
e9f8f8f2 2023-11-01 Pavel Safronov43__meta__ = {
44"_edit_group_": true
45}
2ef72487 2023-11-01 Pavel Safronov46
e9f8f8f2 2023-11-01 Pavel Safronov47[node name="StarField2" parent="CanvasLayer2/ParallaxBackground/Background" instance=ExtResource( 5 )]
748f09d4 2023-11-02 Pavel Safronov48visible = false
e9f8f8f2 2023-11-01 Pavel Safronov49
50[node name="Environment" type="Node2D" parent="."]
2ef72487 2023-11-01 Pavel Safronov51
f398dcb9 2023-11-02 Pavel Safronov52[node name="CanvasLayer" type="CanvasLayer" parent="."]
53
54[node name="HUD" parent="CanvasLayer" instance=ExtResource( 3 )]
52220002 2023-11-06 Pavel Safronov55pause_mode = 2
56margin_left = -4.0
57margin_top = -3.0
58margin_right = -4.0
59margin_bottom = -3.0
60
61[node name="PauseMenu" type="Control" parent="CanvasLayer"]
62pause_mode = 2
63visible = false
64anchor_right = 1.0
65anchor_bottom = 1.0
66margin_right = 40.0
67margin_bottom = 40.0
68mouse_filter = 2
69
776d6499 2023-11-06 Pavel Safronov70[node name="Panel" type="Panel" parent="CanvasLayer/PauseMenu"]
0bfcffe2 2023-11-07 Pavel Safronov71margin_left = 120.0
72margin_top = 233.0
73margin_right = 370.0
74margin_bottom = 483.0
776d6499 2023-11-06 Pavel Safronov75
76[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/PauseMenu/Panel"]
77margin_left = 68.0
78margin_top = 72.0
79margin_right = 132.0
80margin_bottom = 110.0
81
82[node name="Label" type="Label" parent="CanvasLayer/PauseMenu/Panel/VBoxContainer"]
83margin_right = 114.0
84margin_bottom = 35.0
85theme = ExtResource( 6 )
52220002 2023-11-06 Pavel Safronov86text = "Paused"
87align = 1
88
776d6499 2023-11-06 Pavel Safronov89[node name="Button" type="Button" parent="CanvasLayer/PauseMenu/Panel/VBoxContainer"]
90margin_top = 39.0
91margin_right = 114.0
92margin_bottom = 80.0
93theme = ExtResource( 6 )
52220002 2023-11-06 Pavel Safronov94text = "Resume"
f398dcb9 2023-11-02 Pavel Safronov95
96[node name="ShootTimer" type="Timer" parent="."]
97process_mode = 0
574ba8cd 2023-11-02 Pavel Safronov98wait_time = 0.1
f398dcb9 2023-11-02 Pavel Safronov99autostart = true
100
52220002 2023-11-06 Pavel Safronov101[node name="PlayerToTarget" type="Line2D" parent="."]
102visible = false
103modulate = Color( 1, 0.984314, 0, 1 )
104points = PoolVector2Array( 2085.69, 283.505, 2067.82, 274.471 )
105width = 3.0
106default_color = Color( 1, 0.976471, 0.4, 1 )
107joint_mode = 1
108begin_cap_mode = 2
109end_cap_mode = 2
110round_precision = 13
111antialiased = true
112
f108d953 2023-11-02 Pavel Safronov113[connection signal="body_entered" from="Destination" to="." method="_on_Destination_body_entered"]
776d6499 2023-11-06 Pavel Safronov114[connection signal="pressed" from="CanvasLayer/PauseMenu/Panel/VBoxContainer/Button" to="." method="_on_Button_pressed"]
f398dcb9 2023-11-02 Pavel Safronov115[connection signal="timeout" from="ShootTimer" to="." method="_on_ShootTimer_timeout"]