Altimit Character Animations [0.01α]
Altimit Character Animations 0.01 alpha This is an open-source project, feel free to clone the repository and make pull requests. About This Plugin adds the ability to greatly extend the animation system for character sprites. Altimit Character Animations offers flexibility that no-other...
forums.rpgmakerweb.com
This sounds like a really powerful plugin in conjunction with Altimit Pixel Movement, but it seems like development and documentation has stopped. Going off of the usage detailed in the post, and a demo provided by @Esh , I got far enough to write this XML file here:
<animation-list sheet="%jared_extra">
<animation id="walk_NE" rate="10">
<frame x="240" y="330" width="80" height="110" />
<frame x="320" y="330" width="80" height="110" />
<frame x="400" y="330" width="80" height="110" />
</animation>
<animation id="walk_NW" rate="10">
<frame x="240" y="110" width="80" height="110" />
<frame x="320" y="110" width="80" height="110" />
<frame x="400" y="110" width="80" height="110" />
</animation>
<animation id="walk_SE" rate="10">
<frame x="240" y="220" width="80" height="110" />
<frame x="320" y="220" width="80" height="110" />
<frame x="400" y="220" width="80" height="110" />
</animation>
<animation id="walk_SW" rate="10">
<frame x="240" y="0" width="80" height="110" />
<frame x="320" y="0" width="80" height="110" />
<frame x="400" y="0" width="80" height="110" />
</animation>
</animation-list>
<script>
switch ( $params.direction8 ) {
case 9: return { animation: "walk_NE" }; break;
case 7: return { animation: "walk_NW" }; break;
case 3: return { animation: "walk_SE" }; break;
case 1: return { animation: "walk_SW" }; break;
}
</script>This is just to get diagonal animations working. Very simple. The file is named "%jared.xml", as the spritesheet the actor uses is named "%jared.png", while the spritesheet used for diagonal sprites is named "%jared_extra.png". All 3 files are inside img/characters, the plugin is turned on, and I've tried placing it above scripts and below scripts, yet nothing works.
The most I've gotten is a glitched up looking sprite, which looks like an idle sprite cut in half, SOMETIMES when I press the keys to move diagonally very precisely. I thought maybe I just plugged in the X and Y coordinates on the animations wrong, but the glitched sprite isn't even animating at all, it just displays that single glitched frame. And I've double checked the coordinates to be correct.
The only other thing I have to go off of is the fact that Visual Studio gives me an error "XML document cannot contain multiple root level elements" on the line with the inserted javascript. Which doesn't mean much, considering it's mandatory. So I'm not really sure what else to try. Has anyone else gotten this to work, and can maybe give some clues as to what's going wrong?