From 3bef48d16c2404d5659f6f023f2af35f6383af69 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 20 Jan 2021 06:53:20 -0500 Subject: [PATCH] mod guide in progress --- Modding.md | 10 ++++++++++ source/StoryMenuState.hx | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Modding.md diff --git a/Modding.md b/Modding.md new file mode 100644 index 0000000000..aed0e778a5 --- /dev/null +++ b/Modding.md @@ -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. \ No newline at end of file diff --git a/source/StoryMenuState.hx b/source/StoryMenuState.hx index 242cb1472d..3331a54c58 100644 --- a/source/StoryMenuState.hx +++ b/source/StoryMenuState.hx @@ -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 = weekData[curWeek];