Page 26 of 26 FirstFirst ... 16 24 25 26
Results 251 to 256 of 256

Thread: Beta: Spriter Object Extension

  1. #251
    Clicker Multimedia Fusion 2

    Join Date
    May 2014
    Location
    Paris, France
    Posts
    7
    Hi conceptgame,

    I just sent you a PM with an example.

    Thanks !

    Thomas

  2. #252
    I'm having an issue where, when switching animations, any object/sprite not present in the previous animation will fly into the frame from offscreen.

  3. #253
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,097
    Quote Originally Posted by dustingunn View Post
    I'm having an issue where, when switching animations, any object/sprite not present in the previous animation will fly into the frame from offscreen.
    This is just a guess, are you blending from one animation to the other? If one animation has something and the next does not, or the animations use diferent bones etc, you should likely not blend one animation to the next.

  4. #254
    Quote Originally Posted by BrashMonkey View Post
    This is just a guess, are you blending from one animation to the other? If one animation has something and the next does not, or the animations use diferent bones etc, you should likely not blend one animation to the next.
    Yeah, I was blending. Trying without the blend, it causes crashes (after about a minute, and just from basic animation switching.)

    This is with loading from external. I'd try the loading from active but I have no idea how you're supposed to make a pipeline to get every sprite into an active object easily.

    Edit: It wasn't causing a crash, per se. It's destroying the spriter object which causes Advanced Direction Object to crash (because it'll crash if it references an object not in frame.) The spriter object self-destructing is still pretty worrying though.

    Edit 2: The sprite occasionally flashes, and an active object set to the X position of a bone will destroy itself if "destroy if too far from frame is checked." Does that mean when it flashes, the bones/sprites go offscreen for 1 frame? It also crashes due to the spriter object if I set the active to its point position and the spriter object kills itself (previously mentioned issue.) I think a safety check is missing. Set a string to check the x position of the bone and when the spriter object is destroyed, the x position is: -2147483648. Guessing the self-destructing is caused by the "destroy if too far" on the spriter object as well.
    Last edited by dustingunn; 3rd August 2017 at 10:53 PM.

  5. #255
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    conceptgame's Avatar
    Join Date
    Apr 2011
    Location
    Switzerland
    Posts
    653
    Blog Entries
    6
    Hi dustingunn,

    I am really late on all issues at the moment. Can you sent me an example to make it easier to debug and fix this?
    Damien

  6. #256
    Quote Originally Posted by dustingunn View Post
    Yeah, I was blending. Trying without the blend, it causes crashes (after about a minute, and just from basic animation switching.)

    This is with loading from external. I'd try the loading from active but I have no idea how you're supposed to make a pipeline to get every sprite into an active object easily.

    Edit: It wasn't causing a crash, per se. It's destroying the spriter object which causes Advanced Direction Object to crash (because it'll crash if it references an object not in frame.) The spriter object self-destructing is still pretty worrying though.

    Edit 2: The sprite occasionally flashes, and an active object set to the X position of a bone will destroy itself if "destroy if too far from frame is checked." Does that mean when it flashes, the bones/sprites go offscreen for 1 frame? It also crashes due to the spriter object if I set the active to its point position and the spriter object kills itself (previously mentioned issue.) I think a safety check is missing. Set a string to check the x position of the bone and when the spriter object is destroyed, the x position is: -2147483648. Guessing the self-destructing is caused by the "destroy if too far" on the spriter object as well.
    I would double check your animations, I was having a similar issue and it turned out it was being caused by one animation having parts at some ridiculous offset for a split second.

    conceptgame: I've implemented the change to the way image loading handles external images I was talking about earlier in the thread, I've committed the changes to my fork on github, but I closed my pull request due to it also including changes I made to compile it in VS2017. I can open up a new pull request from a new branch if you'd like to take a look, it's not a very complicated change and it seems to work nicely.
    Last edited by Shadoku; 13th August 2017 at 12:39 AM.

Page 26 of 26 FirstFirst ... 16 24 25 26

Similar Threads

  1. [BETA] Extension Info Object
    By Dines in forum Extension Development
    Replies: 14
    Last Post: 20th February 2011, 03:57 PM
  2. Beta Extension: OS Information Object
    By Tim in forum File Archive
    Replies: 0
    Last Post: 13th February 2010, 03:09 AM
  3. New extension: Sticky object (public beta 1)
    By Anders in forum Extension Development
    Replies: 51
    Last Post: 6th August 2009, 05:56 AM
  4. New extension: OpenGL object (public beta 1)
    By Zyx in forum Extension Development
    Replies: 99
    Last Post: 11th December 2008, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •