98 lines
3.9 KiB
Text
98 lines
3.9 KiB
Text
[gd_scene load_steps=15 format=3 uid="uid://ba6afuig8bqrg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"]
|
|
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"]
|
|
[ext_resource type="Texture2D" uid="uid://cw3onignoce3e" path="res://temp_assets/scale_up.png" id="3_7s458"]
|
|
[ext_resource type="Script" path="res://scripts/ui_actions.gd" id="3_b82rx"]
|
|
[ext_resource type="Texture2D" uid="uid://ckr5hxaqp6s5x" path="res://temp_assets/scale_up_hovered.png" id="4_6s82a"]
|
|
[ext_resource type="Texture2D" uid="uid://btmck3gpinxo1" path="res://temp_assets/scaled_down.png" id="5_8tyx1"]
|
|
[ext_resource type="Texture2D" uid="uid://c02aqv5sgwvgn" path="res://temp_assets/scale_down_hovered.png" id="6_kdplq"]
|
|
[ext_resource type="Texture2D" uid="uid://2rfdls8oduj1" path="res://temp_assets/mirror.png" id="7_xwthi"]
|
|
[ext_resource type="Texture2D" uid="uid://bfpwj3kaxe1ka" path="res://temp_assets/mirror_hovered.png" id="8_r6dd1"]
|
|
|
|
[sub_resource type="Theme" id="Theme_efdhj"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1vofj"]
|
|
size = Vector2(1289, 70.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4uh45"]
|
|
size = Vector2(1281, 85.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nnio8"]
|
|
size = Vector2(63.75, 738.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h7316"]
|
|
size = Vector2(100, 753)
|
|
|
|
[node name="LevelBase" type="Node"]
|
|
|
|
[node name="Player" parent="." instance=ExtResource("1_prjlb")]
|
|
|
|
[node name="CanvasLayer" parent="." instance=ExtResource("2_mxtem")]
|
|
visible = false
|
|
|
|
[node name="UILayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="UI" type="Control" parent="UILayer"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("3_b82rx")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="UILayer/UI"]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="ScaleUp" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = SubResource("Theme_efdhj")
|
|
texture_normal = ExtResource("3_7s458")
|
|
texture_pressed = ExtResource("4_6s82a")
|
|
texture_hover = ExtResource("4_6s82a")
|
|
texture_disabled = ExtResource("3_7s458")
|
|
texture_focused = ExtResource("4_6s82a")
|
|
|
|
[node name="ScaleDown" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("5_8tyx1")
|
|
texture_pressed = ExtResource("6_kdplq")
|
|
texture_hover = ExtResource("6_kdplq")
|
|
texture_disabled = ExtResource("5_8tyx1")
|
|
texture_focused = ExtResource("6_kdplq")
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("7_xwthi")
|
|
texture_pressed = ExtResource("8_r6dd1")
|
|
texture_hover = ExtResource("8_r6dd1")
|
|
texture_disabled = ExtResource("7_xwthi")
|
|
texture_focused = ExtResource("8_r6dd1")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
[node name="Walls" type="StaticBody2D" parent="."]
|
|
collision_mask = 6
|
|
|
|
[node name="Ground" type="CollisionShape2D" parent="Walls"]
|
|
position = Vector2(0.5, 394.25)
|
|
shape = SubResource("RectangleShape2D_1vofj")
|
|
|
|
[node name="Ceiling" type="CollisionShape2D" parent="Walls"]
|
|
position = Vector2(-0.5, -402.25)
|
|
shape = SubResource("RectangleShape2D_4uh45")
|
|
|
|
[node name="LeftWall" type="CollisionShape2D" parent="Walls"]
|
|
position = Vector2(-671.125, 2.25)
|
|
shape = SubResource("RectangleShape2D_nnio8")
|
|
|
|
[node name="RightWall" type="CollisionShape2D" parent="Walls"]
|
|
position = Vector2(690, -2.5)
|
|
shape = SubResource("RectangleShape2D_h7316")
|
|
|
|
[connection signal="pressed" from="UILayer/UI/HBoxContainer/ScaleUp" to="UILayer/UI" method="select_up"]
|
|
[connection signal="pressed" from="UILayer/UI/HBoxContainer/ScaleDown" to="UILayer/UI" method="select_down"]
|
|
[connection signal="pressed" from="UILayer/UI/HBoxContainer/TextureButton" to="UILayer/UI" method="select_mirror"]
|