Skip to content

Commit

Permalink
cache textures at their new locations!
Browse files Browse the repository at this point in the history
  • Loading branch information
anysad authored and charlesisfeline committed Jul 16, 2024
1 parent 82777af commit da98a6c
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions source/funkin/ui/transition/LoadingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,28 @@ class LoadingState extends MusicBeatSubState

FunkinSprite.cacheTexture(Paths.image('healthBar'));
FunkinSprite.cacheTexture(Paths.image('menuDesat'));
FunkinSprite.cacheTexture(Paths.image('combo'));
FunkinSprite.cacheTexture(Paths.image('num0'));
FunkinSprite.cacheTexture(Paths.image('num1'));
FunkinSprite.cacheTexture(Paths.image('num2'));
FunkinSprite.cacheTexture(Paths.image('num3'));
FunkinSprite.cacheTexture(Paths.image('num4'));
FunkinSprite.cacheTexture(Paths.image('num5'));
FunkinSprite.cacheTexture(Paths.image('num6'));
FunkinSprite.cacheTexture(Paths.image('num7'));
FunkinSprite.cacheTexture(Paths.image('num8'));
FunkinSprite.cacheTexture(Paths.image('num9'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/combo'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num0'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num1'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num2'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num3'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num4'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num5'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num6'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num7'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num8'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/normal/num9'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/combo-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num0-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num1-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num2-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num3-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num4-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num5-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num6-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num7-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num8-pixel'));
FunkinSprite.cacheTexture(Paths.image('gameplay/popup/pixel/num9-pixel'));
FunkinSprite.cacheTexture(Paths.image('notes', 'shared'));
FunkinSprite.cacheTexture(Paths.image('noteSplashes', 'shared'));
FunkinSprite.cacheTexture(Paths.image('noteStrumline', 'shared'));
Expand Down

0 comments on commit da98a6c

Please sign in to comment.