add page flip
This commit is contained in:
53
core/game_menu/page_3_right.tscn
Normal file
53
core/game_menu/page_3_right.tscn
Normal file
@@ -0,0 +1,53 @@
|
||||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://core/game_menu/page_interactive.gd" id="1_script"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxf8s80ivwj1p" path="res://core/game_menu/option_menu.tscn" id="2_option"]
|
||||
[ext_resource type="Texture2D" path="res://core/game_menu/assets/page.png" id="3_page_bg"]
|
||||
|
||||
[node name="Page3Right" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -1160.0
|
||||
offset_bottom = -506.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_script")
|
||||
|
||||
[node name="PageBackground" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 11
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -760.0
|
||||
offset_top = 0.0
|
||||
offset_right = 0.0
|
||||
offset_bottom = 0.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_page_bg")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="OptionMenu" parent="." instance=ExtResource("2_option")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -181.5
|
||||
offset_top = -212.0
|
||||
offset_right = 248.5
|
||||
offset_bottom = 212.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PlayButton" parent="OptionMenu/VBoxContainer" index="0"]
|
||||
visible = false
|
||||
|
||||
[node name="SettingsButton" parent="OptionMenu/VBoxContainer" index="2"]
|
||||
visible = false
|
||||
|
||||
[editable path="OptionMenu"]
|
||||
Reference in New Issue
Block a user