Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 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
center_x and position #299527
11/24/09 17:03
11/24/09 17:03
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hello conitec,

I played around with the rotation of the panels and I think it would be better, if center_x/y are not only the rotation pin, but would become the working point for the positioning,too - instead of the top left corner; This would make things easier and more intuitive, because in most of the time you know the exact rotation point and nothing else, so it would redundantize some lines of code.

Thnak you!
Scorpion

PS: I am not sure about this, but I think they are getting clipped away, if the unrotated panel would be out of frame

Re: center_x and position [Re: Scorpion] #299708
11/26/09 09:09
11/26/09 09:09
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
We can add new functions, but can't change the behavior of existing functions. Aside from that I don't think that it's a good idea to have different panel offsets when using rotation.


Moderated by  aztec, Spirit 

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