start of level system

This commit is contained in:
Haze Weathers 2025-02-28 03:37:26 -05:00
parent c18a7746f7
commit ab2d42ccd9
11 changed files with 342 additions and 4 deletions

View file

@ -1,6 +1,7 @@
[gd_scene load_steps=14 format=3 uid="uid://bkas0lj53glkn"]
[gd_scene load_steps=16 format=3 uid="uid://bkas0lj53glkn"]
[ext_resource type="Script" uid="uid://vydhlp6ju8bw" path="res://levels/level.gd" id="1_r1ilo"]
[ext_resource type="Script" uid="uid://hmtamckjm4vm" path="res://levels/level_info.gd" id="2_61qek"]
[ext_resource type="MeshLibrary" uid="uid://bqxgr3arh0i7f" path="res://assets/mesh_libraries/w1/w1_walls.meshlib" id="2_81akk"]
[ext_resource type="PackedScene" uid="uid://cybm74xwbsivx" path="res://objects/canny_cat.tscn" id="4_emyyh"]
[ext_resource type="PackedScene" uid="uid://cdpgby3r6xe4n" path="res://objects/goal_post.tscn" id="5_oq0l4"]
@ -8,6 +9,12 @@
[ext_resource type="PackedScene" uid="uid://bfic5n608nc5j" path="res://objects/sand_pit.tscn" id="6_rlgmy"]
[ext_resource type="Texture2D" uid="uid://cpmi7w2fwm2sf" path="res://assets/textures/world/checker_grass.png" id="7_3jvq7"]
[sub_resource type="Resource" id="Resource_qskty"]
script = ExtResource("2_61qek")
title = "Welcome To Poo Central!"
difficulty = 1
metadata/_custom_type_script = "uid://hmtamckjm4vm"
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_oakh3"]
sky_top_color = Color(0.270389, 0.858166, 0.929253, 1)
sky_horizon_color = Color(0.270588, 0.858824, 0.929412, 1)
@ -33,8 +40,8 @@ resource_local_to_scene = true
shading_mode = 0
albedo_color = Color(0.916968, 0.113727, 0, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_roqf0"]
size = Vector2(32, 32)
[sub_resource type="BoxMesh" id="BoxMesh_25rxq"]
size = Vector3(32, 1, 32)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tpmcl"]
render_priority = 0
@ -45,6 +52,7 @@ shader_parameter/uv_scale = Vector2(0.5, 0.5)
[node name="Level" type="Node3D"]
script = ExtResource("1_r1ilo")
info = SubResource("Resource_qskty")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_n6dij")
@ -86,7 +94,8 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -12.54
polygon = PackedVector2Array(2.33224, -4.27959, 0.718879, 0.533604, 2.00957, 6.26103, -3.74475, 6.12658, -3.52964, -4.44092)
[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
use_collision = true
collision_mask = 0
mesh = SubResource("PlaneMesh_roqf0")
mesh = SubResource("BoxMesh_25rxq")
material = SubResource("ShaderMaterial_tpmcl")

101
levels/w1/1_02.tscn Normal file

File diff suppressed because one or more lines are too long

101
levels/w1/1_03.tscn Normal file

File diff suppressed because one or more lines are too long

BIN
levels/w1/1_04.scn Normal file

Binary file not shown.