aligned pixel arrows

This commit is contained in:
Cameron Taylor 2021-02-01 05:52:10 -05:00
parent 13ae7d65b6
commit f306e603be
3 changed files with 13 additions and 5 deletions

View file

@ -30,6 +30,8 @@ class DialogueBox extends FlxSpriteGroup
var portraitLeft:FlxSprite;
var portraitRight:FlxSprite;
var handSelect:FlxSprite;
public function new(talkingRight:Bool = true, ?dialogueList:Array<String>)
{
super();
@ -73,6 +75,9 @@ class DialogueBox extends FlxSpriteGroup
box.updateHitbox();
add(box);
handSelect = new FlxSprite(FlxG.width * 0.9, FlxG.height * 0.9).loadGraphic('assets/images/weeb/pixelUI/hand_textbox.png');
add(handSelect);
box.screenCenter(X);
portraitLeft.screenCenter(X);

View file

@ -139,6 +139,9 @@ class Note extends FlxSprite
x -= width / 2;
if (PlayState.curStage == 'school')
x += 30;
if (prevNote.isSustainNote)
{
switch (prevNote.noteData)

View file

@ -149,11 +149,9 @@ class PlayState extends MusicBeatState
"Only then I will even CONSIDER letting you\ndate my daughter!"
];
case 'senpai':
dialogue = [
':dad:Ah, a new fair maiden has come in search of true love!',
":dad:A serenade between gentlemen shall decide where her beautiful heart shall reside.",
":bf:Beep bo bop"
];
dialogue = CoolUtil.coolTextFile('assets/data/senpai/senpaiDialogue.txt');
case 'roses':
dialogue = CoolUtil.coolTextFile('assets/data/roses/rosesDialogue.txt');
}
if (SONG.song.toLowerCase() == 'spookeez' || SONG.song.toLowerCase() == 'monster' || SONG.song.toLowerCase() == 'south')
@ -638,6 +636,8 @@ class PlayState extends MusicBeatState
{
case 'senpai':
schoolIntro(doof);
case 'roses':
schoolIntro(doof);
default:
startCountdown();
}