floor meshing

This commit is contained in:
2024-08-02 03:48:26 +03:00
parent 77892c47e4
commit d9cf3be232
4 changed files with 87 additions and 18 deletions

View File

@ -1,10 +1,11 @@
[gd_scene load_steps=7 format=3 uid="uid://deff7lt34nj0h"]
[gd_scene load_steps=8 format=3 uid="uid://deff7lt34nj0h"]
[ext_resource type="Script" path="res://Scripts/Space/Space.gd" id="1_ckp7u"]
[ext_resource type="Script" path="res://Scripts/Space/SpaceRegion.gd" id="2_s3h7s"]
[ext_resource type="Texture2D" uid="uid://h0skytm8grcu" path="res://icon.svg" id="3_7vff1"]
[ext_resource type="Texture2D" uid="uid://icmmuqquxhq3" path="res://Art/Stone_06-128x128.png" id="3_ondo6"]
[ext_resource type="Texture2D" uid="uid://buoupwtftxjse" path="res://Art/Stone_05-128x128.png" id="3_r08k8"]
[ext_resource type="Texture2D" uid="uid://eempmja460l5" path="res://Art/Stone_11-128x128.png" id="4_mnswr"]
[ext_resource type="Script" path="res://Scripts/Space/SpaceSpawn.gd" id="4_rhl23"]
[node name="Dungeon" type="Node2D"]
@ -15,7 +16,7 @@ position = Vector2(-30, -8)
polygon = PackedVector2Array(30, 72, 262, 32, 497, 192, 286, 328, 94, 264)
script = ExtResource("2_s3h7s")
wall_texture = ExtResource("3_ondo6")
floor_texture = ExtResource("3_r08k8")
floor_texture = ExtResource("4_mnswr")
[node name="Column" type="Polygon2D" parent="Room"]
position = Vector2(78, -8)