diff options
Diffstat (limited to 'Scenes')
-rw-r--r-- | Scenes/Dungeon.tscn | 13 | ||||
-rw-r--r-- | Scenes/Obstacle.tscn | 11 |
2 files changed, 17 insertions, 7 deletions
diff --git a/Scenes/Dungeon.tscn b/Scenes/Dungeon.tscn index 5ca40d8..5795e4d 100644 --- a/Scenes/Dungeon.tscn +++ b/Scenes/Dungeon.tscn @@ -1,10 +1,17 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://Scenes/Dungeon.gd" type="Script" id=1] [ext_resource path="res://Scenes/CameraControl.gd" type="Script" id=2] +[ext_resource path="res://Assets/Environment/Floor_tile.png" type="Texture" id=3] [sub_resource type="PlaneMesh" id=1] +[sub_resource type="SpatialMaterial" id=4] +albedo_color = Color( 0.694118, 0.505882, 0.666667, 1 ) +albedo_texture = ExtResource( 3 ) +uv1_scale = Vector3( 12, 12, 1 ) +uv1_offset = Vector3( 0.25, 0.25, 1 ) + [sub_resource type="ProceduralSky" id=2] [sub_resource type="Environment" id=3] @@ -17,9 +24,9 @@ dof_blur_far_amount = 0.06 script = ExtResource( 1 ) [node name="Floor" type="MeshInstance" parent="."] -transform = Transform( 12.2453, 0, 0, 0, 1, 0, 0, 0, 12.2453, 0, 0, 0 ) +transform = Transform( 12, 0, 0, 0, 1, 0, 0, 0, 12, 0, 0, 0 ) mesh = SubResource( 1 ) -material/0 = null +material/0 = SubResource( 4 ) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 3 ) diff --git a/Scenes/Obstacle.tscn b/Scenes/Obstacle.tscn index a768039..40d9338 100644 --- a/Scenes/Obstacle.tscn +++ b/Scenes/Obstacle.tscn @@ -1,18 +1,21 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://Scenes/Entity.gd" type="Script" id=1] +[ext_resource path="res://Assets/Environment/Obstacle.png" type="Texture" id=2] [sub_resource type="CubeMesh" id=6] -size = Vector3( 0.8, 0.8, 0.8 ) +size = Vector3( 1, 1, 1 ) [sub_resource type="SpatialMaterial" id=5] -albedo_color = Color( 0.976471, 0.541176, 0.541176, 1 ) +albedo_color = Color( 0.627451, 0.701961, 0.788235, 1 ) +albedo_texture = ExtResource( 2 ) +uv1_scale = Vector3( 3, 2, 1 ) [node name="Obstacle" type="Spatial"] script = ExtResource( 1 ) [node name="Mesh" type="MeshInstance" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0 ) +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 ) mesh = SubResource( 6 ) skeleton = NodePath("../..") material/0 = SubResource( 5 ) |