-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom Weeks, Fixes tried to add stages but can't
- Loading branch information
1 parent
07e0d4f
commit a02390f
Showing
19 changed files
with
846 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"animations": [ | ||
{ | ||
"animName": "idle", | ||
"anim": "BF idle dance", | ||
"fps": 24, | ||
"loop": true | ||
}, | ||
{ | ||
"animName": "singUP", | ||
"anim": "BF NOTE UP0", | ||
"fps": 24, | ||
"loop": false | ||
|
||
}, | ||
{ | ||
"animName": "singLEFT", | ||
"anim": "BF NOTE LEFT0", | ||
"fps": 24, | ||
"loop": false | ||
|
||
}, | ||
{ | ||
"animName": "singRIGHT", | ||
"anim": "BF NOTE RIGHT0", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "singDOWN", | ||
"anim": "BF NOTE DOWN0", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "singUPmiss", | ||
"anim": "BF NOTE UP MISS", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "singLEFTmiss", | ||
"anim": "BF NOTE LEFT MISS", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "singRIGHTmiss", | ||
"anim": "BF NOTE RIGHT MISS", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "singDOWNmiss", | ||
"anim": "BF NOTE DOWN MISS", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "hey", | ||
"anim": "BF HEY", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "firstDeath", | ||
"anim": "BF dies", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "deathLoop", | ||
"anim": "BF Dead Loop", | ||
"fps": 24, | ||
"loop": true | ||
}, | ||
{ | ||
"animName": "deathConfirm", | ||
"anim": "BF Dead confirm", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "dodge", | ||
"anim": "boyfriend dodge", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "scared", | ||
"anim": "BF idle shaking", | ||
"fps": 24, | ||
"loop": false | ||
}, | ||
{ | ||
"animName": "hit", | ||
"anim": "BF hit", | ||
"fps": 24, | ||
"loop": false | ||
} | ||
], | ||
"globalOffset": [0, 0], | ||
"isPlayable": false, | ||
"skins": [], | ||
"barcolor": { | ||
"red": 49, | ||
"green": 176, | ||
"blue": 209 | ||
}, | ||
"antialiasing": true, | ||
"nativelyPlayable": true, | ||
"flipX": true, | ||
"updateHitbox": false, | ||
"setGraphicSize": "", | ||
"effect": "" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
idle -5 0 | ||
singUP -29 27 | ||
singRIGHT -38 -7 | ||
singLEFT 12 -6 | ||
singDOWN -10 -50 | ||
singUPmiss -29 27 | ||
singRIGHTmiss -30 21 | ||
singLEFTmiss 12 24 | ||
singDOWNmiss -11 -19 | ||
hey 7 4 | ||
firstDeath 37 11 | ||
deathLoop 37 5 | ||
deathConfirm 37 69 | ||
scared -4 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"weeks": [ | ||
{ | ||
"songList": ["Test", "Test"], | ||
"weekName": "Test Week", | ||
"bannerName": "testbanner" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package; | ||
import flixel.group.FlxGroup.FlxTypedGroup; | ||
import flixel.FlxSprite; | ||
|
||
using StringTools; | ||
|
||
class CustomBGSprite extends FlxSprite | ||
{ | ||
public var spriteName:String; | ||
public function new(spriteName:String, posX:Float, posY:Float, path:String = '', animations:Array<Animation>, scrollX:Float = 1, scrollY:Float = 1, antialiasing:Bool = true, active:Bool = false) | ||
{ | ||
super(posX, posY); | ||
|
||
this.spriteName = spriteName; | ||
var hasAnimations:Bool = animations != null; | ||
|
||
if (path != '') | ||
{ | ||
if (hasAnimations) | ||
{ | ||
frames = Paths.getCustomSparrowAtlas(path); | ||
for (i in 0...animations.length) | ||
{ | ||
var curAnim = animations[i]; | ||
if (curAnim != null) | ||
{ | ||
if (curAnim.indices != null) | ||
{ | ||
animation.addByIndices(curAnim.name, curAnim.prefixName, curAnim.indices, "", curAnim.frames, curAnim.looped, curAnim.flip[0], curAnim.flip[1]); | ||
} | ||
else | ||
{ | ||
animation.addByPrefix(curAnim.name, curAnim.prefixName, curAnim.frames, curAnim.looped, curAnim.flip[0], curAnim.flip[1]); | ||
} | ||
} | ||
} | ||
} | ||
else | ||
{ | ||
loadGraphic(Paths.customImage(path)); | ||
} | ||
} | ||
this.antialiasing = antialiasing; | ||
scrollFactor.set(scrollX, scrollY); | ||
this.active = active; | ||
} | ||
public static function getBGSprite(spriteGroup:FlxTypedGroup<CustomBGSprite>, spriteName:String):CustomBGSprite | ||
{ | ||
for (bgSprite in spriteGroup.members) | ||
{ | ||
if (bgSprite.spriteName == spriteName) | ||
{ | ||
return bgSprite; | ||
} | ||
} | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.