1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-22 06:43:39 +00:00

polymod IN PROGRESS

This commit is contained in:
Cameron Taylor 2021-05-15 10:30:09 -04:00
parent 47102b2431
commit dd41cc19e1
4 changed files with 17 additions and 7 deletions

View file

@ -98,8 +98,7 @@
<!-- <assets path='example_mods' rename='mods' embed='false'/> -->
<template path="example_mods" rename="mods" />
<assets path='example_mods' rename='mods' embed='false'/>
<assets path='art/readme.txt' rename='do NOT readme.txt' />
<!-- <template path='mods' /> -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View file

@ -40,6 +40,22 @@ class Main extends Sprite
{
super();
#if polymod
polymod.Polymod.init({
modRoot: "mods",
dirs: ['testing123'],
frameworkParams: {
assetLibraryPaths: [
"songs" => "songs", "shared" => "shared", "tutorial" => "tutorial", "week1" => "week1", "week2" => "week2", "week3" => "week3",
"week4" => "week4", "week5" => "week5", "week6" => "week6", "week7" => "week7"
]
},
framework: OPENFL
});
trace('polymod setup SHIII');
#end
if (stage != null)
{
init();

View file

@ -71,11 +71,6 @@ class TitleState extends MusicBeatState
override public function create():Void
{
#if polymod
polymod.Polymod.init({modRoot: "mods", dirs: ['introMod'], framework: OPENFL});
// FlxG.bitmap.clearCache();
#end
startedIntro = false;
FlxG.game.focusLostFramerate = 60;