Level selections now works

This commit is contained in:
Martin Felis
2024-01-28 14:35:49 +01:00
parent 154d5888f8
commit 597c32f9e2
11 changed files with 233 additions and 37 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dam8r48qo0qqh"
path="res://.godot/imported/BasicLevel.png-b10569d186ecf038de4843414924eabd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://levels/BasicLevel.png"
dest_files=["res://.godot/imported/BasicLevel.png-b10569d186ecf038de4843414924eabd.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
+7 -3
View File
@@ -4,7 +4,7 @@
[ext_resource type="PackedScene" uid="uid://bnmtyc1kkt6ku" path="res://scenes/PlatformB.tscn" id="2_alvfs"]
[ext_resource type="PackedScene" uid="uid://cc521i07ajufm" path="res://entities/SpawnPoint.tscn" id="3_5ocaq"]
[node name="Level" type="Node3D"]
[node name="BasicLevel" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.76534, 0, 5.93242)
[node name="Platforms" parent="." instance=ExtResource("1_ljufl")]
@@ -39,8 +39,12 @@ transform = Transform3D(-0.851736, 0, 0.523971, 0, 1, 0, -0.523971, 0, -0.851736
[node name="SpawnPointPlayer1" parent="." instance=ExtResource("3_5ocaq")]
[node name="SpawnPointPlayer2" parent="." instance=ExtResource("3_5ocaq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.48618, 0, -11.2001)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.83554, 0, -13.291)
player_index = 1
[node name="SpawnPointPlayer3" parent="." instance=ExtResource("3_5ocaq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.55561, 0, 3.26255)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.4298, 0, 1.74365)
[node name="SpawnPointPlayer4" parent="." instance=ExtResource("3_5ocaq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.0431, 0, -9.95279)
player_index = 1
Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b5ah0ej10awd5"
path="res://.godot/imported/Platforms.png-6509e9f078e654ad679ba5a9350838f2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://levels/Platforms.png"
dest_files=["res://.godot/imported/Platforms.png-6509e9f078e654ad679ba5a9350838f2.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
@@ -1,52 +1,52 @@
[gd_scene load_steps=6 format=3 uid="uid://b1twlocviffui"]
[gd_scene load_steps=6 format=3 uid="uid://87rik2jwk38y"]
[ext_resource type="PackedScene" uid="uid://7a2ma10hq0qa" path="res://scenes/PlatformA.tscn" id="1_p40sa"]
[ext_resource type="PackedScene" uid="uid://bnmtyc1kkt6ku" path="res://scenes/PlatformB.tscn" id="2_wxrkl"]
[ext_resource type="PackedScene" uid="uid://cc521i07ajufm" path="res://entities/SpawnPoint.tscn" id="3_sf7e8"]
[ext_resource type="PackedScene" uid="uid://0fxjod84sli" path="res://scenes/PlatformParts/heptagon_platform_medium.tscn" id="4_mhnm5"]
[ext_resource type="PackedScene" uid="uid://deod1xpjlgljl" path="res://scenes/PlatformParts/heptagon_platform_small.tscn" id="5_3ax6r"]
[ext_resource type="PackedScene" uid="uid://7a2ma10hq0qa" path="res://scenes/PlatformA.tscn" id="1_t5xh4"]
[ext_resource type="PackedScene" uid="uid://bnmtyc1kkt6ku" path="res://scenes/PlatformB.tscn" id="2_20hf0"]
[ext_resource type="PackedScene" uid="uid://cc521i07ajufm" path="res://entities/SpawnPoint.tscn" id="3_63ckc"]
[ext_resource type="PackedScene" uid="uid://0fxjod84sli" path="res://scenes/PlatformParts/heptagon_platform_medium.tscn" id="4_yewb1"]
[ext_resource type="PackedScene" uid="uid://deod1xpjlgljl" path="res://scenes/PlatformParts/heptagon_platform_small.tscn" id="5_deyyw"]
[node name="Level" type="Node3D"]
[node name="Platforms" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.76534, 0, 5.93242)
[node name="Platforms" parent="." instance=ExtResource("1_p40sa")]
[node name="Platforms" parent="." instance=ExtResource("1_t5xh4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.14317, 0, -7.62714)
[node name="Platforms2" parent="." instance=ExtResource("1_p40sa")]
[node name="Platforms2" parent="." instance=ExtResource("1_t5xh4")]
transform = Transform3D(0.960162, 0, 0.279444, 0, 1, 0, -0.279444, 0, 0.960162, 8.23778, 0, -2.69178)
[node name="Platforms3" parent="." instance=ExtResource("2_wxrkl")]
[node name="Platforms3" parent="." instance=ExtResource("2_20hf0")]
transform = Transform3D(0.998982, 0, -0.0451189, 0, 1, 0, 0.0451189, 0, 0.998982, 7.95994, 0, -17.2561)
[node name="Platforms4" parent="." instance=ExtResource("2_wxrkl")]
[node name="Platforms4" parent="." instance=ExtResource("2_20hf0")]
transform = Transform3D(0.922066, 0, 0.387033, 0, 1, 0, -0.387033, 0, 0.922066, -5.98415, 0, -9.7244)
[node name="Platforms5" parent="." instance=ExtResource("1_p40sa")]
[node name="Platforms5" parent="." instance=ExtResource("1_t5xh4")]
transform = Transform3D(0.923846, 0, -0.382764, 0, 1, 0, 0.382764, 0, 0.923846, 2.31558, 0, -23.054)
[node name="SpawnPoint" parent="." instance=ExtResource("3_sf7e8")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.08035, 0, -0.0552721)
[node name="SpawnPoint" parent="." instance=ExtResource("3_63ckc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.01383, 0, -1.93276)
[node name="SpawnPoint2" parent="." instance=ExtResource("3_sf7e8")]
[node name="SpawnPoint2" parent="." instance=ExtResource("3_63ckc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.21992, 0, -7.43863)
[node name="SpawnPoint3" parent="." instance=ExtResource("3_sf7e8")]
[node name="SpawnPoint3" parent="." instance=ExtResource("3_63ckc")]
transform = Transform3D(0.998982, 0, -0.0451189, 0, 1, 0, 0.0451189, 0, 0.998982, 3.70248, 0, -22.6231)
[node name="Platforms6" parent="." instance=ExtResource("2_wxrkl")]
[node name="Platforms6" parent="." instance=ExtResource("2_20hf0")]
transform = Transform3D(0.886317, 0, -0.463079, 0, 1, 0, 0.463079, 0, 0.886317, 16.7673, 0, -9.85118)
[node name="SpawnPoint4" parent="." instance=ExtResource("3_sf7e8")]
[node name="SpawnPoint4" parent="." instance=ExtResource("3_63ckc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.6107, 0, -8.04518)
[node name="HeptagonPlatform" parent="." instance=ExtResource("4_mhnm5")]
[node name="HeptagonPlatform" parent="." instance=ExtResource("4_yewb1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.28917, 0, -10.1963)
[node name="HeptagonPlatform2" parent="." instance=ExtResource("4_mhnm5")]
[node name="HeptagonPlatform2" parent="." instance=ExtResource("4_yewb1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.15056, 0, -9.08093)
[node name="HeptagonPlatform3" parent="." instance=ExtResource("5_3ax6r")]
[node name="HeptagonPlatform3" parent="." instance=ExtResource("5_deyyw")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.78291, 0, -10.8037)
[node name="HeptagonPlatform4" parent="." instance=ExtResource("4_mhnm5")]
[node name="HeptagonPlatform4" parent="." instance=ExtResource("4_yewb1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.07311, 0, -10.3168)