Skip to content

Commit

Permalink
mod guide in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Jan 20, 2021
1 parent aec9518 commit 3bef48d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Modding.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 5 additions & 1 deletion source/StoryMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,13 @@ class StoryMenuState extends MusicBeatState
switch (grpWeekCharacters.members[0].animation.curAnim.name)
{
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:
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];
Expand Down

0 comments on commit 3bef48d

Please sign in to comment.