1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-23 15:26:06 +00:00

lil dating sim things

This commit is contained in:
Cameron Taylor 2021-02-02 02:35:35 -05:00
parent 385097941c
commit 60c4367896
2 changed files with 8 additions and 2 deletions

View file

@ -130,7 +130,7 @@ class DialogueBox extends FlxSpriteGroup
dialogueStarted = true;
}
if (FlxG.keys.justPressed.SPACE)
if (FlxG.keys.justPressed.ANY)
{
remove(dialogue);

View file

@ -116,6 +116,8 @@ class PlayState extends MusicBeatState
// how big to stretch the pixel art assets
public static var daPixelZoom:Float = 6;
var inCutscene:Bool = false;
override public function create()
{
// var gameCam:FlxCamera = FlxG.camera;
@ -753,6 +755,7 @@ class PlayState extends MusicBeatState
{
if (dialogueBox != null)
{
inCutscene = true;
add(dialogueBox);
}
else
@ -768,6 +771,8 @@ class PlayState extends MusicBeatState
function startCountdown():Void
{
inCutscene = false;
generateStaticArrows(0);
generateStaticArrows(1);
@ -1512,7 +1517,8 @@ class PlayState extends MusicBeatState
});
}
keyShit();
if (!inCutscene)
keyShit();
// if (FlxG.keys.justPressed.ONE)
// endSong();