This site requires JavaScript, please enable it in your browser!
Greenfoot back
tosteck
tosteck wrote ...

2018/6/25

How do I change the direction my character is facing?

tosteck tosteck

2018/6/25

#
This is a really simple question. How do I change the direction my character is facing? In the image I have, the character is facing the left. I want to make my character face the right when he is moving to the right.
danpost danpost

2018/6/25

#
tosteck wrote...
How do I change the direction my character is facing? In the image I have, the character is facing the left. I want to make my character face the right when he is moving to the right.
Make a copy of the image and use a "mirror" method on the new GreenfootImage object.
Agent40 Agent40

2018/6/25

#
danpost wrote...
tosteck wrote...
How do I change the direction my character is facing? In the image I have, the character is facing the left. I want to make my character face the right when he is moving to the right.
Make a copy of the image and use a "mirror" method on the new GreenfootImage object.
Or he could just Mirror every image separately using something like Photoshop or Paint.net and then have two separate images for each direction.
You need to login to post a reply.