1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-23 07:15:12 +00:00

mod guide in progress

This commit is contained in:
Cameron Taylor 2021-01-20 06:53:20 -05:00
parent f1d9c06882
commit 3382e4e974
2 changed files with 15 additions and 1 deletions

10
Modding.md Normal file
View file

@ -0,0 +1,10 @@
# QUICK AND DIRTY MOD GUIDE
With the 0.2.6 update, I added a bit of a slightly nicer mod support backend.
It's POLYMOD, which is made by Lars Doucet: https://github.com/larsiusprime/polymod
You may have noticed that there's a new folder in the assets. MODS. Within it you will see 2 files. modList.txt, and a folder called introMod.
modList.txt will load any folder into the game. Put the folder you want to load into a new line in modList.txt, and reboot the game.
Now you may be wondering, what do I put in the folder? Well later down it'll get a bit more complicated, especially as I'll make the IN-GAME mod loader nicer.

View file

@ -375,9 +375,13 @@ class StoryMenuState extends MusicBeatState
switch (grpWeekCharacters.members[0].animation.curAnim.name) switch (grpWeekCharacters.members[0].animation.curAnim.name)
{ {
case 'parents-christmas': case 'parents-christmas':
grpWeekCharacters.members[0].offset.x = 400; grpWeekCharacters.members[0].offset.x = 250;
grpWeekCharacters.members[0].setGraphicSize(Std.int(grpWeekCharacters.members[0].width * 0.97));
default: default:
grpWeekCharacters.members[0].offset.x = 100; grpWeekCharacters.members[0].offset.x = 100;
grpWeekCharacters.members[0].setGraphicSize(Std.int(grpWeekCharacters.members[0].width * 1));
// grpWeekCharacters.members[0].updateHitbox();
} }
var stringThing:Array<String> = weekData[curWeek]; var stringThing:Array<String> = weekData[curWeek];