Fixed the FPS counter position and removed skipping with touch from AttractState
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ class Main extends Sprite
|
||||
{
|
||||
fpsCounter.scaleX = fpsCounter.scaleY = #if android (scale > 1 ? scale : 1) #else (scale < 1 ? scale : 1) #end;
|
||||
#if mobile
|
||||
fpsCounter.x = FlxG.game.x + FullScreenScaleMode.notchSize.x +;
|
||||
fpsCounter.x = FlxG.game.x + FullScreenScaleMode.notchSize.x + 10;
|
||||
#end
|
||||
}
|
||||
|
||||
|
||||
@@ -104,9 +104,8 @@ class AttractState extends MusicBeatState
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
// If the user presses any button, skip the video.
|
||||
if ((FlxG.keys.justPressed.ANY && !controls.VOLUME_MUTE && !controls.VOLUME_UP && !controls.VOLUME_DOWN) #if mobile
|
||||
|| funkin.mobile.util.TouchUtil.justPressed #end)
|
||||
// If the user presses any button or holds the screen for 0.8 seconds, skip the video.
|
||||
if ((FlxG.keys.justPressed.ANY && !controls.VOLUME_MUTE && !controls.VOLUME_UP && !controls.VOLUME_DOWN))
|
||||
{
|
||||
onAttractEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user