lucid's Recent Forum Activity

  • Awesome. Thanks for the info. I was wondering how much of a difference it'd make in real world examples.

  • Another new version, everyone! This one has an important optimization that may help some of your games:

    Download new plugin version

    12/22/2016

    • Fixed a bug that caused multiple instances to each send an ajax request for the same file until the first one was complete. This was bypassing an important optimization and the fix should result in less downloading and faster initial startup for games that have multiple instances of the same object

    thanks terransage

    BBaller1337 I will see about updating the main plugin help page in the near future with more detail. But here's answers to your specific questions:

    x and y is the position of the scml object itself. This would correspond with where the gridlines meet in Spriter.

    objectx, and objecty are the positions of the individual sprites, action points, boxes, or bones within the animation.

    BBox___ returns the box for the entire scml object. You can preset the bounding boxes in Spriter using the bounding box icon in Spriter located in the animation list widget. Choose 'calculate'. You should always do this when using direct drawing mode as well to ensure the plugin knows when the object goes off screen.

    If you wish to animate volume and panning changes in Spriter, use the

    'on sound volume/panning change triggered' conditions in the plugin and the soundVolume/soundPanning expressions to set the volume in the audio plugin. If you use the triggeredSoundTag expression for both there shouldn't be an issue with multiple sounds playing.

  • lucid

    Is there a way to apply shaders to specific parts of objects when using direct drawing mode?

    Unfortunately no. That's one of the tradeoffs of direct mode. As far as I can tell it wouldn't be possible to support multiple effects like that with C2's plugin architecture.

  • New plugin version!

    • added 'Set ignore global time scale' action.
    • overrides now work even when animation is paused.
    • fixed bug where overrides wouldn't work on sprites in self draw mode.
    • fixed bug where overrides wouldn't work properly during animation blends.
    • fixed a bug where image overrides wouldn't work in several situations.
    • fixed a bug where metadata wouldn't work after a layout restart.
    • fixed a bug where sounds and events would trigger every tick between instant keyframes.
    • fixed several issues with bounding boxes when resized and flipped.
    • added BBoxLeft, BBoxRight, BBoxTop, BBoxBottom expressions to retrieve the edges of the bounding box like default C2 sprites.
    • fixed a bug that would cause hybrid performance mode (self drawing, with some separate objects like collision boxes) to perform much more slowly than performance mode
    • fixed a bug that was preventing certain performance mode optimizations from working in some circumstances

    Hi everyone. I am currently using the old spriter plugin and would love to upgrade it to the new plugin version with "performance mode". I haven't done too many characters yet and I could easily delete the old ones and replace them. However, I have a big issue, the main character. A lot of logic has been implemented involving his movement pattern in connection with animation-triggers. is it possible to update the previous scml-object of my main character to the new scml in performance mode? if so, what would be the best way to do this?

    All help is greatly appreciated. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Hello , the steps required are here. (Do a control-F (find) in your browser and search for: 'To change' (without quotes) to quickly find the section : To change your existing project to use the new direct drawing mode)

    lucid, I've emailed you the CAPX files requested and some further details on the issue. Thanks for looking into this.

    The issue is fixed. Thank you.

    Hi,

    I wasn't too sure where to post this.

    I am using the Spriter plugin I found and downloaded it from here https://www.scirra.com/forum/viewtopic.php?t=75748&start=0

    For some reason I cannot get my sprite to show though. I can't see it in the Construct 2 editor and I can't see it when I run my game either. I followed the instructions on saving it in Spriter using the other save options and made a new event sheet and layout to place my Spriter objects, I have dragged and dropped the .SCML file on to my Spriter layout too. The only event I see in the event sheet is an 'Initialize' event.

    Hi, I responded to you a while back. Did you get my reply via email?

    Hello lucid it's me again and I think I've found a bug.

    To give you some background on what I would like to achieve.

    I would like to manipulate the angle of a single bone, this would make it possible for me to set the angle of a weapon accordingly to the mouse pointer position.

    I've done some smaller tests as you can see in the image below and I couldn't get it to work.

    I did use your example capx and tried to set the angle of the pistol but it didn't work at all.

    I'm not sure if this is an issue related to the new self-drawing method but the "Override ..." doesn't seem to work with the old method.

    This issue is pretty critical in terms of game development and currently slows down our progress.

    lucid I hope that you're able to fix or provide a workaround for this issue, thanks in advance!

    My test to override the pistol animation and set the angle to mouse pointer position.

    Edit: I'm using the latest version and ignored the error messages since the older version is returning a JS error while previewing.

    f the bug fix above doesn't work, it looks like you're using the C2 object names possibly? If so, make sure you use the original object names from Spriter before the specialized save and C2 import prepends the entity name. I added a note in the action about this. Please let me know if any of this fixes your issue.

    Hi. I've been playing around with spriter for my next project and and must say that it is really great. Character maps are so handy for me who likes to create tons of playable characters that shares the same animation. So thank you for this amazing tool <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    One question. I have an animated character and would like to add a hat to this character. Do I have to animate the hat to match the heads animation or can I just place the hat on keyframe 1 and then lock the hat sprite to the head and it just moves with the head which is already animated?

    I know that if I had used the bone tool I could just add it to the head bone but I didn't use bones for this character.

    EDIT: I've decided to start over and just build the character with bones instead which makes it so much easier.

    lad you got it working, and yes, it's much easier to do something like that with bones. Don't forget you can still animate the hat individually if you want it to slide a little on the head, but not detach.

    Hey lucid, how are you doing?

    So... to the point, I tried updating the scml plugin to version 7-9-16 from an older verison and it gave a probably not-very-helpful error (https://i.gyazo.com/dd9ec35330569c7afa6 ... 0d0684.png)

    I don't want the edittime error problem you had before but didn't see anything about it being fixed, and I also don't want to update to the new performance mode.

    So... is it safe to update to the latest plugin even if we were using an older version? Is there anything I should be concerned about? Trying to find out why an older version of a plugin doesn't work seems like a poor use of effort/time, but I also don't want to unknowingly incur some issues by upgrading (which I tested and SEEMS to work, but... I like to play it safe, haha).

    Thanks in advance.

    EDIT: Aaaand right after this I tried updating an animation (using the latest version of Spriter and the plugin) and got anotherr error

    Again, trying to decipher why this is happening seems like a futile task given how many variables there are, though I also can't afford to like, start over. Any ideas I should try or any specific info I can give to help get this sorted out?

    EDIT2:

    [quote:1feyqvdy]So... while the C2 implementation of Spriter has never really worked well for me, after updating Spriter to r9 and the SCML plugin to version 7-9 and later the latest version, it's straight stopped working.

    So I tried different versions of the plugins, looked for an older version of Spriter (to no avail), tried resaving the CAPX, tried deleting the old object in C2 and re-inserting it, tried creating a new Spriter project and importing the old one into it, tried inserting into the example CAPX you created (since it doesn't have as much going on), and finally, tried creating a new Spriter project and inserting it into the CAPX, which is the only thing that actually works, but I really don't want to have to recreate all my animations. (I tried an older animation and just dropping it straight into the project works fine, but it seems like trying to update anything basically bricks it.)

    Hi I'm sorry, that all sounds frustrating. I hadn't updated that version of the plugin from previously created caps. Please see if this new version fixes your issues. If not feel free to send me your capx to lucid@brashmonkey.com and I'll see what I can do.

  • Thank you both for the info. That makes things pretty simple.

  • I'm not sure if it's possible, but I'd like to allow the user to select screen resolutions from a list of resolutions supported on their hardware configuration. I know how to make a listbox and change the resolution, I just need to know how to get a list of supported (fullscreen) resolutions.

  • robin Sommer - could you send me your zipped Spriter project to ?

  • new version

    11/2/2016

    • Fixed a bug where default pivot points weren't working with the new self-drawing/performance mode
  • TheRealDannyyy - yeah, it's a bit outside the scope of Spriter to handle physics and and collisions. I think the best alternative would be to create the joints based on the Spriter bone positions. I don't have time to look in depth into chipmunk physics at the moment, but one thing I've considered adding and might be able to add (probably not too soon) is a hierarchical 'for each bone' condition that would loop through the base bones, and then each of their children, etc, and corresponding expressions to give you the 'current child bone'/'current parent bone' type info. Would that be helpful?

  • "chipmunk physics" behavior?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes. It will always be in the Spriter Plugin for C2 link in my signature, and in this thread.

  • TheRealDannyyy is there anyway you can use the Override Object Animation action to tell each sprite where to be while in ragdoll mode?

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 22 followers

Connect with lucid

Trophy Case

  • 15-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies