Skip to content

Commit

Permalink
default noteskin stuff, some fixes and general improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
DuskieWhy committed Jul 24, 2024
1 parent c70dba1 commit 54c53fa
Show file tree
Hide file tree
Showing 6 changed files with 336 additions and 197 deletions.
15 changes: 15 additions & 0 deletions assets/preload/noteskins/default.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// this gets the BF noteskin
function bfSkin() { return "NOTE_assets"; }

// this gets the DAD noteskin
function dadSkin() { return "NOTE_assets"; }

// this gets the notesplash skin and offset
function noteSplash(offsets){ return "noteSplashes"; }

// does ur noteskin have quants ?
function quants() { return true; }

// offset notes, receptors and sustains
function offset(noteOff, strumOff, susOff){}

2 changes: 1 addition & 1 deletion source/meta/data/Song.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Song
public var events:Array<Dynamic>;
public var bpm:Float;
public var needsVoices:Bool = true;
public var arrowSkin:String;
public var arrowSkin:String = 'default';
public var splashSkin:String;
public var speed:Float = 1;
public var stage:String;
Expand Down
11 changes: 5 additions & 6 deletions source/meta/data/options/MiscSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,14 @@ class MiscSubState extends BaseOptionsMenu
); //Default value
addOption(option);
}
/*
var option:Option = new Option('Persistent Cached Data',
'If checked, images loaded will stay in memory\nuntil the game is closed, this increases memory usage,\nbut basically makes reloading times instant.',
'imagesPersist',

var option:Option = new Option('GPU Caching',
'If checked, GPU caching will be enabled.',
'gpuCaching',
'bool',
false);
option.onChange = onChangePersistentData; //Persistent Cached Data changes FlxGraphic.defaultPersist
addOption(option);
*/


super();
}
Expand Down
1 change: 1 addition & 0 deletions source/meta/data/scripts/FunkinHScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ class FunkinHScript extends FunkinScript
set("FlxEase", FlxEase);
set("FlxSave", flixel.util.FlxSave); // should probably give it 1 save instead of giving it FlxSave
set("FlxBar", flixel.ui.FlxBar);
set("FlxFlicker", flixel.effects.FlxFlicker);

set("LEFT_TO_RIGHT", LEFT_TO_RIGHT);
set("RIGHT_TO_LEFT", RIGHT_TO_LEFT);
Expand Down
Loading

0 comments on commit 54c53fa

Please sign in to comment.