Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 1,258 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2D + horizontal symetry on image #382372
09/07/11 16:53
09/07/11 16:53
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
hi,

I have an 2D image and i need to rotate it on the horizontal plan. (example : E become 3)

I could do it on paint but i wonder if i can do it directly with script editor ?

I searched in manual and on forum.

thanks.

Re: 2D + horizontal symetry on image [Re: ayks] #382377
09/07/11 17:26
09/07/11 17:26
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Have a look at (panel.)angle.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: 2D + horizontal symetry on image [Re: Superku] #382380
09/07/11 17:42
09/07/11 17:42
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
thanks, the rotation works but cant mirror the picture with this.
Tried to change the center but it still rotate basicly, i guess its normal.

Re: 2D + horizontal symetry on image [Re: ayks] #382382
09/07/11 17:51
09/07/11 17:51
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Quote:
7.22 Negative scale factors flip the panel texture.

http://www.conitec.net/beta/apanel-scale_x.htm

Re: 2D + horizontal symetry on image [Re: Pappenheimer] #382385
09/07/11 18:02
09/07/11 18:02
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
thanks,
i looked at it and it appears that

nameofpanel.scale_x = -1;

is sufficient for rotate horizontally an image.

solved.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1