even more folder stuff

This commit is contained in:
Yoshman29
2022-10-31 14:23:57 +01:00
parent 470a017660
commit 64d7b0c34b
26 changed files with 5 additions and 87 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class Note extends FlxSprite
this.noteData = noteData;
var event = new NoteCreationEvent(this, strumID, this.noteType, noteTypeID, mustPress, "NOTE_assets", 0.7);
var event = new NoteCreationEvent(this, strumID, this.noteType, noteTypeID, mustPress, "game/NOTE_assets", 0.7);
if (PlayState.instance != null)
event = PlayState.instance.scripts.event("onNoteCreation", event);
+3 -3
View File
@@ -520,7 +520,7 @@ class PlayState extends MusicBeatState
{
// case "school":
default:
babyArrow.frames = Paths.getSparrowAtlas('NOTE_assets');
babyArrow.frames = Paths.getSparrowAtlas('game/NOTE_assets');
babyArrow.animation.addByPrefix('green', 'arrowUP');
babyArrow.animation.addByPrefix('blue', 'arrowDOWN');
babyArrow.animation.addByPrefix('purple', 'arrowLEFT');
@@ -1110,7 +1110,7 @@ class PlayState extends MusicBeatState
suffix = '-pixel';
}
rating.loadGraphic(Paths.image('game/$prefix$daRating$suffix'));
rating.loadGraphic(Paths.image('game/score/$prefix$daRating$suffix'));
rating.screenCenter();
rating.x = comboPos.x - 40;
rating.y -= 60;
@@ -1118,7 +1118,7 @@ class PlayState extends MusicBeatState
rating.velocity.y -= FlxG.random.int(140, 175);
rating.velocity.x -= FlxG.random.int(0, 10);
var comboSpr:FlxSprite = new FlxSprite().loadGraphic(Paths.image('game/${prefix}combo$suffix'));
var comboSpr:FlxSprite = new FlxSprite().loadGraphic(Paths.image('game/score/${prefix}combo$suffix'));
comboSpr.screenCenter();
comboSpr.x = comboPos.x;
comboSpr.acceleration.y = 600;
@@ -146,7 +146,7 @@ class KeybindsOptions extends MusicBeatSubstate {
var sparrowIcon:String = null;
var sparrowAnim:String = null;
if (e.name.startsWith('{note')) {// is actually a note!!
sparrowIcon = "NOTE_assets";
sparrowIcon = "game/NOTE_assets";
sparrowAnim = switch(e.name) {
case '{noteLeft}':
"purple0";