From 84c4e95ad0347322274ddd2ece4a5c272286fb7d Mon Sep 17 00:00:00 2001 From: KadeDeveloper Date: Sat, 14 Aug 2021 13:48:34 -0700 Subject: [PATCH] changelog's --- docs/changelogs/changelog-1.6.2.md | 28 ++++++++++++++++++++++++++++ docs/changelogs/index.md | 1 + source/MainMenuState.hx | 2 +- source/smTools/SMFile.hx | 16 +++++++++++++--- 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 docs/changelogs/changelog-1.6.2.md diff --git a/docs/changelogs/changelog-1.6.2.md b/docs/changelogs/changelog-1.6.2.md new file mode 100644 index 0000000..ff2ed0c --- /dev/null +++ b/docs/changelogs/changelog-1.6.2.md @@ -0,0 +1,28 @@ +# Latest (master) changelog/Changelog + +Changes marked with 💖 will be listed in the short version of the changelog in `version.downloadMe`. + +### Additions +- Added a Instant Respawn Option +- Added the ability to select and modify notes in the editor +- Added the ability for note specific alternative animation toggles +- Added copy and paste (with ctrl z support) while selecting notes +- Added 12th and 24th snaps + +### Changes +- Play Here option changed for the better +- Changed left or right in the charter to skip forward or backward a section +- Optimized gameplay (less lag??) +- Optimized the chart editor (less lag on longer songs, and faster load times) +- Gameplay Customization now allows for you to change the zoom of the play field +- SM Files now give you more details on why they can't be loaded. + +### Bugfixes +- Fixed stutter at the start of a song +- Fixed a bunch of week 6 crashing related issues +- Fixed tutorial crashing on story mode +- Fixed notes in an SM file desyncing with sections +- Fixed scroll speed changes so they work when more then one of them exist +- Fixed steps reseting to 0 on a bpm change IN gameplay +- Fixed claps so they're based on time instead of the note's y position +- Swap Section no longer breaks with duets \ No newline at end of file diff --git a/docs/changelogs/index.md b/docs/changelogs/index.md index a34c60e..b85d9e0 100644 --- a/docs/changelogs/index.md +++ b/docs/changelogs/index.md @@ -1,6 +1,7 @@ # Changelogs - [Latest](latest) (Contains changes that are not in a release yet) +- [1.6.2](changelog-1.6.2) - [1.6.1](changelog-1.6.1) - [1.6](changelog-1.6) - [1.5.4](changelog-1.5.4) diff --git a/source/MainMenuState.hx b/source/MainMenuState.hx index 65ba296..a1f39f8 100644 --- a/source/MainMenuState.hx +++ b/source/MainMenuState.hx @@ -38,7 +38,7 @@ class MainMenuState extends MusicBeatState var newGaming2:FlxText; public static var firstStart:Bool = true; - public static var nightly:String = "pre-release2"; + public static var nightly:String = ""; public static var kadeEngineVer:String = "1.6.2" + nightly; public static var gameVer:String = "0.2.7.1"; diff --git a/source/smTools/SMFile.hx b/source/smTools/SMFile.hx index 1fbf360..145ccb0 100644 --- a/source/smTools/SMFile.hx +++ b/source/smTools/SMFile.hx @@ -30,6 +30,8 @@ class SMFile { _fileData = data; + + // Gather header data var headerData = ""; var inc = 0; @@ -42,9 +44,16 @@ class SMFile header = new SMHeader(headerData.split(';')); - if (!StringTools.contains(header.MUSIC,"ogg")) + if (_fileData.toString().split("#NOTES").length > 2) { - Application.current.window.alert("The music MUST be an OGG File.","SM File loading (" + header.TITLE + ")"); + Application.current.window.alert("The chart must only have 1 difficulty, this one has " + (_fileData.toString().split("#NOTES").length - 1),"SM File loading (" + header.TITLE + ")"); + isValid = false; + return; + } + + if (!StringTools.contains(header.MUSIC.toLowerCase(),"ogg")) + { + Application.current.window.alert("The music MUST be an OGG File, make sure the sm file has the right music property.","SM File loading (" + header.TITLE + ")"); isValid = false; return; } @@ -66,6 +75,8 @@ class SMFile measures = []; + + var measure = ""; trace(data[inc - 1]); @@ -284,7 +295,6 @@ class SMFile { song.eventObjects = header.changeEvents; } - /*var newSections = []; for(s in 0...song.notes.length) // lets go ahead and make sure each note is actually in their own section haha