initial commit
This commit is contained in:
commit
994fca9f45
19 changed files with 483 additions and 0 deletions
110
Slideshow.tscn
Normal file
110
Slideshow.tscn
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://gxkftwihyaeb"]
|
||||
|
||||
[ext_resource type="Script" path="res://Slideshow.gd" id="1_c4yco"]
|
||||
[ext_resource type="Texture2D" uid="uid://hae3xxu5gi1j" path="res://assets/textures/left.png" id="2_ipc81"]
|
||||
[ext_resource type="Texture2D" uid="uid://htlpmfnfxo0p" path="res://assets/textures/airplanecomercial.png" id="3_r020g"]
|
||||
[ext_resource type="Texture2D" uid="uid://cq85cp58w2yo" path="res://assets/textures/coin.png" id="4_k2rtf"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0clm03ld3sqt" path="res://assets/textures/checkmark.png" id="5_drrg7"]
|
||||
[ext_resource type="Texture2D" uid="uid://bj1lt3rs788c0" path="res://assets/textures/right.png" id="6_07ka3"]
|
||||
|
||||
[node name="Slideshow" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_c4yco")
|
||||
|
||||
[node name="Container" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Container"]
|
||||
layout_mode = 2
|
||||
vertical_scroll_mode = 0
|
||||
|
||||
[node name="Frame" type="HBoxContainer" parent="Container/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="Previous" type="TextureButton" parent="Container/ScrollContainer/Frame"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
keep_pressed_outside = true
|
||||
texture_normal = ExtResource("2_ipc81")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="ContentFrame" type="PanelContainer" parent="Container/ScrollContainer/Frame"]
|
||||
clip_children = 1
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Container/ScrollContainer/Frame/ContentFrame"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="Content" type="Control" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("3_r020g")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content"]
|
||||
layout_mode = 0
|
||||
offset_right = 914.0
|
||||
offset_bottom = 392.0
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("4_k2rtf")
|
||||
|
||||
[node name="TextureRect3" type="TextureRect" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("4_k2rtf")
|
||||
|
||||
[node name="TextureRect4" type="TextureRect" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("4_k2rtf")
|
||||
|
||||
[node name="TextureRect3" type="TextureRect" parent="Container/ScrollContainer/Frame/ContentFrame/MarginContainer/Content"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("5_drrg7")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Next" type="TextureButton" parent="Container/ScrollContainer/Frame"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
keep_pressed_outside = true
|
||||
texture_normal = ExtResource("6_07ka3")
|
||||
stretch_mode = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue