Fix typo, fix main menu not loading after title screen, remove one more useless file and fix probably intentional typo

This commit is contained in:
AirDog46 2025-04-23 23:38:47 +03:00
parent 61eb589cf0
commit e03cd7d1c3
5 changed files with 17 additions and 21 deletions

View File

@ -16,7 +16,7 @@
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8" />
*
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
@ -166,8 +166,6 @@
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<haxedef name="HXCPP_GC_BIG_BLOCKS"/>
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />

View File

@ -14,19 +14,19 @@
- Linux: install the `git` package: `sudo apt install git` (ubuntu), `sudo pacman -S git` (arch), etc... (you probably already have it)
4. Install and set up the necessary libraries:
- `haxelib install lime 7.9.0`
- `haxelib install openfl`
- `haxelib install flixel`
- `haxelib install openfl 9.1.0`
- `haxelib install flixel 4.11.0`
- `haxelib run lime setup`
- `haxelib run lime setup flixel`
- `haxelib install flixel-tools`
- `haxelib run flixel-tools setup`
- `haxelib install flixel-addons`
- `haxelib install flixel-ui`
- `haxelib install hscript`
- `haxelib install newgrounds`
- `haxelib install flixel-addons 2.11.0`
- `haxelib install flixel-ui 2.4.0`
- `haxelib install hscript 2.3.0`
- `haxelib install newgrounds 1.1.5`
- `haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit.git`
- `haxelib git faxe https://github.com/uhrobots/faxe`
- `haxelib git polymod https://github.com/larsiusprime/polymod.git`
- `haxelib install polymod 1.3.0`
- `haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc`
- `haxelib install actuate`
- `haxelib git extension-webm https://github.com/KadeDev/extension-webm`

View File

@ -1,7 +0,0 @@
package;
class APIStuff
{
public static var API:String = "";
public static var EncKey:String = "";
}

View File

@ -128,12 +128,12 @@ class Paths
inline static public function getSparrowAtlas(key:String, ?library:String, ?isCharacter:Bool = false)
{
var usecahce = FlxG.save.data.cacheImages;
var useCache = FlxG.save.data.cacheImages;
#if !cpp
usecahce = false;
useCache = false;
#end
if (isCharacter)
if (usecahce)
if (useCache)
#if cpp
return FlxAtlasFrames.fromSparrow(imageCached(key), file('images/characters/$key.xml', library));
#else

View File

@ -54,7 +54,7 @@ class TitleState extends MusicBeatState
override public function create():Void
{
#if polymod
polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
//polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
#end
#if sys
@ -290,6 +290,11 @@ class TitleState extends MusicBeatState
MainMenuState.firstStart = true;
MainMenuState.finishedFunnyMove = false;
new FlxTimer().start(2, function(tmr:FlxTimer)
{
FlxG.switchState(new MainMenuState());
clean();
});
// FlxG.sound.play(Paths.music('titleShoot'), 0.7);
}