initial work on level geometry done from godot 2d nodes
This commit is contained in:
21
Spaces/Dungeon.tscn
Normal file
21
Spaces/Dungeon.tscn
Normal file
@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=5 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="Script" path="res://Scripts/Space/SpaceSpawn.gd" id="4_rhl23"]
|
||||
|
||||
[node name="Dungeon" type="Node2D"]
|
||||
script = ExtResource("1_ckp7u")
|
||||
|
||||
[node name="Room" type="Polygon2D" parent="."]
|
||||
position = Vector2(-30, -8)
|
||||
polygon = PackedVector2Array(30, 72, 262, 32, 497, 192, 286, 328, 94, 264)
|
||||
script = ExtResource("2_s3h7s")
|
||||
|
||||
[node name="Spawn" type="Sprite2D" parent="."]
|
||||
position = Vector2(72, 104)
|
||||
rotation = 0.159622
|
||||
scale = Vector2(0.25, 0.25)
|
||||
texture = ExtResource("3_7vff1")
|
||||
script = ExtResource("4_rhl23")
|
Reference in New Issue
Block a user