[*:3hd4gfwf]Title: GMSpriterAPI Beta1.3. [*:3hd4gfwf]Description: Support for Spriter files (SCML) [*:3hd4gfwf]GM Version: :GM81: :GM8: [*:3hd4gfwf]Registered: Yes [*:3hd4gfwf]File Type: .zip (gmk, gm81, gmres, gml, animation project file and resources) [*:3hd4gfwf]File Size: 333kb [*:3hd4gfwf]File Link:
http://www.host-a.net/u/icuurd12b42/GMSpriterAPI.zip [*:3hd4gfwf]Spriter Site: http://www.kickstarter.com/projects/539087245/spriter [*:3hd4gfwf]GMC Topic: http://gmc.yoyogames.com/index.php?showtopic=537492
Summary
This adds support to load Spriter character animation files into your games.
Interface:
[*:3hd4gfwf]SpriterInit() Initializes the setup [*:3hd4gfwf]SpriterLoadProject() Loads the SCML file. Supports multiple files [*:3hd4gfwf]SpriterSetCharaterAnimation() Set the animation for the character [*:3hd4gfwf]SpriterDrawCurrentFrame() Draws the animation frames [*:3hd4gfwf]SpriterDebugMakeAnim() pops up a menu to create an animation from the characters available
NOTICE:
Included in the zip is the Spriter R1 and R3 character files, no harm intended, used for proof of concept
Limited support for R1 and R3
There are features in Spriter that could be supported... Collisions would need to be synchronized and I think there is hot point support to come in Spriter but the file did not have anything regarding the 2.
If you are interested, I can add support to fetch where an item is, like the sword in the animation so you can drop a collision enabled object at the location, so to detect sword hits. I could also provide support for compound characters where each sprite could possibly be linked to an instance.
Support
[*:3hd4gfwf] Spriter R1 files support [*:3hd4gfwf] Spriter R3 files support [*:3hd4gfwf] hot spot support (to us, x,y origins) [*:3hd4gfwf] bounding box loading, no access
Issues:
[*:3hd4gfwf]The frame timing is slightly off (not noticeable though) [*:3hd4gfwf] section is ignored [*:3hd4gfwf] ignored
Please provide feedback... and I do have a donate link below in my sig :)
The Demo
It asks for the animation file when it starts
Right Click will show the characters available.