add page flip
This commit is contained in:
44
core/game_menu/page_2_left.tscn
Normal file
44
core/game_menu/page_2_left.tscn
Normal file
@@ -0,0 +1,44 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://core/game_menu/page_interactive.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" uid="uid://xgx0211eo8hi" path="res://core/game_menu/assets/page_2/photocollections_text.png" id="2_text"]
|
||||
[ext_resource type="PackedScene" uid="uid://b6r787sik5yil" path="res://core/game_menu/photo_gallery.tscn" id="3_gallery"]
|
||||
[ext_resource type="Texture2D" path="res://core/game_menu/assets/page.png" id="4_page_bg"]
|
||||
|
||||
[node name="Page2Left" 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 = 9
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 760.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_page_bg")
|
||||
expand_mode = 1
|
||||
flip_h = true
|
||||
|
||||
[node name="PhotoCollectionText" type="TextureRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 96.0
|
||||
offset_top = 27.0
|
||||
offset_right = 663.0
|
||||
offset_bottom = 112.0
|
||||
texture = ExtResource("2_text")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="PhotoGallery" parent="." instance=ExtResource("3_gallery")]
|
||||
layout_mode = 1
|
||||
offset_left = 80.0
|
||||
offset_top = 107.0
|
||||
offset_right = 680.0
|
||||
offset_bottom = 547.0
|
||||
Reference in New Issue
Block a user