diff options
author | perivesta <> | 2023-07-09 15:45:42 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 15:45:42 +0200 |
commit | 0c0674dc05d71ab156b7077f4415b78135d7c1cc (patch) | |
tree | f2cd3f6ced34539e0b6de4ad43aa7b492821e1b2 /Levels/Level_test_2.tscn | |
parent | 5b1a456768f0072e10577f52914898473385e72b (diff) | |
download | 2023-0c0674dc05d71ab156b7077f4415b78135d7c1cc.tar.gz 2023-0c0674dc05d71ab156b7077f4415b78135d7c1cc.tar.bz2 2023-0c0674dc05d71ab156b7077f4415b78135d7c1cc.zip |
more sprites
Diffstat (limited to 'Levels/Level_test_2.tscn')
-rw-r--r-- | Levels/Level_test_2.tscn | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Levels/Level_test_2.tscn b/Levels/Level_test_2.tscn new file mode 100644 index 0000000..fff7252 --- /dev/null +++ b/Levels/Level_test_2.tscn @@ -0,0 +1,61 @@ +[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"] +[ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="3_sl2tq"] +[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="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_8dt61"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] +radius = 18.0278 + +[sub_resource type="Curve2D" id="Curve2D_0exre"] + +[node name="Level_test" type="Node2D"] +script = ExtResource("1_amd1r") + +[node name="UI" parent="." instance=ExtResource("2_veexm")] + +[node name="Start" type="TextureButton" parent="."] +offset_left = 329.0 +offset_top = 574.0 +offset_right = 361.0 +offset_bottom = 606.0 +texture_normal = ExtResource("3_sl2tq") + +[node name="FinishLine" type="Sprite2D" parent="."] +position = Vector2(694, 598) +texture = ExtResource("4_1x7qu") + +[node name="Area2D" type="Area2D" parent="FinishLine"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="FinishLine/Area2D"] +shape = SubResource("CircleShape2D_6g88q") + +[node name="Car" parent="." instance=ExtResource("5_vbxx6")] + +[node name="DrawNode" type="Node2D" parent="."] +script = ExtResource("6_6cnd6") + +[node name="TrackLine" type="Line2D" parent="DrawNode"] + +[node name="TrackPath" type="Path2D" parent="DrawNode"] +curve = SubResource("Curve2D_0exre") + +[node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"] +loop = false + +[node name="Checkpoints" type="Node" parent="."] + +[node name="Checkpoint" parent="Checkpoints" instance=ExtResource("8_8dt61")] +position = Vector2(1023, 342) + +[node name="Checkpoint2" parent="Checkpoints" instance=ExtResource("8_8dt61")] +position = Vector2(113, 279) + +[node name="Checkpoint3" parent="Checkpoints" instance=ExtResource("8_8dt61")] +position = Vector2(517, 172) + +[connection signal="mouse_entered" from="FinishLine/Area2D" to="DrawNode" method="_end_drawing"] |