Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Ayumi, Quad, AndrewAMD), 1,191 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 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