diff options
author | perivesta <> | 2023-07-09 13:05:58 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 13:05:58 +0200 |
commit | baf451d062acc110e791e73d28be9bdbf20a1eb3 (patch) | |
tree | 872de4909bff803614cc09d1e5a899caa7f7e902 | |
parent | 1bdd095785d4b2baa4c11bf981b008ce59ccb75d (diff) | |
download | 2023-baf451d062acc110e791e73d28be9bdbf20a1eb3.tar.gz 2023-baf451d062acc110e791e73d28be9bdbf20a1eb3.tar.bz2 2023-baf451d062acc110e791e73d28be9bdbf20a1eb3.zip |
better level end ui and some cleanup
Diffstat (limited to '')
-rw-r--r-- | Nodes/Level_test.tscn | 12 | ||||
-rw-r--r-- | Nodes/Level_test_2.tscn | 12 | ||||
-rw-r--r-- | Nodes/ui.tscn | 2 |
3 files changed, 3 insertions, 23 deletions
diff --git a/Nodes/Level_test.tscn b/Nodes/Level_test.tscn index f082198..6e2c195 100644 --- a/Nodes/Level_test.tscn +++ b/Nodes/Level_test.tscn @@ -1,9 +1,8 @@ -[gd_scene load_steps=11 format=3 uid="uid://dliou1u4o6bib"] +[gd_scene load_steps=10 format=3 uid="uid://dliou1u4o6bib"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_0esj3"] [ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="1_wenkl"] [ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="2_gp6ng"] -[ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="3_cgigr"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="4_xvobs"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="5_x7h3g"] [ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="7_52mhf"] @@ -50,15 +49,6 @@ curve = SubResource("Curve2D_0exre") [node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"] loop = false -[node name="Sprite2D" type="Sprite2D" parent="DrawNode/TrackPath/TrackFollower"] -visible = false -scale = Vector2(0.604, 0.604) -texture = ExtResource("3_cgigr") - -[node name="31005" type="Timer" parent="DrawNode/TrackPath/TrackFollower"] -wait_time = 0.2 -one_shot = true - [node name="Checkpoints" type="Node" parent="."] [node name="Checkpoint" parent="Checkpoints" instance=ExtResource("7_52mhf")] diff --git a/Nodes/Level_test_2.tscn b/Nodes/Level_test_2.tscn index 9376c7f..df32fcd 100644 --- a/Nodes/Level_test_2.tscn +++ b/Nodes/Level_test_2.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=11 format=3 uid="uid://b7nxnsf8dirqk"] +[gd_scene load_steps=10 format=3 uid="uid://b7nxnsf8dirqk"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_amd1r"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_veexm"] @@ -6,7 +6,6 @@ [ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_1x7qu"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_vbxx6"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_6cnd6"] -[ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_alupw"] [ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_8dt61"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] @@ -50,15 +49,6 @@ curve = SubResource("Curve2D_0exre") [node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"] loop = false -[node name="Sprite2D" type="Sprite2D" parent="DrawNode/TrackPath/TrackFollower"] -visible = false -scale = Vector2(0.604, 0.604) -texture = ExtResource("7_alupw") - -[node name="31005" type="Timer" parent="DrawNode/TrackPath/TrackFollower"] -wait_time = 0.2 -one_shot = true - [node name="Checkpoints" type="Node" parent="."] [node name="Checkpoint" parent="Checkpoints" instance=ExtResource("8_8dt61")] diff --git a/Nodes/ui.tscn b/Nodes/ui.tscn index fd035c2..dcbbfa2 100644 --- a/Nodes/ui.tscn +++ b/Nodes/ui.tscn @@ -46,7 +46,7 @@ offset_right = 69.0 offset_bottom = 42.0 text = "Time: " -[node name="PostGameUI" type="Control" parent="Control"] +[node name="PostGameUI" type="Panel" parent="Control"] visible = false layout_mode = 1 anchors_preset = 15 |