godot-shooter / change-html-template / files / World.tscn
Branch change-html-template · default branch · all branches
World.tscn
969fd5af 2023-11-06 Pavel Safronov | 1 | [gd_scene load_steps=8 format=2] |
b856550a 2023-10-30 Pavel Safronov | 2 | |
f108d953 2023-11-02 Pavel Safronov | 3 | [ext_resource path="res://assets/kenney_simple-space/PNG/Default/icon_crossLarge.png" type="Texture" id=1] |
b856550a 2023-10-30 Pavel Safronov | 4 | [ext_resource path="res://Player.tscn" type="PackedScene" id=2] |
5b18ed86 2023-11-01 Pavel Safronov | 5 | [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 Safronov | 7 | [ext_resource path="res://StarField.tscn" type="PackedScene" id=5] |
776d6499 2023-11-06 Pavel Safronov | 8 | [ext_resource path="res://CharacterTheme.tres" type="Theme" id=6] |
b856550a 2023-10-30 Pavel Safronov | 9 | |
f108d953 2023-11-02 Pavel Safronov | 10 | [sub_resource type="CircleShape2D" id=1] |
| 11 | radius = 29.0172 | |
| 12 | ||
b856550a 2023-10-30 Pavel Safronov | 13 | [node name="World" type="Node2D"] |
5b18ed86 2023-11-01 Pavel Safronov | 14 | script = ExtResource( 4 ) |
b856550a 2023-10-30 Pavel Safronov | 15 | |
a6145696 2023-11-06 Pavel Safronov | 16 | [node name="Player" parent="." groups=["player"] instance=ExtResource( 2 )] |
0bfcffe2 2023-11-07 Pavel Safronov | 17 | position = Vector2( 248, 410 ) |
a6145696 2023-11-06 Pavel Safronov | 18 | |
| 19 | [node name="Destination" type="Area2D" parent="."] | |
| 20 | ||
| 21 | [node name="XSprite" type="Sprite" parent="Destination"] | |
| 22 | modulate = Color( 0.0784314, 0, 1, 1 ) | |
| 23 | texture = ExtResource( 1 ) | |
| 24 | ||
| 25 | [node name="CollisionShape2D" type="CollisionShape2D" parent="Destination"] | |
| 26 | shape = SubResource( 1 ) | |
| 27 | ||
e9f8f8f2 2023-11-01 Pavel Safronov | 28 | [node name="CanvasLayer2" type="CanvasLayer" parent="."] |
2ef72487 2023-11-01 Pavel Safronov | 29 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 30 | [node name="ParallaxBackground" type="ParallaxBackground" parent="CanvasLayer2"] |
748f09d4 2023-11-02 Pavel Safronov | 31 | scroll_ignore_camera_zoom = true |
2ef72487 2023-11-01 Pavel Safronov | 32 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 33 | [node name="Foreground" type="ParallaxLayer" parent="CanvasLayer2/ParallaxBackground"] |
748f09d4 2023-11-02 Pavel Safronov | 34 | motion_mirroring = Vector2( 2048, 1200 ) |
2ef72487 2023-11-01 Pavel Safronov | 35 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 36 | [node name="StarField" parent="CanvasLayer2/ParallaxBackground/Foreground" instance=ExtResource( 5 )] |
2ef72487 2023-11-01 Pavel Safronov | 37 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 38 | [node name="Background" type="ParallaxLayer" parent="CanvasLayer2/ParallaxBackground"] |
748f09d4 2023-11-02 Pavel Safronov | 39 | visible = false |
2ef72487 2023-11-01 Pavel Safronov | 40 | modulate = Color( 1, 1, 1, 0.501961 ) |
| 41 | motion_scale = Vector2( 0.8, 0.8 ) | |
748f09d4 2023-11-02 Pavel Safronov | 42 | motion_mirroring = Vector2( 2048, 1200 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 43 | __meta__ = { |
| 44 | "_edit_group_": true | |
| 45 | } | |
2ef72487 2023-11-01 Pavel Safronov | 46 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 47 | [node name="StarField2" parent="CanvasLayer2/ParallaxBackground/Background" instance=ExtResource( 5 )] |
748f09d4 2023-11-02 Pavel Safronov | 48 | visible = false |
e9f8f8f2 2023-11-01 Pavel Safronov | 49 | |
| 50 | [node name="Environment" type="Node2D" parent="."] | |
2ef72487 2023-11-01 Pavel Safronov | 51 | |
f398dcb9 2023-11-02 Pavel Safronov | 52 | [node name="CanvasLayer" type="CanvasLayer" parent="."] |
| 53 | ||
| 54 | [node name="HUD" parent="CanvasLayer" instance=ExtResource( 3 )] | |
52220002 2023-11-06 Pavel Safronov | 55 | pause_mode = 2 |
| 56 | margin_left = -4.0 | |
| 57 | margin_top = -3.0 | |
| 58 | margin_right = -4.0 | |
| 59 | margin_bottom = -3.0 | |
| 60 | ||
| 61 | [node name="PauseMenu" type="Control" parent="CanvasLayer"] | |
| 62 | pause_mode = 2 | |
| 63 | visible = false | |
| 64 | anchor_right = 1.0 | |
| 65 | anchor_bottom = 1.0 | |
| 66 | margin_right = 40.0 | |
| 67 | margin_bottom = 40.0 | |
| 68 | mouse_filter = 2 | |
| 69 | ||
776d6499 2023-11-06 Pavel Safronov | 70 | [node name="Panel" type="Panel" parent="CanvasLayer/PauseMenu"] |
0bfcffe2 2023-11-07 Pavel Safronov | 71 | margin_left = 120.0 |
| 72 | margin_top = 233.0 | |
| 73 | margin_right = 370.0 | |
| 74 | margin_bottom = 483.0 | |
776d6499 2023-11-06 Pavel Safronov | 75 | |
| 76 | [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/PauseMenu/Panel"] | |
| 77 | margin_left = 68.0 | |
| 78 | margin_top = 72.0 | |
| 79 | margin_right = 132.0 | |
| 80 | margin_bottom = 110.0 | |
| 81 | ||
| 82 | [node name="Label" type="Label" parent="CanvasLayer/PauseMenu/Panel/VBoxContainer"] | |
| 83 | margin_right = 114.0 | |
| 84 | margin_bottom = 35.0 | |
| 85 | theme = ExtResource( 6 ) | |
52220002 2023-11-06 Pavel Safronov | 86 | text = "Paused" |
| 87 | align = 1 | |
| 88 | ||
776d6499 2023-11-06 Pavel Safronov | 89 | [node name="Button" type="Button" parent="CanvasLayer/PauseMenu/Panel/VBoxContainer"] |
| 90 | margin_top = 39.0 | |
| 91 | margin_right = 114.0 | |
| 92 | margin_bottom = 80.0 | |
| 93 | theme = ExtResource( 6 ) | |
52220002 2023-11-06 Pavel Safronov | 94 | text = "Resume" |
f398dcb9 2023-11-02 Pavel Safronov | 95 | |
| 96 | [node name="ShootTimer" type="Timer" parent="."] | |
| 97 | process_mode = 0 | |
574ba8cd 2023-11-02 Pavel Safronov | 98 | wait_time = 0.1 |
f398dcb9 2023-11-02 Pavel Safronov | 99 | autostart = true |
| 100 | ||
52220002 2023-11-06 Pavel Safronov | 101 | [node name="PlayerToTarget" type="Line2D" parent="."] |
| 102 | visible = false | |
| 103 | modulate = Color( 1, 0.984314, 0, 1 ) | |
| 104 | points = PoolVector2Array( 2085.69, 283.505, 2067.82, 274.471 ) | |
| 105 | width = 3.0 | |
| 106 | default_color = Color( 1, 0.976471, 0.4, 1 ) | |
| 107 | joint_mode = 1 | |
| 108 | begin_cap_mode = 2 | |
| 109 | end_cap_mode = 2 | |
| 110 | round_precision = 13 | |
| 111 | antialiased = true | |
| 112 | ||
f108d953 2023-11-02 Pavel Safronov | 113 | [connection signal="body_entered" from="Destination" to="." method="_on_Destination_body_entered"] |
776d6499 2023-11-06 Pavel Safronov | 114 | [connection signal="pressed" from="CanvasLayer/PauseMenu/Panel/VBoxContainer/Button" to="." method="_on_Button_pressed"] |
f398dcb9 2023-11-02 Pavel Safronov | 115 | [connection signal="timeout" from="ShootTimer" to="." method="_on_ShootTimer_timeout"] |