V4.4 - modding! (Patreon)
Content
Download LINK.
See previous post for basic instructions on modding.
Changes (beyond modding stuff):
implemented new feature to move the camera while any UI elem is invisible - drag with LMB when mouse is not hovered on any UI elem.
rest heals non-party allies too
fixed scrollbar not appearing under some circumstances
fixed some sounds not playing properly
fixed an item duplication bug
right clicking when Guard Mode is "Auto" no longer costs stamina, but prevents parries (bounce foe)
fixed a crash when entering new dungeon/floor
fixed swapping equipment bug that cause seeds to vanish
Here is the supplementry .blend file as reference for making new items/animations.
You need an addon for blender to export to .json file format. Here it is. You need to unpacked it and then put the folder under blender_installation_folder/X.XX/scripts/addons. Then click on "file" on top left, open the user preferences window, select the Add-ons tab
Find the filter for Import-Export:
Then enable the exporter:
Now, in case anyone's curious, This game does not use Three.js at all. It was the only working .json file format I could find at that time. I wrote an importer completely independent from the Three.js built-in loader and the game actually uses a different internal file format which is converted from the Three.js .json format. The .json format was picked because I wanted to support web builds, which handles .json files better than anything else.
On exporting equipment, make sure these options are selected on the exporter:
On exporting animations, make sure these options are used:
I believe it's possible to turn off Vertices, Faces, Normals and UVs for pure animation files but it just wastes some space if you left them on.
Also, make sure the armature is in POSE mode and the current selected animation (called "action") in blender is at "rest". I provided a "REST" animation for reference but you could easily create your own by selecting all the bones with pressing A, then press space and type in "clear pose transforms."
If you have any issues or questions regarding modding, feel free to ask in the #modding-related channel on my discord.