From efbb088fb88cff730966c1aa0ef93799c5be527f Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 6 Jan 2021 22:38:17 -0500 Subject: [PATCH] chart editor type beat --- CHANGELOG.md | 3 +++ source/ChartingState.hx | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 435804328..763ca377a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [UNRELEASED] +### Added +- Enemy icons change when they you are winning a lot ([Thanks to pahaze for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/138)) +- Holding CTRL in charting editor places notes on both sides ### Fixed - Song no longer loops when finishing the song. ([Thanks Injourn for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/132)) diff --git a/source/ChartingState.hx b/source/ChartingState.hx index db4c6b338..d9c595365 100644 --- a/source/ChartingState.hx +++ b/source/ChartingState.hx @@ -82,6 +82,9 @@ class ChartingState extends MusicBeatState gridBG = FlxGridOverlay.create(GRID_SIZE, GRID_SIZE, GRID_SIZE * 8, GRID_SIZE * 16); add(gridBG); + var gridBlackLine:FlxSprite = new FlxSprite(gridBG.x + gridBG.width / 2).makeGraphic(2, Std.int(gridBG.height), FlxColor.BLACK); + add(gridBlackLine); + curRenderedNotes = new FlxTypedGroup(); curRenderedSustains = new FlxTypedGroup(); @@ -798,6 +801,11 @@ class ChartingState extends MusicBeatState curSelectedNote = _song.notes[curSection].sectionNotes[_song.notes[curSection].sectionNotes.length - 1]; + if (FlxG.keys.pressed.CONTROL) + { + _song.notes[curSection].sectionNotes.push([noteStrum, (noteData + 4) % 8, noteSus]); + } + trace(getStrumTime(dummyArrow.y) + (curSection * (Conductor.stepCrochet * lengthBpmBullshit()))); trace(curSection);