mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-17 04:12:57 +00:00
week6 dialogue finger
This commit is contained in:
parent
ca54b2a163
commit
2226ab7939
|
@ -120,7 +120,10 @@ class DialogueBox extends FlxSpriteGroup
|
||||||
box.screenCenter(X);
|
box.screenCenter(X);
|
||||||
portraitLeft.screenCenter(X);
|
portraitLeft.screenCenter(X);
|
||||||
|
|
||||||
handSelect = new FlxSprite(FlxG.width * 0.9, FlxG.height * 0.9).loadGraphic(Paths.image('weeb/pixelUI/hand_textbox'));
|
handSelect = new FlxSprite(1042, 590).loadGraphic(Paths.image('weeb/pixelUI/hand_textbox'));
|
||||||
|
handSelect.setGraphicSize(Std.int(handSelect.width * PlayState.daPixelZoom * 0.9));
|
||||||
|
handSelect.updateHitbox();
|
||||||
|
handSelect.visible = false;
|
||||||
add(handSelect);
|
add(handSelect);
|
||||||
|
|
||||||
|
|
||||||
|
@ -230,7 +233,13 @@ class DialogueBox extends FlxSpriteGroup
|
||||||
|
|
||||||
// swagDialogue.text = ;
|
// swagDialogue.text = ;
|
||||||
swagDialogue.resetText(dialogueList[0]);
|
swagDialogue.resetText(dialogueList[0]);
|
||||||
swagDialogue.start(0.04, true);
|
swagDialogue.start(0.04);
|
||||||
|
swagDialogue.completeCallback = function()
|
||||||
|
{
|
||||||
|
trace("dialogue finish");
|
||||||
|
handSelect.visible = true;
|
||||||
|
};
|
||||||
|
handSelect.visible = false;
|
||||||
|
|
||||||
switch (curCharacter)
|
switch (curCharacter)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue