GradusGL Posted November 17, 2016 Report Posted November 17, 2016 Spriter 2D: Game Maker Studio extension package SpriterGM is DLL based extension package for Game Maker studio Requirements: GameMaker studio 1.4+. 1.1.0 update: added manual bone control added two bone IK minor bug fixes Installation: 1. Create new game maker project. 2. Download SpriterGM extension from Github SpriterGM.gmez or YoYo Marketplace 3. Drag and drop SpriterGM.gmez file on Extensions folder in resurces window of your game maker studio project. 4. Select SpriterGM package in Extensions folder and open propierties window (Alt+Enter) 5. Select Import Resources tab and press Import all button. Example projects: Example 1: Loading spriter instance Example 2: Animations blending Example3: Spriter event trigger uses Project source code: SpriterGM Github SpriterGM guide: Spriter 2D integration for Game Maker 1.4+ Tutorial video: namakemon and saga55555 2 Quote
Mike at BrashMonkey Posted November 17, 2016 Report Posted November 17, 2016 Looks awesome. Thanks very much for sharing this with the community! So, does this let you playback actual Spriter files in GM Studio with bone support etc? Do you have a list of the features it supports? Quote
GradusGL Posted November 17, 2016 Author Report Posted November 17, 2016 Mike thanks for reply! SpriterGM creating Game Maker child objects from spriterModel_instance and manipulate with objects parameters (x,y,image_angle and etc). In feature we are planing to add deataching functions (for example: to behead the enemy), errors handling functions, supporting spriter metadata and spriter objects like point or box Now SpriterGM supports: playing animation from scml blending animations character maps trigger events sound events For example:SpriterGM_features_demo.gmz namakemon 1 Quote
Mike at BrashMonkey Posted November 17, 2016 Report Posted November 17, 2016 That's fantastic! Great job. I know a lot of people have been waiting for this! Cheers. GradusGL 1 Quote
saga55555 Posted November 18, 2016 Report Posted November 18, 2016 I'm waiting this for so loooooong I have question. Is it support skin mode? Quote
GradusGL Posted November 18, 2016 Author Report Posted November 18, 2016 6 hours ago, saga55555 said: I'm waiting this for so loooooong I have question. Is it support skin mode? Skin mode not supported yet because in the Spriter it experimental. We hope that in Spriter 2 skin mode will be fully implemented, and we will add it in SpriterGM Quote
saga55555 Posted November 18, 2016 Report Posted November 18, 2016 1 hour ago, GradusGL said: Skin mode not supported yet because in the Spriter it experimental. We hope that in Spriter 2 skin mode will be fully implemented, and we will add it in SpriterGM Skin parts will not show right? I have to wait again T_T Quote
datcuriousdog Posted November 18, 2016 Report Posted November 18, 2016 Hey, I downloaded all files but none of them work. When I try to play the game I see the debug sprite only (green dots) I have game maker studio 1.4 Professional Edition and Spriter Essentials Any Ideas why it doesn't work? Quote
GradusGL Posted November 18, 2016 Author Report Posted November 18, 2016 datcuriousdog, Did you have Windows OS? Quote
saga55555 Posted November 19, 2016 Report Posted November 19, 2016 I testing the tutorial and everything work fine. But I noticed one problem. The animation caused memory leak! The memory slowly increase. I try to put 20+ moss golems in and memory increase faster Is memory increase because of bone moving? Quote
datcuriousdog Posted November 19, 2016 Report Posted November 19, 2016 11 hours ago, GradusGL said: datcuriousdog, Did you have Windows OS? Yeah I have Windows 7 Quote
Gillmog Posted November 19, 2016 Report Posted November 19, 2016 15 hours ago, saga55555 said: I testing the tutorial and everything work fine. But I noticed one problem. The animation caused memory leak! The memory slowly increase. I try to put 20+ moss golems in and memory increase faster Is memory increase because of bone moving? Memory leak is fixed. Extension moved here https://github.com/Gillmog/spriterGM/blob/master/extension/spriterGM.gmez Quote
saga55555 Posted November 20, 2016 Report Posted November 20, 2016 13 hours ago, datcuriousdog said: Yeah I have Windows 7 I think you need Visual Studio http://help.yoyogames.com/hc/en-us/articles/216753638-Setting-up-GameMaker-Studio-for-YoYoCompiler-Platforms Quote
saga55555 Posted November 20, 2016 Report Posted November 20, 2016 8 hours ago, Gillmog said: Memory leak is fixed. Extension moved here https://github.com/Gillmog/spriterGM/blob/master/extension/spriterGM.gmez Seem like images can't be load if I not put files in correct order right? My bad habit is put scml and image files in same folder Quote
GradusGL Posted November 20, 2016 Author Report Posted November 20, 2016 File's can be in same folder where scml. Quote
hippyman Posted December 6, 2016 Report Posted December 6, 2016 I'm glad somebody was able to figure this out. I'm eager to try it. Quote
WikileSseeal95 Posted December 7, 2016 Report Posted December 7, 2016 hey, good work on this, but i found it has a hidden dependency (not stated anywhere obvious) to Microsoft Visual Studio 2015 Redistributable (MSVCP140.dll) Quote
hippyman Posted January 9, 2017 Report Posted January 9, 2017 This works great! Is there any way to dynamically change animations at runtime? Like overriding a head bone so it always looks at the mouse. Quote
GradusGL Posted January 11, 2017 Author Report Posted January 11, 2017 hippyman Yes, it will be ready soon) hippyman 1 Quote
hippyman Posted January 12, 2017 Report Posted January 12, 2017 14 hours ago, GradusGL said: hippyman Yes, it will be ready soon) That is awesome to hear! They need to swap our member titles. I tried making Spriter work with only GML but ended up pushing it to the side because I was having issues with getting it working, then here you come out of nowhere with this! I'm the newbie, you're the advanced member for sure! Thanks again for making this. Quote
Kurtis Black Posted January 16, 2017 Report Posted January 16, 2017 I've been playing around with this plugin, and it's absolutely amazing! However, I'm running into two difficulties: 1: Whenever I try to spriter_load on a scml file from the RPG Maker set, I get a crash with the following text: Quote ___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event for object player: Trying to get texture from non-existing sprite. at gml_Script_spriter_load (line 23) - var texture = sprite_get_texture(spriteIndex, -1); ############################################################################################ -------------------------------------------------------------------------------------------- stack frame is gml_Script_spriter_load (line 23) called from - gml_Object_player_CreateEvent_1 (line 1) - spriter_load("RPG_pack_32/Male_32.scml", "Male_high-res", false); I have no idea why it's happening, if it's something I'm doing wrong, or if the plugin is having difficulty with something in these specific files. I've tried both the Essentials version and the purchased version. 2: Thinking that it might have to do with the ability to change palettes, I loaded the Radius Wing pack, and it loaded fine. But I can't figure out how to select the palettes I want to use. 3: I just don't understand what some of the commands in the plugin do. Is there a manual, akin to Game Maker's manual, with a breakdown of all the functions and their arguments? If so, please tell me it isn't linked up above and I just blindly missed it. Thanks for the amazing plugin! Quote
Mike at BrashMonkey Posted January 16, 2017 Report Posted January 16, 2017 This is just a guess, but it sounds to me like its hitting what Spriter thinks is a missing image... though no image that is used is actually missing, there might be a reference in the Spriter file to an image that it thinks it needs, but does not, and which is not present.. If this is right, the way to test might be to find out what image is reported as missing and just create an image with that name and put it in the appropriate folder in the art pack. thanks. -Mike at BrashMonkey Quote
hippyman Posted January 27, 2017 Report Posted January 27, 2017 Dude you are my freaking hero. Thank you for adding in bones and IK. You just made GM fun for me again. Quote
Mike at BrashMonkey Posted January 27, 2017 Report Posted January 27, 2017 FANTASTIC WORK GradusGL! Quote
hathor Posted January 30, 2017 Report Posted January 30, 2017 This seems to work quite well in 1.4 but errors out in 2.0. Hopefully it's an easy fix. I realize GMS2 is still in beta and subject to change, but I am quite new to GMS so I am not sure how to fix it. I like GMS2's interface quite a bit more than GMS1. ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Create Event for object Player: SpriterDocumentLoader::loadFile - invalid Spriter file : missing "spriter_data" element File not founded PlatformerPack/player.scml at gml_Script_spriter_check_errors (line 13) - show_error(Error, true); ############################################################################################ -------------------------------------------------------------------------------------------- stack frame is gml_Script_spriter_check_errors (line 13) called from - gml_Script_spriter_load (line 6) - spriter_check_errors(); called from - gml_Object_Player_Create_0 (line 1) - spriter_load("PlatformerPack/player.scml","Player",false); Quote
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.