Skip to content

Commit

Permalink
BE Watermark + Default Ghost Tapping (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonGamerPS1 committed May 20, 2024
1 parent 0e824e7 commit 633b2e8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project>
<!-- _________________________ Application Settings _________________________ -->

<app title="Friday Night Funkin'" file="Funkin" packageName="com.ninjamuffin99.funkin" main="Main" version="0.2.7.1" company="ninjamuffin99" />
<app title="Friday Night Funkin' Blazin' Engine" file="BE" packageName="com.blazin.funkin" main="secret.Main" version="release 1" company="xb02" />

<!--Switch Export with Unique ApplicationID and Icon-->
<set name="APP_ID" value="0x0100f6c013bbc000" />
Expand All @@ -18,7 +18,7 @@
<!-- ____________________________ Window Settings ___________________________ -->

<!--These window settings apply to all targets-->
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="false" />
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="true" />

<!--HTML5-specific-->
<window if="html5" resizable="true" />
Expand Down
26 changes: 17 additions & 9 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ class PlayState extends MusicBeatState
super.update(elapsed);

scoreTxt.text = "Score:" + songScore;
beWatermark.text = SONG.song + " - " + storyDifficulty + " | BE ";
beWatermark.text = SONG.song + " - " + checkDiff(storyDifficulty) + " | BE ";

if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause)
{
Expand Down Expand Up @@ -1618,6 +1618,21 @@ class PlayState extends MusicBeatState
#end
}

function checkDiff(i:Int) {
var diffText:String;
diffText = new String('waiting for input...');
switch (i)
{
case 0:
diffText = "EASY";
case 1:
diffText = 'NORMAL';
case 2:
diffText = "HARD";
}
return diffText;
}

function endSong():Void
{
canPause = false;
Expand Down Expand Up @@ -2111,14 +2126,7 @@ class PlayState extends MusicBeatState
var downP = controls.DOWN_P;
var leftP = controls.LEFT_P;

if (leftP)
noteMiss(0);
if (downP)
noteMiss(1);
if (upP)
noteMiss(2);
if (rightP)
noteMiss(3);

}

function noteCheck(keyP:Bool, note:Note):Void
Expand Down
2 changes: 1 addition & 1 deletion source/Main.hx → source/secret/Main.hx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package;
package secret;

import flixel.FlxGame;
import openfl.display.FPS;
Expand Down

0 comments on commit 633b2e8

Please sign in to comment.