Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (dBc, clonman, TipmyPip, 1 invisible), 18,936 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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