GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

flip a image

i am trying to get this animated image that i purchased to flip so i can have a person running right to left but i can't flip the image i have tried to download it but the zip just ads it to my GS creator i also can't do the right click download to computer of the images because it has lines thru it and it gets larger and smaller please help this it the picture i bought.

http://marketplace.gamesalad.com/#product=9787

Comments

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,541Member

    You can flip the actor right in GS if you want too. Make an actor in GS using the image, then under the Graphics settings choose to Flip Horizontally.

    You can also do this dynamically in the game to use the same image for right and left facing by using a Change Attribute Behavior and making Flip Horizontal True and False as needed using the Attributes Browser.

  • KillerPenguinStudiosKillerPenguinStudios Posts: 1,291Member
    edited June 2014

    @[email protected].com said:
    i am trying to get this animated image that i purchased to flip so i can have a person running right to left but i can't flip the image i have tried to download it but the zip just ads it to my GS creator i also can't do the right click download to computer of the images because it has lines thru it and it gets larger and smaller please help this it the picture i bought.

    http://marketplace.gamesalad.com/#product=9787

    There are two things you could do. The first way is as @jamie_c‌ had said.

    Below would be rules if your using the keyboard but you can adjust the rules for your game if your using buttons or something else to move the player. (This is if the images are of the player facing to the right. If the images are facing to the left then just simply change the true and false rules)

    In the player actor:

    When keyboard right is pressed;

    Change Attribute: self.graphics.Flip Horizontally: to false

    Animate: (place the images of the animation here)

    When keyboard left is pressed;

    Change Attribute: self.graphics.Flip Horizontally: to true

    Animate: (place the same images of the animation here)

    This second way is if you are set on having specific images for the run right animation and specific images for the run left animation. This will attempt to allow you to save the images to your computer so you can edit them.

    There are times this works and other times it decides not to work. Give this a try. While in the creator, look at the images under the images tab. Try dragging them from the creator to your desktop and see if it will allow you to save them to your desktop to then make a copy of them facing the other direction.

    Hope that helps and makes sense!

  • Thunder_ChildThunder_Child Posts: 2,343Member

    In the image selection window I just double click...it allows me to open in iPhoto's and I flip there and save as.

    Bazinga !!!

Sign In or Register to comment.