some fixes
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1380
|
||||
1381
|
||||
@@ -673,7 +673,7 @@ class PlayState extends MusicBeatState
|
||||
{
|
||||
// case "school":
|
||||
default:
|
||||
babyArrow.frames = Paths.getSparrowAtlas('game/NOTE_assets');
|
||||
babyArrow.frames = Paths.getFrames(event.sprite);
|
||||
babyArrow.animation.addByPrefix('green', 'arrowUP');
|
||||
babyArrow.animation.addByPrefix('blue', 'arrowDOWN');
|
||||
babyArrow.animation.addByPrefix('purple', 'arrowLEFT');
|
||||
|
||||
@@ -21,6 +21,11 @@ class StrumCreationEvent extends CancellableEvent {
|
||||
*/
|
||||
public var strumID:Int;
|
||||
|
||||
/**
|
||||
* Sprite path, in case you only want to change the sprite.
|
||||
*/
|
||||
public var sprite:String = "game/NOTE_assets";
|
||||
|
||||
public function new(strum:Strum, player:Int, strumID:Int) {
|
||||
super();
|
||||
this.strum = strum;
|
||||
|
||||
Reference in New Issue
Block a user