Support different resolutions

This commit is contained in:
2024-09-01 13:34:59 -07:00
parent 4dd89e2035
commit b0e8ab124a
5 changed files with 20 additions and 19 deletions

View File

@@ -61,6 +61,7 @@ namespace GameJamDungeon
public void Initialize()
{
AnimationPlayer.AnimationFinished += OnAnimationFinished;
SwordSlashAnimation.Position = GetViewport().GetVisibleRect().Size / 2;
}
public void Setup()