mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-22 13:17:06 +00:00
polymod IN PROGRESS
This commit is contained in:
parent
47102b2431
commit
dd41cc19e1
|
@ -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' /> -->
|
||||
|
||||
|
|
BIN
example_mods/testing123/images/newgrounds_logo.png
Normal file
BIN
example_mods/testing123/images/newgrounds_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue