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:
parent
385097941c
commit
60c4367896
|
@ -130,7 +130,7 @@ class DialogueBox extends FlxSpriteGroup
|
|||
dialogueStarted = true;
|
||||
}
|
||||
|
||||
if (FlxG.keys.justPressed.SPACE)
|
||||
if (FlxG.keys.justPressed.ANY)
|
||||
{
|
||||
remove(dialogue);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue