MonkeyBalls's Forum Posts

  • Can you send me a .capx file so I can check out if I am doing something wrong? Also, I tried to use the "override" function to set the angle of the cannon to the mouse position but I can't get the function to work, did you ever use this function? If you did could you explain it to me? I think I am getting the "object's name" field wrong

    I'm sending you the file wich I've tested this problem.

    http://we.tl/QVhXoqrwI5

    I've forgot to mention that I'm using a function "set C2 object to spriter object" from the scml object every tick, not the pinning behaviour from the object I'm looking to follow the player.

    Sorry about that. Should work with your mouse necessity too.

    o/

  • that's... odd, got it all solved here =/

  • hmm can't you update your object every tick? That one is working with the individual images

  • Here´s the most recent link I have for the plugin

    http://tinyurl.com/C2ScmlPlugin

  • Hmm no, the pinning behaviour by itself is not delaying now

  • Hey Tigago, try updating the spriter plugin, they have fixed this now =]

  • Great stuff man, spared me a lot of time.

    Thanks so much

  • +1 here

    Made the code manually, but didn't serve my need to the ocasion

  • Hi everyone,

    I know this topic is old, it seems that the updates fixed this problem.

    However, I'm working with Spriter and having this exact issue. I'm pinning a sprite form C2 to a imported sprite from Spriter, and it gets delayed.

    Even using other methods like updating position every tick has this delay going on.

    Any sugestions?

  • I think I'm having a similar problem, but it seems to get even more noticeable with a spriter object involved.

    Here´s an exemplo capx

    https://www.dropbox.com/s/ihjebgjixzx8e ... .capx?dl=0

    Any help here how to fix this?

  • Hey everyone,

    So I have this sprite object that is a loop animation of a smoke. I've imported an animation from Spriter that has a head with a cigarrete.

    I've pinned the smoke object with the sprite imported, and it fits and follows ok if the character is in idle animation, standing still. However, when I start moving (scml object is pinned to another object with standard platformer), the smoke has a delay following up, like it gets left behind a few frames trying to follow the position.

    Here's a simplified version that illustrates the issue

    https://www.dropbox.com/s/ihjebgjixzx8e ... .capx?dl=0

    Any idea why this would happend, and how to fix?

  • Here is my attempt at a fix, is this working how you wanted?

    https://copy.com/0ZeQHizXjlbc8JDG

    Yes, that's perfect!

    I see what you did, both objects has 8 direction bur only the movement one has colision.

    Great stuff, thank you so much

  • I've got one (pretty obvious) solution...

    The object wasn't perfectlly square ¬¬

    It's not rotating as I want, bu at least this way it looks the right way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's an exaple file... just bump in the wall and move up and down.... there has to be a way to make the object rotate normally <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    https://www.dropbox.com/s/efzldelvzdtcp ... .capx?dl=0

  • Maybe try using one object for the movement, and another pinned object for the sprite rotation?

    Hey Quicksand, thanks for the reply.

    I'm actually developing a system where an animated sprite is pinned with the 8 direction object, and the sprite changes depending on the other object's rotation... so I get this weird behavior when colliding with a wall... one solution would be make the object bounce back a little from the wall, but I don't understand why it has this behaviour.