Skip to content

Commit

Permalink
NEW VERSION, NEW LUA DOCUMENTATION, MANY NEW THINGS!
Browse files Browse the repository at this point in the history
This version is still based on the same stable version of SCE, based on commit 4eaf8c4.

- New way to use Windows GDI effects, now they can no longer lag the engine when used!
- New functions to tween the engine window border color, as if it was “FlxTween.color”.
- New FreeplayState and PauseSubState for SLE (although based on the original SCE ones)
- Minor changes in some engine details:
1. now the window will always be centered by Lime functions, not by C++ if it is with Windows.
2. the color of the border of the engine window changes in more states, it is something only aesthetic.

SLE now uses its fork of Flixel Addons of Glowsoony, without changes but, this way I assure that SLE can be compiled without problems if this library changes something.
Whatever bugs there may be with SCE, they are still there as it is still the same version as the previous version of SLE, I have not switched to the experimental version of SCE.
  • Loading branch information
Slushi-Github committed Dec 31, 2024
1 parent a7c0f0f commit de371c4
Show file tree
Hide file tree
Showing 139 changed files with 8,951 additions and 1,731 deletions.
8 changes: 4 additions & 4 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
<!-- _________________________ Application Settings _________________________ -->

<app title="SC Engine - Slushi Engine" file="SLE" packageName="com.SCTeam.SCEE" package="com.SCTeam.SCE" main="Main" version="0.3.8" company="SlushiAndSCTeam" />
<app title="SC Engine - Slushi Engine" file="SLE" packageName="com.SlushiAndSCTeam.SCSLE" package="com.SlushiAndSCTeam.SCSLE" main="Main" version="0.4.0" company="SlushiAndSCTeam" />

<!--Switch Export with Unique ApplicationID and Icon-->
<set name="APP_ID" value="0x0100f6c013bbc000" />
Expand Down Expand Up @@ -52,7 +52,7 @@ xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/
<source path="funkinscsource" />

<!-- _____________________________ SLUSHI ENGINE CUSTOMIZATION ______________________________-->
<haxeflag name="--macro" value="slushi.others.EngineMacros.initialize_compilation()"/>
<haxeflag name="--macro" value="slushi.others.EngineMacros.showBuildInfo()"/>
<!-- ____________________________ Features _______________________________ -->
<define name="SLUSHI_LUA"/> <!-- Defines whether if Lua of SLE is allowed. -->
<define name="SLUSHI_CPP_CODE" if="windows"/> <!-- Defines whether if C++ code is allowed. -->
Expand All @@ -62,10 +62,10 @@ xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/
<!-- ____________________________ EXPERIMENTAL _______________________________ -->
<!-- ____________________________ Assets - Paths _______________________________ -->
<assets path="assets/slushiEngineAssets" rename="assets/slushiEngineAssets" include="*"/>
<assets path="assets/slushiEngineAssets/SLEAssets" rename="assets/slushiEngineAssets/SLEAssets" include="*"/>
<assets path="assets/slushiEngineAssets" rename="assets/slushiEngineAssets" include="*"/>
<!-- ____________________________ Libs _______________________________ -->
<!-- <haxelib name="flxgif"/> -->
<haxelib name="fuzzaldrin" if="WINSL_SUGGEST_COMMAND"/>
<haxelib name="compiletime"/>
<!-- ____________________________ Libs versions and settings _______________________________ -->
<!-- ____________________________ Others _______________________________ -->

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
![GitHub repo size](https://img.shields.io/github/repo-size/Slushi-Github/Slushi-Engine)


[Gamejolt](https://gamejolt.com/games/SlushiEngine/884361) - [GameBanana](https://gamebanana.com/tools/17953)
[GameBanana](https://gamebanana.com/tools/17953) - [Gamejolt](https://gamejolt.com/games/SlushiEngine/884361)


Slushi Engine is an FNF' engine that allows you to make modcharts with [Modcharting Tools](https://github.com/EdwhakKB/FNF-Modcharting-Tools) and other [SC Engine](https://github.com/EdwhakKB/SC-SP-ENGINE) utilities, while also being able to make a unique kind of modchart that uses Windows functions!
Expand Down
2 changes: 1 addition & 1 deletion README_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
![GitHub repo size](https://img.shields.io/github/repo-size/Slushi-Github/Slushi-Engine)


[Gamejolt](https://gamejolt.com/games/SlushiEngine/884361) - [GameBanana](https://gamebanana.com/tools/17953)
[GameBanana](https://gamebanana.com/tools/17953) - [Gamejolt](https://gamejolt.com/games/SlushiEngine/884361)


Slushi Engine es un motor de FNF' que te permite hacer modcharts con [Modcharting Tools](https://github.com/EdwhakKB/FNF-Modcharting-Tools) y otras utilidades del [SC Engine](https://github.com/EdwhakKB/SC-SP-ENGINE), ¡mientras que también te permite hacer un tipo único de modchart que utiliza funciones de Windows!
Expand Down
2 changes: 1 addition & 1 deletion assets/shared/data/characters/bf.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"flip_x": true,
"healthbar_colors": [49, 176, 209],
"camera_position": [0, 0],
"noteSkin": "noteSkins/NOTE_assets",
"noteSkin": "",
"sing_duration": 4,
"scale": 1,
"_editor_isPlayer": true
Expand Down
Binary file added assets/shared/data/fonts/wendy.ttf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions assets/shared/images/noteSkins/NOTE_assets-notitg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version='1.0' encoding='utf-8'?>
<TextureAtlas imagePath="NOTE_assets.png">
<SubTexture name="arrowLEFT0000" x="595" y="168" width="161" height="166" frameX="-4" frameY="-2" frameWidth="158" frameHeight="158" />
<SubTexture name="arrowDOWN0000" x="336" y="583" width="166" height="161" frameX="-2" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="arrowUP0000" x="502" y="583" width="166" height="161" frameX="-2" frameY="-4" frameWidth="158" frameHeight="158" />
<SubTexture name="arrowRIGHT0000" x="595" y="334" width="161" height="166" frameX="-5" frameY="-2" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0000" x="760" y="0" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0001" x="760" y="0" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0002" x="760" y="160" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0003" x="760" y="160" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0004" x="760" y="320" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0005" x="760" y="320" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0006" x="760" y="480" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0007" x="760" y="480" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0008" x="0" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0009" x="0" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0010" x="154" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0011" x="154" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0012" x="308" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0013" x="308" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0014" x="462" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="purple0015" x="462" y="748" width="154" height="160" frameX="-7" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0000" x="616" y="908" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0001" x="616" y="908" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0002" x="776" y="908" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0003" x="776" y="908" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0004" x="1068" y="0" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0005" x="1068" y="0" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0006" x="1068" y="154" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0007" x="1068" y="154" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0008" x="1068" y="308" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0009" x="1068" y="308" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0010" x="1068" y="462" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0011" x="1068" y="462" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0012" x="1068" y="616" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0013" x="1068" y="616" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0014" x="1068" y="770" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="blue0015" x="1068" y="770" width="160" height="154" frameX="-5" frameY="-9" frameWidth="158" frameHeight="158" />
<SubTexture name="green0000" x="0" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0001" x="0" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0002" x="160" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0003" x="160" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0004" x="320" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0005" x="320" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0006" x="480" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0007" x="480" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0008" x="640" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0009" x="640" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0010" x="800" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0011" x="800" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0012" x="960" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0013" x="960" y="1068" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0014" x="1228" y="0" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="green0015" x="1228" y="0" width="160" height="154" frameX="-5" frameY="-7" frameWidth="158" frameHeight="158" />
<SubTexture name="red0000" x="616" y="748" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0001" x="616" y="748" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0002" x="914" y="0" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0003" x="914" y="0" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0004" x="914" y="160" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0005" x="914" y="160" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0006" x="914" y="320" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0007" x="914" y="320" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0008" x="914" y="480" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0009" x="914" y="480" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0010" x="914" y="640" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0011" x="914" y="640" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0012" x="0" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0013" x="0" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0014" x="154" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />
<SubTexture name="red0015" x="154" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="158" frameHeight="158" />

<SubTexture name="purple hold piece0000" x="1228" y="1132" width="92" height="53" frameX="-9" frameY="0" frameWidth="100" frameHeight="43" />
<SubTexture name="pruple end hold0000" x="1228" y="1058" width="92" height="74" frameX="-9" frameY="0" frameWidth="100" frameHeight="62" />
<SubTexture name="blue hold piece0000" x="1228" y="1132" width="92" height="53" frameX="-9" frameY="0" frameWidth="100" frameHeight="43" />
<SubTexture name="blue hold end0000" x="1228" y="1058" width="92" height="74" frameX="-9" frameY="0" frameWidth="100" frameHeight="62" />
<SubTexture name="green hold piece0000" x="1228" y="1132" width="92" height="53" frameX="-9" frameY="0" frameWidth="100" frameHeight="43" />
<SubTexture name="green hold end0000" x="1228" y="1058" width="92" height="74" frameX="-9" frameY="0" frameWidth="100" frameHeight="62" />
<SubTexture name="red hold piece0000" x="1228" y="1132" width="92" height="53" frameX="-9" frameY="0" frameWidth="100" frameHeight="43" />
<SubTexture name="red hold end0000" x="1228" y="1058" width="92" height="74" frameX="-9" frameY="0" frameWidth="100" frameHeight="62" />

<SubTexture name="left press0000" x="308" y="908" width="154" height="160" frameX="-7" frameY="-5" frameWidth="156" frameHeight="156" />
<SubTexture name="left press0001" x="308" y="908" width="154" height="160" frameX="-7" frameY="-5" frameWidth="156" frameHeight="156" />
<SubTexture name="left press0002" x="1228" y="462" width="146" height="152" frameX="-11" frameY="-9" frameWidth="143" frameHeight="143" />
<SubTexture name="left press0003" x="1228" y="462" width="146" height="152" frameX="-11" frameY="-9" frameWidth="143" frameHeight="143" />
<SubTexture name="down press0000" x="1228" y="154" width="160" height="154" frameX="-5" frameY="-9" frameWidth="156" frameHeight="156" />
<SubTexture name="down press0001" x="1228" y="154" width="160" height="154" frameX="-5" frameY="-9" frameWidth="156" frameHeight="156" />
<SubTexture name="down press0002" x="1228" y="766" width="152" height="146" frameX="-9" frameY="-13" frameWidth="143" frameHeight="143" />
<SubTexture name="down press0003" x="1228" y="766" width="152" height="146" frameX="-9" frameY="-13" frameWidth="143" frameHeight="143" />
<SubTexture name="up press0000" x="1228" y="308" width="160" height="154" frameX="-5" frameY="-7" frameWidth="156" frameHeight="156" />
<SubTexture name="up press0001" x="1228" y="308" width="160" height="154" frameX="-5" frameY="-7" frameWidth="156" frameHeight="156" />
<SubTexture name="up press0002" x="1228" y="912" width="152" height="146" frameX="-9" frameY="-11" frameWidth="143" frameHeight="143" />
<SubTexture name="up press0003" x="1228" y="912" width="152" height="146" frameX="-9" frameY="-11" frameWidth="143" frameHeight="143" />
<SubTexture name="right press0000" x="462" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="156" frameHeight="156" />
<SubTexture name="right press0001" x="462" y="908" width="154" height="160" frameX="-9" frameY="-5" frameWidth="156" frameHeight="156" />
<SubTexture name="right press0002" x="1228" y="614" width="146" height="152" frameX="-13" frameY="-9" frameWidth="143" frameHeight="143" />
<SubTexture name="right press0003" x="1228" y="614" width="146" height="152" frameX="-13" frameY="-9" frameWidth="143" frameHeight="143" />

<SubTexture name="left confirm0000" x="0" y="0" width="197" height="201" frameX="-6" frameY="-4" frameWidth="200" frameHeight="200" />
<SubTexture name="left confirm0001" x="201" y="201" width="185" height="188" frameX="-12" frameY="-11" frameWidth="200" frameHeight="200" />
<SubTexture name="left confirm0002" x="376" y="398" width="165" height="168" frameX="-22" frameY="-21" frameWidth="200" frameHeight="200" />
<SubTexture name="down confirm0000" x="394" y="0" width="201" height="197" frameX="-4" frameY="-7" frameWidth="200" frameHeight="200" />
<SubTexture name="down confirm0001" x="0" y="398" width="188" height="185" frameX="-11" frameY="-13" frameWidth="200" frameHeight="200" />
<SubTexture name="down confirm0002" x="0" y="583" width="168" height="165" frameX="-21" frameY="-23" frameWidth="200" frameHeight="200" />
<SubTexture name="up confirm0000" x="0" y="201" width="201" height="197" frameX="-5" frameY="-6" frameWidth="200" frameHeight="200" />
<SubTexture name="up confirm0001" x="188" y="398" width="188" height="185" frameX="-11" frameY="-12" frameWidth="200" frameHeight="200" />
<SubTexture name="up confirm0002" x="168" y="583" width="168" height="165" frameX="-21" frameY="-22" frameWidth="200" frameHeight="200" />
<SubTexture name="right confirm0000" x="197" y="0" width="197" height="201" frameX="-7" frameY="-5" frameWidth="200" frameHeight="200" />
<SubTexture name="right confirm0001" x="386" y="201" width="185" height="188" frameX="-13" frameY="-11" frameWidth="200" frameHeight="200" />
<SubTexture name="right confirm0002" x="595" y="0" width="165" height="168" frameX="-23" frameY="-21" frameWidth="200" frameHeight="200" />
</TextureAtlas>
3 changes: 2 additions & 1 deletion assets/shared/images/noteSkins/list.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Future
Chip
Chip
NotITG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion docs/development/BuildInstructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Set up [Visual Studio](https://aka.ms/vs/17/release/vs_BuildTools.exe) dependenc

select "Individual Components" and make sure to download the following:

"MSVC v143 VS 2022 C++ x64/x86" and "Windows 10/11 SDK"
- MSVC v143 VS 2022 C++ x64/x86
- Windows 10/11 SDK

Set up Haxe libs of the engine:

Expand Down
31 changes: 30 additions & 1 deletion docs/development/SLELuaSpanish/sections/Others.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
-- Others.lua -- Version: 1.1.0 -- Ultima modificación: 2/9/2024
-- Others.lua -- Version: 1.2.0 -- Ultima modificación: 19/12/2024

-- retorna un string con el nombre de la cámara para Lua, pero puedes usarlo como una variable nativa de Lua
camGame = "game"
camHUD = "hud"
camOther = "other"
camNoteStuff = "notestuff"
camSLEHUD = "slehud"
camThings = "camthings"
camThings2 = "camthings2"
camThings3 = "camthings3"
camThings4 = "camthings4"
camThings5 = "camthings5"
camWaterMark = "camwatermark"


function printInGameplay(text, time)
--[[
Expand Down Expand Up @@ -63,4 +77,19 @@ function tweenNumer(tag, startNum, endNum, duration, ease)
duration: El tiempo del tween (float).
ease: El tipo de easing a aplicar (por defecto "linear") (string).
]]--
end

function getSLEVersion()
--[[
Obtiene la versión de Slushi Engine.
return: La versión de SLE (string).
]]--
end

function getMTCurrentModifiers(equalizer)
--[[
Obtiene los modifiers actuales con sus valores del modchart hecho con Modcharting Tools.
equalizer: String para separar los modifiers, por defecto ":" (string).
return: Los modifiers actuales (string).
]]--
end
Loading

0 comments on commit de371c4

Please sign in to comment.