From 6f212af9dd2586317a128626e7524c51edcd545d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 30 Sep 2024 23:57:13 +0200 Subject: initial commit --- Stages/Assets/course01.wav | Bin 0 -> 52121678 bytes Stages/Assets/course01.wav.import | 24 +++++++++ Stages/Assets/rip-course-1.png | Bin 0 -> 65948 bytes Stages/Assets/rip-course-1.png.import | 34 ++++++++++++ Stages/Assets/tileset.kra | Bin 0 -> 766272 bytes Stages/Assets/tileset.kra~ | Bin 0 -> 612406 bytes Stages/Assets/tileset.png | Bin 0 -> 9867 bytes Stages/Assets/tileset.png.import | 34 ++++++++++++ Stages/Assets/tileset.png~ | Bin 0 -> 6610 bytes Stages/Course01.tscn | 25 +++++++++ Stages/TileMapLayer.tscn | 95 ++++++++++++++++++++++++++++++++++ Stages/course_01.gd | 11 ++++ 12 files changed, 223 insertions(+) create mode 100644 Stages/Assets/course01.wav create mode 100644 Stages/Assets/course01.wav.import create mode 100644 Stages/Assets/rip-course-1.png create mode 100644 Stages/Assets/rip-course-1.png.import create mode 100644 Stages/Assets/tileset.kra create mode 100644 Stages/Assets/tileset.kra~ create mode 100644 Stages/Assets/tileset.png create mode 100644 Stages/Assets/tileset.png.import create mode 100644 Stages/Assets/tileset.png~ create mode 100644 Stages/Course01.tscn create mode 100644 Stages/TileMapLayer.tscn create mode 100644 Stages/course_01.gd (limited to 'Stages') diff --git a/Stages/Assets/course01.wav b/Stages/Assets/course01.wav new file mode 100644 index 0000000..6c80606 Binary files /dev/null and b/Stages/Assets/course01.wav differ diff --git a/Stages/Assets/course01.wav.import b/Stages/Assets/course01.wav.import new file mode 100644 index 0000000..33da24a --- /dev/null +++ b/Stages/Assets/course01.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://b6fgihbtlrv2d" +path="res://.godot/imported/course01.wav-a3328cd54d7a190779fce64ecb9f4915.sample" + +[deps] + +source_file="res://Stages/Assets/course01.wav" +dest_files=["res://.godot/imported/course01.wav-a3328cd54d7a190779fce64ecb9f4915.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/Stages/Assets/rip-course-1.png b/Stages/Assets/rip-course-1.png new file mode 100644 index 0000000..5c00460 Binary files /dev/null and b/Stages/Assets/rip-course-1.png differ diff --git a/Stages/Assets/rip-course-1.png.import b/Stages/Assets/rip-course-1.png.import new file mode 100644 index 0000000..842cdd6 --- /dev/null +++ b/Stages/Assets/rip-course-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://hc3kf33p6li4" +path="res://.godot/imported/rip-course-1.png-a93d59532af5d377c13c6bca2d79832e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Stages/Assets/rip-course-1.png" +dest_files=["res://.godot/imported/rip-course-1.png-a93d59532af5d377c13c6bca2d79832e.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/Stages/Assets/tileset.kra b/Stages/Assets/tileset.kra new file mode 100644 index 0000000..c9890b4 Binary files /dev/null and b/Stages/Assets/tileset.kra differ diff --git a/Stages/Assets/tileset.kra~ b/Stages/Assets/tileset.kra~ new file mode 100644 index 0000000..15bacaa Binary files /dev/null and b/Stages/Assets/tileset.kra~ differ diff --git a/Stages/Assets/tileset.png b/Stages/Assets/tileset.png new file mode 100644 index 0000000..09e5ec7 Binary files /dev/null and b/Stages/Assets/tileset.png differ diff --git a/Stages/Assets/tileset.png.import b/Stages/Assets/tileset.png.import new file mode 100644 index 0000000..08d39ca --- /dev/null +++ b/Stages/Assets/tileset.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c5byuimie360f" +path="res://.godot/imported/tileset.png-e13c78a9c99b46547344f4b1469b27ba.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Stages/Assets/tileset.png" +dest_files=["res://.godot/imported/tileset.png-e13c78a9c99b46547344f4b1469b27ba.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/Stages/Assets/tileset.png~ b/Stages/Assets/tileset.png~ new file mode 100644 index 0000000..591eca4 Binary files /dev/null and b/Stages/Assets/tileset.png~ differ diff --git a/Stages/Course01.tscn b/Stages/Course01.tscn new file mode 100644 index 0000000..acfa075 --- /dev/null +++ b/Stages/Course01.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=6 format=4 uid="uid://4k7svnvlw31b"] + +[ext_resource type="PackedScene" uid="uid://bcm3tun6ovy65" path="res://Stages/TileMapLayer.tscn" id="1_183oi"] +[ext_resource type="Script" path="res://Stages/course_01.gd" id="1_nipmt"] +[ext_resource type="PackedScene" uid="uid://487pqyrtqrew" path="res://Player/Player.tscn" id="2_id2nj"] +[ext_resource type="AudioStream" uid="uid://b6fgihbtlrv2d" path="res://Stages/Assets/course01.wav" id="4_khtfs"] +[ext_resource type="PackedScene" uid="uid://b0m35odd47p2q" path="res://UI/HUD.tscn" id="5_fr1d2"] + +[node name="Course01" type="Node2D"] +script = ExtResource("1_nipmt") + +[node name="TileMapLayer" parent="." instance=ExtResource("1_183oi")] +tile_map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AAAAdAAcAAQADAAMAAAAcAAgAAQABAAQAAAAdAAgAAQABAAQAAAAcAAkAAQABAAUAAAAdAAkAAQABAAUAAAAcAAoAAQAAAAYAAAAdAAoAAQADAAYAAAAeAAgAAQABAAQAAAAfAAgAAQABAAQAAAAgAAgAAQABAAQAAAAhAAgAAQABAAQAAAAiAAgAAQABAAQAAAAeAAkAAQABAAUAAAAfAAkAAQABAAUAAAAgAAkAAQABAAUAAAAhAAkAAQABAAUAAAAiAAkAAQABAAUAAAAeAAoAAQADAAYAAAAfAAoAAQADAAYAAAAgAAoAAQADAAYAAAAhAAoAAQADAAYAAAAiAAoAAQADAAYAAAAaAAsAAQACAAYAAAAaAAwAAQACAAYAAAAaAA0AAQACAAYAAAAaAA4AAQACAAYAAAAcAAsAAQAAAAYAAAAcAAwAAQAAAAYAAAAcAA0AAQAAAAYAAAAcAA4AAQAAAAYAAAAaABEAAQABAAQAAAAbABEAAQABAAQAAAAcABEAAQABAAQAAAA=") + +[node name="TileMapLayer2" parent="." instance=ExtResource("1_183oi")] +tile_map_data = PackedByteArray("AAAVAAcAAQAEAAQAAAAWAAcAAQAFAAQAAAAVAAgAAQABAAMAAAAWAAgAAQABAAMAAAAZAAcAAQAEAAQAAAAaAAcAAQAFAAQAAAAcAAcAAQAEAAQAAAAdAAcAAQAFAAQAAAAZAAgAAQABAAMAAAAaAAgAAQABAAMAAAAcAAgAAQABAAMAAAAdAAgAAQABAAMAAAAgAAUAAQAJAAEAAAAgAAYAAQAJAAIAAAAhAAQAAQAKAAAAAAAhAAUAAQAKAAEAAAAhAAYAAQAKAAIAAAAiAAUAAQALAAEAAAAiAAYAAQALAAIAAAAhAAcAAQAIAAMAAAA=") + +[node name="Player" parent="." instance=ExtResource("2_id2nj")] +position = Vector2(196, 94) + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource("4_khtfs") +volume_db = -5.0 + +[node name="HUD" parent="." instance=ExtResource("5_fr1d2")] diff --git a/Stages/TileMapLayer.tscn b/Stages/TileMapLayer.tscn new file mode 100644 index 0000000..2ef8ac6 --- /dev/null +++ b/Stages/TileMapLayer.tscn @@ -0,0 +1,95 @@ +[gd_scene load_steps=4 format=3 uid="uid://bcm3tun6ovy65"] + +[ext_resource type="Texture2D" uid="uid://c5byuimie360f" path="res://Stages/Assets/tileset.png" id="1_0g30t"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_frt2e"] +texture = ExtResource("1_0g30t") +margins = Vector2i(1, 1) +separation = Vector2i(1, 1) +4:0/0 = 0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, -3, -7, -3, -7, 8, 7, 8, 7, -3, 8, -3, 8, -8) +4:1/0 = 0 +0:2/0 = 0 +1:2/0 = 0 +2:2/0 = 0 +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +3:2/0 = 0 +3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +4:2/0 = 0 +8:2/0 = 0 +0:3/0 = 0 +2:3/0 = 0 +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +3:3/0 = 0 +3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +4:3/0 = 0 +5:3/0 = 0 +6:3/0 = 0 +7:3/0 = 0 +8:3/0 = 0 +0:4/0 = 0 +0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +1:4/0 = 0 +1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +2:4/0 = 0 +2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8) +3:4/0 = 0 +4:4/0 = 0 +5:4/0 = 0 +0:5/0 = 0 +1:5/0 = 0 +2:5/0 = 0 +3:5/0 = 0 +4:5/0 = 0 +5:5/0 = 0 +6:5/0 = 0 +7:5/0 = 0 +0:6/0 = 0 +1:6/0 = 0 +2:6/0 = 0 +3:6/0 = 0 +0:7/0 = 0 +1:7/0 = 0 +2:7/0 = 0 +3:7/0 = 0 +6:7/0 = 0 +10:0/0 = 0 +6:1/0 = 0 +7:1/0 = 0 +8:1/0 = 0 +9:1/0 = 0 +10:1/0 = 0 +11:1/0 = 0 +9:2/0 = 0 +10:2/0 = 0 +11:2/0 = 0 +1:3/0 = 0 +8:5/0 = 0 +9:5/0 = 0 +10:5/0 = 0 +11:5/0 = 0 +12:5/0 = 0 +4:6/0 = 0 +5:6/0 = 0 +7:6/0 = 0 +8:6/0 = 0 +10:6/0 = 0 +12:6/0 = 0 +13:6/0 = 0 +4:7/0 = 0 +5:7/0 = 0 +7:7/0 = 0 +8:7/0 = 0 +9:7/0 = 0 +10:7/0 = 0 +12:7/0 = 0 +13:7/0 = 0 + +[sub_resource type="TileSet" id="TileSet_2d2he"] +physics_layer_0/collision_layer = 16 +physics_layer_0/collision_mask = 0 +sources/1 = SubResource("TileSetAtlasSource_frt2e") + +[node name="TileMapLayer" type="TileMapLayer"] +texture_filter = 1 +tile_set = SubResource("TileSet_2d2he") diff --git a/Stages/course_01.gd b/Stages/course_01.gd new file mode 100644 index 0000000..d76bc05 --- /dev/null +++ b/Stages/course_01.gd @@ -0,0 +1,11 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + $AudioStreamPlayer.play() + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(_delta: float) -> void: + pass -- cgit v1.2.3