diff options
author | perivesta <> | 2023-07-09 15:29:18 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 15:29:18 +0200 |
commit | 5b1a456768f0072e10577f52914898473385e72b (patch) | |
tree | 35882879395be199fcd7eb871baea0c6d57a48de | |
parent | bcccb662566481ea5956e40086e894aa8543f665 (diff) | |
download | 2023-5b1a456768f0072e10577f52914898473385e72b.tar.gz 2023-5b1a456768f0072e10577f52914898473385e72b.tar.bz2 2023-5b1a456768f0072e10577f52914898473385e72b.zip |
add sprites
-rw-r--r-- | Assets/Images/car2.png | bin | 0 -> 3210 bytes | |||
-rw-r--r-- | Assets/Images/car2.png.import | 34 | ||||
-rw-r--r-- | Assets/Images/checkpoint_closed.png | bin | 0 -> 1598 bytes | |||
-rw-r--r-- | Assets/Images/checkpoint_closed.png.import | 34 | ||||
-rw-r--r-- | Assets/Images/checkpoint_closed_2.png | bin | 0 -> 1709 bytes | |||
-rw-r--r-- | Assets/Images/checkpoint_closed_2.png.import | 34 | ||||
-rw-r--r-- | Assets/Images/checkpoint_open.png | bin | 0 -> 1353 bytes | |||
-rw-r--r-- | Assets/Images/checkpoint_open.png.import | 34 | ||||
-rw-r--r-- | Assets/Images/goal.png | bin | 0 -> 1788 bytes | |||
-rw-r--r-- | Assets/Images/goal.png.import | 34 | ||||
-rw-r--r-- | Assets/Images/start.png | bin | 0 -> 2918 bytes | |||
-rw-r--r-- | Assets/Images/start.png.import | 34 | ||||
-rw-r--r-- | Levels/LevelTemplate.tscn | 15 | ||||
-rw-r--r-- | Levels/Tut01.tscn | 14 | ||||
-rw-r--r-- | Levels/Tut02.tscn | 18 | ||||
-rw-r--r-- | Levels/Tut03.tscn | 14 | ||||
-rw-r--r-- | Nodes/checkpoint.tscn | 10 |
17 files changed, 241 insertions, 34 deletions
diff --git a/Assets/Images/car2.png b/Assets/Images/car2.png Binary files differnew file mode 100644 index 0000000..81bbbef --- /dev/null +++ b/Assets/Images/car2.png diff --git a/Assets/Images/car2.png.import b/Assets/Images/car2.png.import new file mode 100644 index 0000000..991c7a4 --- /dev/null +++ b/Assets/Images/car2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cjb81lukqo6n4" +path="res://.godot/imported/car2.png-c26696c8468e7cd749ed9973b62346f5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/car2.png" +dest_files=["res://.godot/imported/car2.png-c26696c8468e7cd749ed9973b62346f5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Images/checkpoint_closed.png b/Assets/Images/checkpoint_closed.png Binary files differnew file mode 100644 index 0000000..a3e46de --- /dev/null +++ b/Assets/Images/checkpoint_closed.png diff --git a/Assets/Images/checkpoint_closed.png.import b/Assets/Images/checkpoint_closed.png.import new file mode 100644 index 0000000..5a5771b --- /dev/null +++ b/Assets/Images/checkpoint_closed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0kd7nhou77oj" +path="res://.godot/imported/checkpoint_closed.png-63cfdfa82858082607eb493a7e69c8b0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/checkpoint_closed.png" +dest_files=["res://.godot/imported/checkpoint_closed.png-63cfdfa82858082607eb493a7e69c8b0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Images/checkpoint_closed_2.png b/Assets/Images/checkpoint_closed_2.png Binary files differnew file mode 100644 index 0000000..65642b2 --- /dev/null +++ b/Assets/Images/checkpoint_closed_2.png diff --git a/Assets/Images/checkpoint_closed_2.png.import b/Assets/Images/checkpoint_closed_2.png.import new file mode 100644 index 0000000..1d535ad --- /dev/null +++ b/Assets/Images/checkpoint_closed_2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c016iy5c3e472" +path="res://.godot/imported/checkpoint_closed_2.png-012cfd749366decd617aecb7bdda5e58.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/checkpoint_closed_2.png" +dest_files=["res://.godot/imported/checkpoint_closed_2.png-012cfd749366decd617aecb7bdda5e58.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Images/checkpoint_open.png b/Assets/Images/checkpoint_open.png Binary files differnew file mode 100644 index 0000000..e12e6af --- /dev/null +++ b/Assets/Images/checkpoint_open.png diff --git a/Assets/Images/checkpoint_open.png.import b/Assets/Images/checkpoint_open.png.import new file mode 100644 index 0000000..e422c15 --- /dev/null +++ b/Assets/Images/checkpoint_open.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://2jhabylue78s" +path="res://.godot/imported/checkpoint_open.png-e3001ef760a211d491421c491660a500.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/checkpoint_open.png" +dest_files=["res://.godot/imported/checkpoint_open.png-e3001ef760a211d491421c491660a500.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Images/goal.png b/Assets/Images/goal.png Binary files differnew file mode 100644 index 0000000..a551928 --- /dev/null +++ b/Assets/Images/goal.png diff --git a/Assets/Images/goal.png.import b/Assets/Images/goal.png.import new file mode 100644 index 0000000..3f9c71e --- /dev/null +++ b/Assets/Images/goal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cxhterify3l" +path="res://.godot/imported/goal.png-f0a167c8455a5e07aa5433e449238f56.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/goal.png" +dest_files=["res://.godot/imported/goal.png-f0a167c8455a5e07aa5433e449238f56.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Assets/Images/start.png b/Assets/Images/start.png Binary files differnew file mode 100644 index 0000000..ad0e29f --- /dev/null +++ b/Assets/Images/start.png diff --git a/Assets/Images/start.png.import b/Assets/Images/start.png.import new file mode 100644 index 0000000..5833538 --- /dev/null +++ b/Assets/Images/start.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bsadcfl3o65wb" +path="res://.godot/imported/start.png-19e7fd182c48a04c268ca07bd064b50b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/start.png" +dest_files=["res://.godot/imported/start.png-19e7fd182c48a04c268ca07bd064b50b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Levels/LevelTemplate.tscn b/Levels/LevelTemplate.tscn index 684a4b8..18d6366 100644 --- a/Levels/LevelTemplate.tscn +++ b/Levels/LevelTemplate.tscn @@ -2,15 +2,15 @@ [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_2b4bf"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_2w0c4"] -[ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="3_ckyv7"] -[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_2vjhv"] +[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="3_2to3n"] +[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_x2h7q"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_v816p"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_ihf71"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_bofa3"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_7sh6f"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] -radius = 18.0278 +radius = 17.0 [sub_resource type="Curve2D" id="Curve2D_0exre"] @@ -24,14 +24,14 @@ position = Vector2(256, 422) [node name="Start" type="TextureButton" parent="Start"] offset_left = -16.0 -offset_top = -16.0 +offset_top = -9.0 offset_right = 16.0 -offset_bottom = 16.0 -texture_normal = ExtResource("3_ckyv7") +offset_bottom = 8.0 +texture_normal = ExtResource("3_2to3n") [node name="FinishLine" type="Sprite2D" parent="."] position = Vector2(793, 96) -texture = ExtResource("4_2vjhv") +texture = ExtResource("4_x2h7q") [node name="Area2D" type="Area2D" parent="FinishLine"] @@ -79,6 +79,7 @@ layer_1/tile_data = PackedInt32Array(2424836, 131072, 8, 2424837, 131072, 8, 242 [node name="StaticBody2D" type="StaticBody2D" parent="TileMap"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TileMap/StaticBody2D"] +position = Vector2(-1, 7) build_mode = 1 polygon = PackedVector2Array(964, 570, 845, 570, 835, 586, 765, 585, 740, 616, 594, 618, 580, 602, 462, 601, 449, 617, 257, 618, 244, 601, 225, 602, 211, 586, 124, 585, 115, 599, 49, 602, 40, 595, 38, 573, 24, 561, 23, 538, 38, 535, 39, 509, 54, 501, 54, 364, 39, 351, 38, 318, 23, 304, 22, 284, 36, 278, 38, 173, 24, 163, 23, 123, 35, 118, 44, 105, 57, 101, 54, 58, 68, 54, 82, 54, 92, 39, 196, 38, 203, 53, 277, 53, 283, 68, 454, 70, 460, 56, 484, 54, 494, 38, 581, 38, 586, 51, 660, 53, 667, 69, 724, 70, 732, 55, 756, 54, 763, 39, 801, 37, 815, 55, 828, 39, 897, 37, 922, 68, 980, 71, 987, 84, 1075, 86, 1111, 122, 1113, 148, 1129, 155, 1130, 205, 1115, 220, 1115, 256, 1099, 268, 1097, 322, 1111, 331, 1113, 385, 1096, 396, 1098, 419, 1113, 427, 1115, 481, 1099, 491, 1099, 571, 1089, 585, 1069, 583, 1059, 600, 1011, 603, 996, 585, 978, 585) 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"] diff --git a/Levels/Tut02.tscn b/Levels/Tut02.tscn index 9ff8071..ff34cd0 100644 --- a/Levels/Tut02.tscn +++ b/Levels/Tut02.tscn @@ -2,15 +2,15 @@ [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_77i7n"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_wchsl"] -[ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="3_ed1lc"] -[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_dlrt7"] +[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="3_eeg1f"] +[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_yklwl"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_h0kjy"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_0m5bn"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_xyp4c"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_a1rvy"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] -radius = 18.0278 +radius = 17.0 [sub_resource type="Curve2D" id="Curve2D_0exre"] @@ -22,21 +22,22 @@ outline_color = Color(0, 0, 0, 1) script = ExtResource("1_77i7n") [node name="UI" parent="." instance=ExtResource("2_wchsl")] +visible = false [node name="Start" type="Node2D" parent="."] 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_ed1lc") -metadata/_edit_use_anchors_ = true +offset_bottom = 9.0 +texture_normal = ExtResource("3_eeg1f") [node name="FinishLine" type="Sprite2D" parent="."] +visible = false position = Vector2(983, 158) -texture = ExtResource("4_dlrt7") +texture = ExtResource("4_yklwl") [node name="Area2D" type="Area2D" parent="FinishLine"] @@ -85,6 +86,7 @@ text = "Sand is off limits and the car won't go there" label_settings = SubResource("LabelSettings_sv8of") [node name="TileMap" type="TileMap" parent="."] +visible = false z_index = -1 tile_set = ExtResource("8_a1rvy") format = 2 diff --git a/Levels/Tut03.tscn b/Levels/Tut03.tscn index 70a1b0c..1aa974a 100644 --- a/Levels/Tut03.tscn +++ b/Levels/Tut03.tscn @@ -2,8 +2,8 @@ [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_6ktyo"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_cbrmn"] -[ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="3_l1fmi"] -[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_7livr"] +[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="3_1xw6i"] +[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_a601a"] [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_hgfxg"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_uikm8"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_ius8n"] @@ -11,7 +11,7 @@ [ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_7nfp6"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] -radius = 18.0278 +radius = 17.0 [sub_resource type="Curve2D" id="Curve2D_0exre"] @@ -29,14 +29,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_l1fmi") +offset_bottom = 9.0 +texture_normal = ExtResource("3_1xw6i") [node name="FinishLine" type="Sprite2D" parent="."] position = Vector2(856, 437) -texture = ExtResource("4_7livr") +texture = ExtResource("4_a601a") [node name="Area2D" type="Area2D" parent="FinishLine"] diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn index 0f76bc6..458f121 100644 --- a/Nodes/checkpoint.tscn +++ b/Nodes/checkpoint.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=4 format=3 uid="uid://wkfai2lvnp7n"] [ext_resource type="Script" path="res://Scripts/Checkpoint.gd" id="1_fwyov"] -[ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="2_0dl7u"] +[ext_resource type="Texture2D" uid="uid://2jhabylue78s" path="res://Assets/Images/checkpoint_open.png" id="2_62gva"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_f8epl"] -size = Vector2(32, 32) +[sub_resource type="CircleShape2D" id="CircleShape2D_q6wen"] +radius = 17.0294 [node name="Checkpoint" type="Node2D"] script = ExtResource("1_fwyov") @@ -12,9 +12,9 @@ script = ExtResource("1_fwyov") [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -shape = SubResource("RectangleShape2D_f8epl") +shape = SubResource("CircleShape2D_q6wen") [node name="Sprite2D" type="Sprite2D" parent="."] -texture = ExtResource("2_0dl7u") +texture = ExtResource("2_62gva") [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |