aligned pixel arrows

This commit is contained in:
Cameron Taylor
2021-02-01 05:52:10 -05:00
parent b6091a43a7
commit b70ecbbe76
6 changed files with 19 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);