Character facing wong way..

0 favourites
  • 12 posts
From the Asset Store
2d mushroom sprite 2d game mushroom character enmy sprite game art
  • Hey guys!

    My platform character is facing the wrong way when in game, and I need some help.

    When I'm in the editor, the character sprite is facing right.

    But when I run the layout, the character faces left.

    I have tried to mirror the sprite when pressing a key, but I failed in the process.

    I have searched the forum but no topics match my problem.

    Can anybody help me?

    Thank you in advance.


  • first of all the picture of the character has face on left or right??

    if right the do this :


         condition:keyboard: right arrow is down

         action : player : set mirror = not mirrored


         condition:keyboard:down arrow is down

         action : player : set mirror = mirrored

    if your picture of animation is opposite then do the opposite to the events.

  • The character is facing to the left, but the picture in the editor is to the right.

    Here is the .capx:

    Now the character turns correctly at the button pressed, but when I release the right arrow button the picture turns left.

    I want it to turn right.

  • link doesn't work... anyway if this happened then try to disable all other events and see if the problem is still happening or not... if it still then try my way for animations :

  • I've actually tried that, but I don't want to restart the project. But by the looks of it, I think I have to.

    Here's the link:

  • I also played your game "Wizard Life", not bad! <img src="smileys/smiley1.gif" border="0" align="middle" />

    But it needs some tweaking here and there.

    Like when your character falls down underneath the level, it dosen't die.

    But I bet you allready know that. But if you don't, you can fix it by adding a player event. And click "is outside layout". Then add an action: Player object - Destroy.

    Just wanted to let you know. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • You're setting the player mirrored every tick in event 4. That's why he's always facing left. You can get rid of event 3 and 4.

  • Finally, how did I not see that?

    Thank you ramones! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • lol i told you try to disable all other events and see if it work or not ... anyway thanks for the comment for the game i have no events to fix it ^^ thats why i'm waiting my award from gamezanga then ill fix it ^^

  • So it's possible to disable an event without deleting it?

    Ok, well good luck! :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, right-click on the event and 'toggle disabled'.

  • Ok, thank you again ramones! <img src="smileys/smiley1.gif" border="0" align="middle" />

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