From 344bdf2939ab3c02d94a4562fb48f639faeb35df Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Sat, 16 Jul 2022 18:32:02 -0300 Subject: Fix monster positions --- Assets/Enemies/Skeleton-Square-Monster.png.import | 2 +- Scenes/Dungeon.gd | 2 +- Scenes/Monster.tscn | 6 +++--- Scenes/MonsterIdle.tscn | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Assets/Enemies/Skeleton-Square-Monster.png.import b/Assets/Enemies/Skeleton-Square-Monster.png.import index ae0c594..1e4056c 100644 --- a/Assets/Enemies/Skeleton-Square-Monster.png.import +++ b/Assets/Enemies/Skeleton-Square-Monster.png.import @@ -21,7 +21,7 @@ compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 -flags/repeat=true +flags/repeat=0 flags/filter=true flags/mipmaps=true flags/anisotropic=false diff --git a/Scenes/Dungeon.gd b/Scenes/Dungeon.gd index c1ece2f..2ea5a62 100644 --- a/Scenes/Dungeon.gd +++ b/Scenes/Dungeon.gd @@ -2,7 +2,7 @@ extends Spatial const Player = preload("res://Scenes/Player.tscn") const Obstacle = preload("res://Scenes/Obstacle.tscn") -const MonsterScene = preload("res://Scenes/MonsterRandCardinal.tscn") +const MonsterScene = preload("res://Scenes/MonsterIdle.tscn") const PlateBounce = preload("res://Scenes/PlateBounce.tscn") const PlateKey = preload("res://Scenes/PlateKey.tscn") const Crystal = preload("res://Scenes/Crystal.tscn") diff --git a/Scenes/Monster.tscn b/Scenes/Monster.tscn index 8611e3d..a67c88f 100644 --- a/Scenes/Monster.tscn +++ b/Scenes/Monster.tscn @@ -44,7 +44,7 @@ tracks/0/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, -"values": [ Vector3( 1, 1, 1 ), Vector3( 1.4, 0, 1 ) ] +"values": [ Vector3( 1, 1, 1 ), Vector3( 1.5, 0, 1 ) ] } tracks/1/type = "value" tracks/1/path = NodePath("Sprite3D:translation") @@ -56,7 +56,7 @@ tracks/1/keys = { "times": PoolRealArray( 0, 0.2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, -"values": [ Vector3( 0, 1, 0 ), Vector3( 0, 0, 0 ) ] +"values": [ Vector3( 0, 0.605694, 0 ), Vector3( 0, 0, 0 ) ] } [sub_resource type="Animation" id=3] @@ -84,7 +84,7 @@ tracks/1/keys = { "times": PoolRealArray( 0, 0.1, 0.2 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, -"values": [ Vector3( 0, 1, 0 ), Vector3( 0, 0, 0 ), Vector3( 0, 1, 0 ) ] +"values": [ Vector3( 0, 0.605694, 0 ), Vector3( 0, 0, 0 ), Vector3( 0, 0.605694, 0 ) ] } [node name="Monster" type="Spatial"] diff --git a/Scenes/MonsterIdle.tscn b/Scenes/MonsterIdle.tscn index 8f194f1..db98dba 100644 --- a/Scenes/MonsterIdle.tscn +++ b/Scenes/MonsterIdle.tscn @@ -6,7 +6,6 @@ [node name="MonsterIdle" instance=ExtResource( 1 )] script = ExtResource( 2 ) -actionable = false [node name="Sprite3D" parent="." index="0"] texture = ExtResource( 3 ) -- cgit v1.2.3