diff options
author | Logan <logan@cflip.net> | 2023-04-30 18:51:05 -0600 |
---|---|---|
committer | Logan <logan@cflip.net> | 2023-04-30 18:51:05 -0600 |
commit | f4381c59c1d239400fbd787fe3a5247f0c535460 (patch) | |
tree | 8dfc62aaf276e7f8438e96fec4467bcde917d286 /scenes/splashscreen.tscn | |
parent | f30fbd753b23be1f71b4bada5e7063ac00215c33 (diff) |
Move to Godot 4 and fixes
Diffstat (limited to 'scenes/splashscreen.tscn')
-rw-r--r-- | scenes/splashscreen.tscn | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scenes/splashscreen.tscn b/scenes/splashscreen.tscn index 44c82df..66d9b37 100644 --- a/scenes/splashscreen.tscn +++ b/scenes/splashscreen.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=6 format=2] [ext_resource path="res://sound/desksmashers.ogg" type="AudioStream" id=1] -[ext_resource path="res://desksmashers.svg" type="Texture" id=2] +[ext_resource path="res://desksmashers.svg" type="Texture2D" id=2] [ext_resource path="res://scripts/splashscreen.gd" type="Script" id=3] [sub_resource type="Animation" id=1] @@ -13,8 +13,8 @@ tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array( 0 ), +"transitions": PackedFloat32Array( 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ) ] } @@ -29,8 +29,8 @@ tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.5, 2, 3.5, 5, 5.5 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array( 0, 0.5, 2, 3.5, 5, 5.5 ), +"transitions": PackedFloat32Array( 1, 1, 1, 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ) ] } @@ -46,7 +46,7 @@ tracks/1/keys = { "start_offset": 0.0, "stream": ExtResource( 1 ) } ], -"times": PoolRealArray( 1.5 ) +"times": PackedFloat32Array( 1.5 ) } [node name="SplashScreen" type="Control"] @@ -73,13 +73,13 @@ anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 -margin_left = -48.0 -margin_top = 29.0 -margin_right = 48.0 -margin_bottom = 45.0 +offset_left = -48.0 +offset_top = 29.0 +offset_right = 48.0 +offset_bottom = 45.0 text = "desksmashers" -[node name="Sprite" type="Sprite" parent="Logo/Label"] +[node name="Sprite2D" type="Sprite2D" parent="Logo/Label"] position = Vector2( 48, -30 ) scale = Vector2( 0.05, 0.05 ) texture = ExtResource( 2 ) |