feature: Created splash and simple slide
This commit is contained in:
parent
84e4668e69
commit
2fcf26b465
6 changed files with 147 additions and 1 deletions
10
main.tscn
10
main.tscn
|
@ -1,7 +1,9 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://ba0xsnum4uwp2"]
|
[gd_scene load_steps=5 format=3 uid="uid://ba0xsnum4uwp2"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Slides.gd" id="1_twp8b"]
|
[ext_resource type="Script" path="res://Slides.gd" id="1_twp8b"]
|
||||||
[ext_resource type="PackedScene" uid="uid://edbgev6imyv5" path="res://slides/title.tscn" id="2_cmdxc"]
|
[ext_resource type="PackedScene" uid="uid://edbgev6imyv5" path="res://slides/title.tscn" id="2_cmdxc"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cesv26jximro0" path="res://slides/splash.tscn" id="2_dm0va"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://detqh52qaweu2" path="res://slides/slide1.tscn" id="4_vm0in"]
|
||||||
|
|
||||||
[node name="Main" type="Node"]
|
[node name="Main" type="Node"]
|
||||||
|
|
||||||
|
@ -12,5 +14,11 @@ offset_right = 960.0
|
||||||
offset_bottom = 540.0
|
offset_bottom = 540.0
|
||||||
script = ExtResource("1_twp8b")
|
script = ExtResource("1_twp8b")
|
||||||
|
|
||||||
|
[node name="Splash" parent="Slides" instance=ExtResource("2_dm0va")]
|
||||||
|
layout_mode = 1
|
||||||
|
|
||||||
[node name="Title" parent="Slides" instance=ExtResource("2_cmdxc")]
|
[node name="Title" parent="Slides" instance=ExtResource("2_cmdxc")]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
|
|
||||||
|
[node name="Slide1" parent="Slides" instance=ExtResource("4_vm0in")]
|
||||||
|
layout_mode = 1
|
||||||
|
|
BIN
resources/godot_logo.png
Normal file
BIN
resources/godot_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
34
resources/godot_logo.png.import
Normal file
34
resources/godot_logo.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cguemp86u1s0v"
|
||||||
|
path="res://.godot/imported/godot_logo.png-d2127e3674690abc6505d1adbe42a77b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/godot_logo.png"
|
||||||
|
dest_files=["res://.godot/imported/godot_logo.png-d2127e3674690abc6505d1adbe42a77b.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
30
slides/slide1.tscn
Normal file
30
slides/slide1.tscn
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://detqh52qaweu2"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://cq5nu007qrube" path="res://fonts/PixeloidSans-Bold.ttf" id="2_66if4"]
|
||||||
|
|
||||||
|
[node name="Slide1" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_right = -960.0
|
||||||
|
offset_bottom = -540.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 40.0
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
offset_right = 960.0
|
||||||
|
offset_bottom = 296.0
|
||||||
|
theme_override_fonts/normal_font = ExtResource("2_66if4")
|
||||||
|
theme_override_font_sizes/normal_font_size = 36
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center]Indie Spain Jam - Figments of the Night"
|
||||||
|
scroll_active = false
|
||||||
|
autowrap_mode = 0
|
||||||
|
shortcut_keys_enabled = false
|
74
slides/splash.tscn
Normal file
74
slides/splash.tscn
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
[gd_scene load_steps=6 format=3 uid="uid://cesv26jximro0"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://cq5nu007qrube" path="res://fonts/PixeloidSans-Bold.ttf" id="2_32wpu"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cguemp86u1s0v" path="res://resources/godot_logo.png" id="2_v814v"]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x5ngj"]
|
||||||
|
atlas = ExtResource("2_v814v")
|
||||||
|
region = Rect2(0, 0, 189, 174)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l2kki"]
|
||||||
|
atlas = ExtResource("2_v814v")
|
||||||
|
region = Rect2(189, 0, 189, 174)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_rm6en"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_x5ngj")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_l2kki")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"default",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[node name="Splash" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_right = -960.0
|
||||||
|
offset_bottom = -540.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_right = 960.0
|
||||||
|
offset_bottom = 540.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
color = Color(0.964706, 0.858824, 0.729412, 1)
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_top = 317.0
|
||||||
|
offset_right = 960.0
|
||||||
|
offset_bottom = 388.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
theme_override_colors/default_color = Color(0.329412, 0.388235, 0.85098, 1)
|
||||||
|
theme_override_fonts/normal_font = ExtResource("2_32wpu")
|
||||||
|
theme_override_font_sizes/normal_font_size = 18
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center]Esta presentación ha sido
|
||||||
|
hecha con Godot Engine :)"
|
||||||
|
scroll_active = false
|
||||||
|
autowrap_mode = 0
|
||||||
|
shortcut_keys_enabled = false
|
||||||
|
|
||||||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
position = Vector2(480, 220)
|
||||||
|
sprite_frames = SubResource("SpriteFrames_rm6en")
|
||||||
|
autoplay = "default"
|
||||||
|
frame = 1
|
||||||
|
frame_progress = 0.957505
|
BIN
unnamed.gif
Normal file
BIN
unnamed.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue