hard mode lol

This commit is contained in:
Cameron Taylor
2020-11-06 19:39:21 -08:00
parent 9feb12a5a1
commit a71abb5772
5 changed files with 15 additions and 4 deletions

View File

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Story mode scores not properly resetting, leading to VERY inflated highscores on the leaderboards. This also requires me to clear the scores that are on the leaderboard right now, sorry! - Story mode scores not properly resetting, leading to VERY inflated highscores on the leaderboards. This also requires me to clear the scores that are on the leaderboard right now, sorry!
- Difficulty on storymode and in freeplay scores - Difficulty on storymode and in freeplay scores
- Hard mode difficulty on campaign levels have been fixed
## [0.2.1.1] - 2020-11-06 ## [0.2.1.1] - 2020-11-06
### Fixed ### Fixed
- Week 2 not unlocking properly - Week 2 not unlocking properly

View File

@ -39,8 +39,10 @@
<assets path="assets/images"/> <assets path="assets/images"/>
<assets path="assets/data"/> <assets path="assets/data"/>
<assets path="assets/music" include="*.mp3" if="web" /> <!-- <library name="noPreload" preload='false'/> -->
<assets path="assets/music" include="*.ogg" unless="web" /> <library name="noPreload"/>
<assets path="assets/music" include="*.mp3" if="web" library='noPreload'/>
<assets path="assets/music" include="*.ogg" unless="web" library='noPreload'/>
<assets path="assets/sounds" include="*.mp3" if="web" /> <assets path="assets/sounds" include="*.mp3" if="web" />
<assets path="assets/sounds" include="*.ogg" unless="web" /> <assets path="assets/sounds" include="*.ogg" unless="web" />

View File

@ -8,7 +8,6 @@ import flixel.group.FlxGroup.FlxTypedGroup;
import flixel.math.FlxMath; import flixel.math.FlxMath;
import flixel.text.FlxText; import flixel.text.FlxText;
import flixel.util.FlxColor; import flixel.util.FlxColor;
import htmlparser.HtmlDocument;
import lime.utils.Assets; import lime.utils.Assets;
class FreeplayState extends MusicBeatState class FreeplayState extends MusicBeatState

View File

@ -849,7 +849,10 @@ class PlayState extends MusicBeatState
difficulty = '-easy'; difficulty = '-easy';
if (storyDifficulty == 2) if (storyDifficulty == 2)
difficulty == '-hard'; difficulty = '-hard';
trace('LOADING NEXT SONG');
trace(PlayState.storyPlaylist[0].toLowerCase() + difficulty);
PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + difficulty, PlayState.storyPlaylist[0]); PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + difficulty, PlayState.storyPlaylist[0]);
FlxG.switchState(new PlayState()); FlxG.switchState(new PlayState());

View File

@ -13,6 +13,8 @@ import flixel.group.FlxGroup;
import flixel.input.gamepad.FlxGamepad; import flixel.input.gamepad.FlxGamepad;
import flixel.math.FlxPoint; import flixel.math.FlxPoint;
import flixel.math.FlxRect; import flixel.math.FlxRect;
import flixel.system.FlxSound;
import flixel.system.ui.FlxSoundTray;
import flixel.text.FlxText; import flixel.text.FlxText;
import flixel.tweens.FlxEase; import flixel.tweens.FlxEase;
import flixel.tweens.FlxTween; import flixel.tweens.FlxTween;
@ -104,6 +106,10 @@ class TitleState extends MusicBeatState
transIn = FlxTransitionableState.defaultTransIn; transIn = FlxTransitionableState.defaultTransIn;
transOut = FlxTransitionableState.defaultTransOut; transOut = FlxTransitionableState.defaultTransOut;
// var music:FlxSound = new FlxSound();
// music.loadStream('assets/music/freakyMenu' + TitleState.soundExt);
// FlxG.sound.list.add(music);
// music.play();
FlxG.sound.playMusic('assets/music/freakyMenu' + TitleState.soundExt, 0); FlxG.sound.playMusic('assets/music/freakyMenu' + TitleState.soundExt, 0);
FlxG.sound.music.fadeIn(4, 0, 0.7); FlxG.sound.music.fadeIn(4, 0, 0.7);