diff --git a/maps/test_room.tscn b/maps/test_room.tscn index 26ff011..c0aab93 100644 --- a/maps/test_room.tscn +++ b/maps/test_room.tscn @@ -131,13 +131,13 @@ position = Vector2( 48, 120 ) [node name="AnimatedSprite" parent="RollingFiend" index="0"] visible = false +frame = 1 [node name="SawTest2" type="AnimatedSprite" parent="RollingFiend"] material = SubResource( 4 ) position = Vector2( 4, 4 ) z_index = -3 frames = SubResource( 5 ) -frame = 1 playing = true [node name="Steam" parent="." instance=ExtResource( 23 )] diff --git a/objects/camera.gd b/objects/camera.gd index 8d137a1..62c0979 100644 --- a/objects/camera.gd +++ b/objects/camera.gd @@ -16,7 +16,7 @@ func _process(delta): if not is_instance_valid(player): player = get_tree().get_nodes_in_group("player").pop_front() else: - var current_sector = Game.get_sector(player.global_position + Vector2(0.0, -5.0)) + var current_sector = Game.get_sector(player.global_position + Vector2(0.0, 1.0)) if scroll_h && current_sector.x != last_sector.x: position.x = current_sector.x * Game.resolution.x if respawn_h: