diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 18:24:54 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 18:24:54 -0300 |
commit | 7111fadc087193909e985937519e313b670658e8 (patch) | |
tree | fbb2a0e3721765661668e65cba0a206e6eccf5ff | |
parent | 749bc692c45ee5db57b4c19f6f3128f2c25b75e1 (diff) | |
download | gamejam-gmtk-2022-7111fadc087193909e985937519e313b670658e8.tar.gz gamejam-gmtk-2022-7111fadc087193909e985937519e313b670658e8.tar.bz2 gamejam-gmtk-2022-7111fadc087193909e985937519e313b670658e8.zip |
Obstacle material change
-rw-r--r-- | Scenes/Obstacle.tscn | 7 | ||||
-rw-r--r-- | Scenes/Player.tscn | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Scenes/Obstacle.tscn b/Scenes/Obstacle.tscn index aeb41d6..f8fb257 100644 --- a/Scenes/Obstacle.tscn +++ b/Scenes/Obstacle.tscn @@ -1,12 +1,13 @@ -[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_texture = ExtResource( 2 ) [node name="Obstacle" type="Spatial"] script = ExtResource( 1 ) diff --git a/Scenes/Player.tscn b/Scenes/Player.tscn index a24398f..4d67f5e 100644 --- a/Scenes/Player.tscn +++ b/Scenes/Player.tscn @@ -29,6 +29,9 @@ albedo_texture = ExtResource( 6 ) script = ExtResource( 1 ) actionable = true +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +root_node = NodePath("../Mesh") + [node name="Mesh" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 ) |