Initial commit.
This commit is contained in:
commit
af00c57c6f
9 changed files with 364 additions and 0 deletions
31
scenes/Splash.tscn
Normal file
31
scenes/Splash.tscn
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://splash.png" type="Texture" id=1]
|
||||
[ext_resource path="res://TestScene.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="GDScript" id=1]
|
||||
script/source = "extends TextureRect
|
||||
|
||||
export var start_scene: PackedScene
|
||||
|
||||
|
||||
|
||||
func _on_timeout():
|
||||
get_tree().change_scene_to(start_scene)
|
||||
"
|
||||
|
||||
[node name="Splash" type="TextureRect"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 1 )
|
||||
script = SubResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
start_scene = ExtResource( 2 )
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 2.0
|
||||
one_shot = true
|
||||
autostart = true
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timeout"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue