From 5b1a456768f0072e10577f52914898473385e72b Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 15:29:18 +0200 Subject: add sprites --- Levels/Tut01.tscn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Levels/Tut01.tscn') diff --git a/Levels/Tut01.tscn b/Levels/Tut01.tscn index 0d7a53f..d0ee5c6 100644 --- a/Levels/Tut01.tscn +++ b/Levels/Tut01.tscn @@ -2,15 +2,15 @@ [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_lcu5v"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_44idh"] -[ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="3_01w4e"] -[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_ugs0q"] +[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="3_ewibm"] +[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_mfiv7"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_mi6tb"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_0pqvb"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_00bmf"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_wphs7"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] -radius = 18.0278 +radius = 17.0 [sub_resource type="Curve2D" id="Curve2D_0exre"] @@ -28,14 +28,14 @@ position = Vector2(256, 422) [node name="Start" type="TextureButton" parent="Start"] offset_left = -16.0 -offset_top = -16.0 +offset_top = -7.0 offset_right = 16.0 -offset_bottom = 16.0 -texture_normal = ExtResource("3_01w4e") +offset_bottom = 9.0 +texture_normal = ExtResource("3_ewibm") [node name="FinishLine" type="Sprite2D" parent="."] position = Vector2(856, 437) -texture = ExtResource("4_ugs0q") +texture = ExtResource("4_mfiv7") [node name="Area2D" type="Area2D" parent="FinishLine"] -- cgit From 0c0674dc05d71ab156b7077f4415b78135d7c1cc Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 15:45:42 +0200 Subject: more sprites --- Levels/Tut01.tscn | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Levels/Tut01.tscn') diff --git a/Levels/Tut01.tscn b/Levels/Tut01.tscn index d0ee5c6..d7441dc 100644 --- a/Levels/Tut01.tscn +++ b/Levels/Tut01.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://bp56skqd5gqub"] +[gd_scene load_steps=11 format=3 uid="uid://bp56skqd5gqub"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_lcu5v"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_44idh"] @@ -6,7 +6,6 @@ [ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_mfiv7"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_mi6tb"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_0pqvb"] -[ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_00bmf"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_wphs7"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] @@ -55,15 +54,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_00bmf") - -[node name="31005" type="Timer" parent="DrawNode/TrackPath/TrackFollower"] -wait_time = 0.2 -one_shot = true - [node name="Checkpoints" type="Node" parent="."] [node name="Control" type="Control" parent="."] @@ -77,9 +67,9 @@ grow_vertical = 2 [node name="Label" type="Label" parent="Control"] layout_mode = 0 offset_left = 124.0 -offset_top = 378.0 +offset_top = 440.0 offset_right = 398.0 -offset_bottom = 404.0 +offset_bottom = 466.0 text = "Click here to start drawing the road" label_settings = SubResource("LabelSettings_sv8of") -- cgit