icuurd12b42 Posted May 9, 2012 Report Share Posted May 9, 2012 [*: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. Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted May 9, 2012 Report Share Posted May 9, 2012 Great job icuurd12b42! I know a lot of people have been waiting for this. Quote Link to comment Share on other sites More sharing options...
niliadu Posted November 1, 2012 Report Share Posted November 1, 2012 Hi My team and I are new at gamemaker and we decided start using the gamemaker studio for our first game. We are tyring utilize this API in the Studio without succes up to now. Someone Knows how can I use the spriter file in the GameMaker Studio? Thanks for the attention Quote Link to comment Share on other sites More sharing options...
Tapewormz Posted December 4, 2012 Report Share Posted December 4, 2012 HiMy team and I are new at gamemaker and we decided start using the gamemaker studio for our first game. We are tyring utilize this API in the Studio without succes up to now. Someone Knows how can I use the spriter file in the GameMaker Studio? Thanks for the attention You can't currently use the Spriter API with GameMaker Studio. Only GameMaker 8 is supported. Hopefully GMS will be supported VERY soon. Quote Link to comment Share on other sites More sharing options...
NerdBox Posted December 20, 2012 Report Share Posted December 20, 2012 It work with GM-8 Pro ? Quote Link to comment Share on other sites More sharing options...
Tapewormz Posted January 3, 2013 Report Share Posted January 3, 2013 It work with GM-8 Pro ? Well now it doesn't, because this old build of the dll is for an older alpha version of spirter. So now it's completely useless. :) Quote Link to comment Share on other sites More sharing options...
NerdBox Posted January 19, 2013 Report Share Posted January 19, 2013 Oh darn. Kind of hope its updated soon so I cna start on character and NPC development. Also would appreciate the option to modify attributes and such. Quote Link to comment Share on other sites More sharing options...
Tapewormz Posted January 27, 2013 Report Share Posted January 27, 2013 I don't know, this was posted in May of last year. I hope that he's just waiting for the release, otherwise I think the Game Maker Studio crowd will be out of luck. Quote Link to comment Share on other sites More sharing options...
Indecom Posted February 19, 2013 Report Share Posted February 19, 2013 Hey guys, i'm not sure how often the OP still works on this, but I've taken it upon myself to update this API to be not only compatible with GM:Studio, but also compatible with the latest build of Spriter. I am Lead Programmer of New Horizon Gaming LLC, and our current project requires this kind of animation for many of the enemies and structures found throughout the game. I've been developing in GM and other languages for many years, and in fact I got GMSpriterApi to work in GM:S in a matter of ten minutes, however the big issue left is that there is no support for bones, or even the new file format. So that's where I come in. Hopefully i can get this working, and i can share the spoils with the community :). Quote Link to comment Share on other sites More sharing options...
Indecom Posted February 19, 2013 Report Share Posted February 19, 2013 Hey guys, i managed to get GM:S to read almost all the bits of the new file format. Next step is adding tweening animation of sprites, then the bone animations. Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted February 23, 2013 Report Share Posted February 23, 2013 Awesome! Keep up the great work Indecom! I know a lot of people have been waiting for GameMaker Studio support. Thats the great thing about open development. If one person looses the time or interest to develop, others can take over the reigns and keep it going. -Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Indecom Posted February 27, 2013 Report Share Posted February 27, 2013 Hey thanks for the positive reinforcement! I've managed to much of the new file format, enough information to allow for sprite based animations, sans bones (which will be added later). I've got all the sprites in a file to load into gm:S and made them displayable on screen by picking a folderid and fileid to draw on screen. Next step is to draw a complete keyframe, then figure out tweening between keys. Quote Link to comment Share on other sites More sharing options...
HardcoreBadger Posted April 21, 2013 Report Share Posted April 21, 2013 just so you know it doesnt work with gm8 anymore coz of the file type Quote Link to comment Share on other sites More sharing options...
niliadu Posted May 23, 2013 Report Share Posted May 23, 2013 Hey thanks for the positive reinforcement! I've managed to much of the new file format, enough information to allow for sprite based animations, sans bones (which will be added later). I've got all the sprites in a file to load into gm:S and made them displayable on screen by picking a folderid and fileid to draw on screen. Next step is to draw a complete keyframe, then figure out tweening between keys. Hi Indecom, There is a usable version of your api for game maker studio? Even with some limitations or errors it would be a great help in my project. Thanks for working on this implementation Quote Link to comment Share on other sites More sharing options...
tombmonkey Posted June 12, 2013 Report Share Posted June 12, 2013 I was wondering, what happens if come spriter 1.0 and no one in the community develops a working implementation? I already got pro so I can't back off :P, but it would be nice to know if you would take development of the implementation yourself? I know it's impossible to implement every single developing software out there, but making sure that there are working implementations for the most common/popular ones would be wise marketing. Quote Link to comment Share on other sites More sharing options...
xaby Posted June 28, 2013 Report Share Posted June 28, 2013 I hope there will come a Game Maker Studio implementation with the "new" SCML-Format. And an easy work arround. Thanks. Quote Link to comment Share on other sites More sharing options...
xaby Posted June 28, 2013 Report Share Posted June 28, 2013 So, to get my game done, I bought Spine. I also bought Spriter, but Spriter is still Beta and I cannot use it in Game Maker Studio easily. So I thought about programming a converter from SCML to JSON with the Spine-Format. But I think, that is not, what the Vision of Spriter SCML was over a year ago. So what is the problem? How was it possible, that Spine grows faster than Spriter, both had nearly the same amount of money, and Spriter Developer had nearly 9 month more time for programming. I belived in you, but now I feel very lonely. Quote Link to comment Share on other sites More sharing options...
StOrM3 Posted July 19, 2013 Report Share Posted July 19, 2013 Indecom dropped out of the game maker studio api business.. I've tried to contact him and nudge him a few times on the GM forums, and he always just tells me he is busy with his current game, and that the api is in disarray and not in a useable status, which means, I've figured it out, I've got it, and noone else is going to use it... I've even asked him to ship me what he has, so I can pick it up and run with it, and he won't... He keeps saying when I'm done with what I'm working on I'll finish it sometime, I have to have it done for my current game, but evidentally he doesn't care about the rest of the GM Studio population that are already spriter pro owners.. Oh well, Se La Vi !! Just thought I would post an update since he doesn't anymore.. Sorry to report all this, I really wanted to use Spriter for some projects.. Ciao' Mano's StOrM3 Quote Link to comment Share on other sites More sharing options...
StOrM3 Posted July 19, 2013 Report Share Posted July 19, 2013 -- Listen Up -- After further digging, I was able to save the Beta 1.3 Version created by: icuurd12b42 who appears to be a Global Moderator on the GM forums... So chances are much better talking with him about this. Also, following his instructions, I was able to import his project and then export the scripts into Game Maker Studio format readable. Next step is to make some mods he says such as the scml filename will have to be hardcoded for each project, as GM Studio has had the file selection form stuff ripped out, but they have put the non-pausing form functions in so I may be able to just switch it over to that, but I don't think this will be necessary, since each person, and each project will know what scml files and stuff will need to be loaded in.. Here is how the Author: icuurd12b42 explains it: In the controller object: // This function is not supported by GM Studio ATM. Hard code the path and filename. var fname; fname = get_open_filename("Spriter Files (*.scml)|*.scml",""); if(fname !="") SpriterLoadProject(fname); else game_end(); // End This Function from Controller Object. BTW: I will NOT take Credit for his hard work, icuurd12b42 is the original Author, I'm Merely Modifying his Code to Update the scml Format, and maybe add some extra stuff like hotspots and / or bones if possible. So as he says Just Hard code the path and filename, and this shouldn't be a problem. Although, icuurd12b42 did stop with pre-beta R3, so I will have to modify the internal scripts to load the new / and hopefully stable file format, at least stable enough to make it work without too many changes afterwards... I hope others will benefit from this bit of hacking, and file mods to make a setup at least useable for GM Studio! Finally, I had to do it myself, since my last post as Indecom had me P.O.'d after me seeing his game was done and he was trying to upload a Win 8 version of it to the M$haft store, this took the cake for me, as I knew he had to have his version of GM Studio Spriter Setup done.. Anyways, give me a few days to play around with it, and run some tests, maybe if Lucid or whoever is coding on spriter currently, can shoot me some info as to what I may have to modify and / or change to update the file format loaders.. Thanks 4 Listening, Ciao' 4 Now, StOrM3 Quote Link to comment Share on other sites More sharing options...
Mitch Posted September 25, 2013 Report Share Posted September 25, 2013 @StOrM3 Hey man. Do you have good news about GMSpriter ? Thanks Quote Link to comment Share on other sites More sharing options...
Chrscool8 Posted October 21, 2013 Report Share Posted October 21, 2013 I'm also interested if there's any progress on this. If not, I'm also working on one (built fresh, not from the older stuff) for Studio and presumably 8.1 and less, too. I'm about halfway done after a tricky night of code. If it works well enough, and it's not too messy, and someone else doesn't come out with a better one first, I'd be glad to post it. Quote Link to comment Share on other sites More sharing options...
xaby Posted November 2, 2013 Report Share Posted November 2, 2013 Do you have a Link into Game Maker Forum for your project? There are a JSON Spine Project, seams to work fine. http://gmc.yoyogames.com/index.php?showtopic=595125 Maybe it's possible to convert Spine/Spriter into eachother. Quote Link to comment Share on other sites More sharing options...
pikmin4000 Posted November 2, 2013 Report Share Posted November 2, 2013 Yea, Game Maker Studio even said they were going to have official support for Spine in GMS 1.3. While I already bought Spriter Pro and have been waiting over half a year for a Game Maker Studio API, I just wonder if I should just switch over to Spine. I would do create the API myself, if I knew any clue how... Quote Link to comment Share on other sites More sharing options...
xaby Posted November 3, 2013 Report Share Posted November 3, 2013 I think the easiest way would be a converter from Spriter XML to Spine JSON. I love both products, and also bought both. I tested Spriter with Construct 2, and it worked, but for complex project, I more like the way game maker is handling the files. I also don't know if any official XML support is there for Game Maker Studio without DLLs. I am also thinking of replacing the GameMaker-Room-Editor for the Levels with the use of Spriter, Spine or Rube (iforce2D) (https://www.iforce2d.net/rube/) Would be great to be able to use alle three programs without complicate thinking in Game Maker Studio. Quote Link to comment Share on other sites More sharing options...
xaby Posted November 3, 2013 Report Share Posted November 3, 2013 Maybe this one ... http://gmc.yoyogames.com/index.php?showtopic=537492 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.