Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/19/24 18:45
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
5 registered members (AndrewAMD, 7th_zorro, TedMar, Ayumi, kzhao), 756 guests, and 5 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
Panel improvements #340877
09/08/10 08:49
09/08/10 08:49
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline OP
Serious User
FlorianP  Offline OP
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
It would be very nice to have an additional panelelement that just show a BMAP but can be stretched or tiled to a specific size - just like the background(.bmap) of a panel itself.
This would be very convienient for many situations - f.i. one could create resizable windows that consist of separate BMAPs for the edges and the ground and are only scaled in one directions. (at the moment one has to use 5 separate panels for that)

Also very handy would be two flags for Texts and Panels that automaticly add the current screen_size(or half of it) to the position.
This way it would be much easier to place objects on the bottom or the right side of the screen


I <3 LINQ
Re: Panel improvements [Re: FlorianP] #340884
09/08/10 10:58
09/08/10 10:58
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Dunno what you mean with the first question.. but..
placing a Panel to a position, includign screen_size.. is possible..

panel.pos_x = something + screen_size.x
panel.pos_y = something + screen_size.y

Does the Job very well...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Panel improvements [Re: Espér] #340910
09/08/10 15:30
09/08/10 15:30
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline OP
Serious User
FlorianP  Offline OP
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
Sorry, that was probably my fault.
I forget about the standard answer on this section: 'This feature is already available - you just need to write your own engine'

With mentioned flags you could set a panelposition directly in its constructor without having to get much less maintainable code that resets the position after every change of the window size. And yet these flags should be very easy to implement.

Last edited by FlorianP; 09/08/10 15:31.

I <3 LINQ

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