Using "set mirrored" with Spriter ojects

0 favourites
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • How does one "set mirrored" with Spriter objects. That isn't an option, when I select the scml object itself but it is an option for the family of images for the character, however, this doesn't flip the character when it's moving the other way in the game.

  • Any Spriter experts out there?

  • it's not in mirrored. It's a little odd. but there is a set width option to mirror rather than a set mirror.

  • Thanks for responding. I look under the options in the event menu for my spriter object and don't see "set width" either. Am I looking in the wrong place?

  • Try watching this video in full, PSI, I think it will help alot. Here's the part you need at the moment:

    http://youtu.be/2yLiMxoUIVs?t=13m26s

    cheers,

    Mike at BrashMonkey

  • Thanks Mike. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • So, my game is a variation on a beat 'em up. My player character has 8 direction movement so I was able to make it switch directions using info from the above video and a keyboard event pretty easily. Now I am trying to make my enemy characters do the same. They use bullet movement (instead of platform which will let you compare movement on the vector.x) so I haven't found out how to turn their sprites around yet, as they move and follow the player.

  • For your non-spriter bullet behaviour sprites, unless I misunderstood, "Set bullet angle of motion" should do it or Sprite, "Set Flipped" if you just want to flip it.

  • Spriter objects don't have "set mirrored" as an option. After watching the above video I learned that to make them change direction, you chose "set object scale" and tell it to "flip x axis". I have made my player character switch easily using a simple keyboard command but what I'm trying to do is to get my enemies to mirror as they chase the player. If there was a "compare vector x" function, like there is with platform behavior, I could easily get them to flip but I don't see that as an option in the bullet behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • - I'm trying to get my enemies that have bullet behavior to mirror as they follow the player around. Any idea how to do that?

  • bullet angle of motion is between 90 and 270 flip on x-axis?

  • It doesn't seem like it will allow "between" in the values slot for compare bullet angle of motion or is there a way to type it in?

  • two conditionsi nthe event would do the trick (though there might be a better way)

    Is bullet angle of motion greater or equal to 90

    Is bulette angle of motion less or equal to 270

    Action= flip (The Spriter way of course ;) )

  • , I did that and they still don't flip. Here's what my event sheet is looking like:

    <img src="https://dl.dropboxusercontent.com/u/60595907/Screenshot%202013-12-18%2022.48.08.png" border="0" />

    Any ideas what I'm doing wrong? Sorry to bother you, I know you guys are busy! Thanks, Morgan.

  • "for each" of them will likely fix it. Meaning put for each Walker Spriter object at the top of that event.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)