From 0c0674dc05d71ab156b7077f4415b78135d7c1cc Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 15:45:42 +0200 Subject: more sprites --- Nodes/car.tscn | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Nodes/car.tscn') diff --git a/Nodes/car.tscn b/Nodes/car.tscn index dbfb4e1..c3eb2a6 100644 --- a/Nodes/car.tscn +++ b/Nodes/car.tscn @@ -1,17 +1,18 @@ [gd_scene load_steps=4 format=3 uid="uid://c1mvbh2fwqtkb"] [ext_resource type="Script" path="res://Scripts/car_behaviour.gd" id="1_0e4ux"] - -[sub_resource type="CanvasTexture" id="CanvasTexture_aacgf"] +[ext_resource type="Texture2D" uid="uid://cjb81lukqo6n4" path="res://Assets/Images/car2.png" id="2_wteha"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_wvlyu"] +size = Vector2(32, 14) [node name="Car" type="CharacterBody2D"] script = ExtResource("1_0e4ux") [node name="Sprite2D" type="Sprite2D" parent="."] -scale = Vector2(19.92, 19.76) -texture = SubResource("CanvasTexture_aacgf") +visible = false +rotation = 1.5708 +texture = ExtResource("2_wteha") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_wvlyu") -- cgit From 317e16b1f99036275ac27f850314df5a965526a9 Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 15:53:42 +0200 Subject: thank u ice very cool --- Nodes/car.tscn | 1 - 1 file changed, 1 deletion(-) (limited to 'Nodes/car.tscn') diff --git a/Nodes/car.tscn b/Nodes/car.tscn index c3eb2a6..a65ae7b 100644 --- a/Nodes/car.tscn +++ b/Nodes/car.tscn @@ -10,7 +10,6 @@ size = Vector2(32, 14) script = ExtResource("1_0e4ux") [node name="Sprite2D" type="Sprite2D" parent="."] -visible = false rotation = 1.5708 texture = ExtResource("2_wteha") -- cgit