Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (BrainSailor, mistery, Grant, vince), 11,817 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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