diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 18:32:02 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-16 18:32:02 -0300 |
commit | 344bdf2939ab3c02d94a4562fb48f639faeb35df (patch) | |
tree | 1e332979dc12c6420da0d9097079aabd390c1db9 | |
parent | 7111fadc087193909e985937519e313b670658e8 (diff) | |
download | gamejam-gmtk-2022-344bdf2939ab3c02d94a4562fb48f639faeb35df.tar.gz gamejam-gmtk-2022-344bdf2939ab3c02d94a4562fb48f639faeb35df.tar.bz2 gamejam-gmtk-2022-344bdf2939ab3c02d94a4562fb48f639faeb35df.zip |
Fix monster positions
-rw-r--r-- | Assets/Enemies/Skeleton-Square-Monster.png.import | 2 | ||||
-rw-r--r-- | Scenes/Dungeon.gd | 2 | ||||
-rw-r--r-- | Scenes/Monster.tscn | 6 | ||||
-rw-r--r-- | 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 ) |