Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 299fd98

Browse files
authored
Merge pull request #1901 from KadeDev/master
Master
2 parents 65a6329 + 02bd051 commit 299fd98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+4151
-1728
lines changed

Project.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<haxelib name="polymod"/>
129129
<haxelib name="discord_rpc" if="windows"/>
130130
<haxelib name="linc_luajit"/>
131-
131+
<haxelib name="hxvm-luajit" if="windows"/>
132132
<!-- <haxelib name="hxcpp-debug-server" if="desktop"/> -->
133133

134134
<!-- <haxelib name="markdown" /> -->
@@ -184,6 +184,8 @@
184184
<icon path="art/icon512.png" size='512'/>
185185
<icon path="art/iconOG.png" />
186186

187+
<haxeflag name="--no-traces" unless="debug" />
188+
<haxeflag name="--dce full" if="release" />
187189

188190
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
189191
<haxedef name="NG_LOGIN" if="newgrounds" />

appveyor-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ install:
2929
- haxelib git polymod https://github.com/larsiusprime/polymod.git
3030
- haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
3131
- haxelib git extension-webm https://github.com/KadeDev/extension-webm
32+
- haxelib git hxvm-luajit https://github.com/KadeDev/hxvm-luajit
3233
- haxelib run lime rebuild extension-webm linux
3334
- haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit.git
3435
- haxelib install actuate

appveyor-macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ install:
2929
- haxelib git polymod https://github.com/larsiusprime/polymod.git
3030
- haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
3131
- haxelib git extension-webm https://github.com/KadeDev/extension-webm
32+
- haxelib git hxvm-luajit https://github.com/KadeDev/hxvm-luajit
3233
- haxelib run lime rebuild extension-webm macos
3334
- haxelib install linc_luajit
3435
- haxelib install actuate

appveyor-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ install:
3434
- haxelib git polymod https://github.com/larsiusprime/polymod.git
3535
- haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
3636
- haxelib git extension-webm https://github.com/KadeDev/extension-webm
37+
- haxelib git hxvm-luajit https://github.com/KadeDev/hxvm-luajit
3738
- haxelib run lime rebuild extension-webm windows
3839
- haxelib install linc_luajit
3940
- haxelib install actuate
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
function start(song) -- do nothing
2-
2+
spinLength = 0
33
end
44

55
function update(elapsed)
6+
67
if difficulty == 2 and curStep > 400 then
8+
if spinLength < 32 then
9+
spinLength = spinLength + 0.2
10+
end
11+
12+
713
local currentBeat = (songPos / 1000)*(bpm/60)
8-
for i=0,7 do
9-
setActorX(_G['defaultStrum'..i..'X'] + 32 * math.sin((currentBeat + i*0.25) * math.pi), i)
10-
setActorY(_G['defaultStrum'..i..'Y'] + 32 * math.cos((currentBeat + i*0.25) * math.pi), i)
14+
for i=0,7,1 do
15+
local receptor = _G['receptor_'..i]
16+
receptor.angle = (spinLength / 7) * -math.sin((currentBeat + i*0.25) * math.pi)
17+
receptor.x = receptor.defaultX + spinLength * math.sin((currentBeat + i*0.25) * math.pi)
18+
receptor.y = receptor.defaultY + spinLength * math.cos((currentBeat + i*0.25) * math.pi)
1119
end
1220
end
1321
end
@@ -21,9 +29,9 @@ function stepHit(step) -- do nothing
2129
end
2230

2331
function playerTwoTurn()
24-
tweenCameraZoom(1.3,(crochet * 4) / 1000)
32+
camGame.tweenZoom(camGame,1.3,(crochet * 4) / 1000)
2533
end
2634

2735
function playerOneTurn()
28-
tweenCameraZoom(1,(crochet * 4) / 1000)
36+
camGame.tweenZoom(camGame,1,(crochet * 4) / 1000)
2937
end

docs/building.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@
3636
If you are planning to build for Windows, you also need to install **Visual Studio 2019**. While installing it, *don't click on any of the options to install workloads*. Instead, go to the **individual components** tab and choose the following:
3737

3838
- MSVC v142 - VS 2019 C++ x64/x86 build tools
39-
- MSVC v141 - VS 2017 C++ x64/x86 build tools
4039
- Windows SDK (10.0.17763.0)
41-
- C++ Profiling tools
42-
- C++ CMake tools for windows
43-
- C++ ATL for v142 build tools (x86 & x64)
4440

45-
This will install about 7 GB of crap, but is necessary to build for Windows.
41+
This will install about 4 GB of crap, but is necessary to build for Windows.
4642

4743
### macOS-only dependencies (these are required for building on macOS at all, including html5.)
4844
If you are running macOS, you'll need to install Xcode. You can download it from the macOS App Store or from the [Xcode website](https://developer.apple.com/xcode/).

docs/changelogs/changelog-1.7.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Latest (master) changelog/Changelog
2+
3+
Changes marked with 💖 will be listed in the short version of the changelog in `version.downloadMe`.
4+
5+
### Additions
6+
- 💖 A speed modifier (To use, press shift-left/right in freeplay or the charter. Does not work on modcharts.)
7+
8+
### Changes
9+
- Relocated all of the stage code into it's own file
10+
- 💖 Completely redid all of modcharting (docs can be found [here](https://github.com/KadeDev/Kade-Engine/wiki))
11+
- Removed replay functionality due to it being a peice of shit and never working and causing issues and problems all the time.
12+
- 💖 Optimized a lot of code to run better
13+
- 💖 Allowed numpad to be binded as a key
14+
- Optimized rating code to be faster
15+
- Removed debug code from release builds for faster execution
16+
- Binding a key to an already binded key no longer sets the other as null
17+
- When beat quant colors are enabled, your key presses are highlighted in the color you hit instead of the original color.
18+
- Removed beat base idle animations for characters
19+
- Changed beat quant colors to. 4th = red, 8th = blue, green = 12th, purple = 16th+
20+
- 💖 Changed the editor to work entirely on beats
21+
- Changed the BPM change code to work on beats instead of timestamps
22+
- Removed a lot of unnecessary code.
23+
- Changed **scroll speed** change events to be **based on multipliers instead of constant values** (aka 2 scroll speed would be scrollSpeed * 2 instead of setting it to 2)
24+
25+
### Bugfixes
26+
- 💖 Fix multiplie crashes with story mode and other weeks in story mode
27+
- 💖 Fix desyncs with bpm changes and section notes in the charter
28+
- Fix snap working in the charter (it's way more accurate now)
29+
- Fixed crashing on a song that has a modchart at the end.

docs/changelogs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelogs
22

33
- [Latest](latest) (Contains changes that are not in a release yet)
4+
- [1.7](changelog-1.7)
45
- [1.6.2](changelog-1.6.2)
56
- [1.6.1](changelog-1.6.1)
67
- [1.6](changelog-1.6)

source/BackgroundDancer.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class BackgroundDancer extends FlxSprite
1515
animation.addByIndices('danceRight', 'bg dancer sketch PINK', [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "", 24, false);
1616
animation.play('danceLeft');
1717
antialiasing = FlxG.save.data.antialiasing;
18+
19+
1820
}
1921

2022
var danceDir:Bool = false;

source/Caching.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class Caching extends MusicBeatState
152152

153153
function cache()
154154
{
155+
#if !linux
155156
trace("LOADING: " + toBeDone + " OBJECTS.");
156157

157158
for (i in images)
@@ -181,6 +182,7 @@ class Caching extends MusicBeatState
181182

182183
trace(Assets.cache.hasBitmapData('GF_assets'));
183184

185+
#end
184186
FlxG.switchState(new TitleState());
185187
}
186188

0 commit comments

Comments
 (0)