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 (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 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
is it possible to scale a BMAP? #377582
07/14/11 15:37
07/14/11 15:37
Joined: Dec 2010
Posts: 63
C
Ceryni Offline OP
Junior Member
Ceryni  Offline OP
Junior Member
C

Joined: Dec 2010
Posts: 63
hi,

i want to create a load screen. Therefore i wanted to scale the loading image to screensize but thats not possible i can just cut out one part. Is there a function to change the size of the bmap?

Re: is it possible to scale a BMAP? [Re: Ceryni] #377583
07/14/11 15:50
07/14/11 15:50
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
It's not the bmap, but PANEL. Yes you can scale it according to screen size.
Code:
panel.scale_x = screen_size.x*1./panel.size_x;
panel.scale_y = screen_size.y*1./panel.size_y;




Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: is it possible to scale a BMAP? [Re: Ceryni] #377584
07/14/11 15:54
07/14/11 15:54
Joined: Dec 2010
Posts: 63
C
Ceryni Offline OP
Junior Member
Ceryni  Offline OP
Junior Member
C

Joined: Dec 2010
Posts: 63
thx,

i thought that it would show only the bmap as much as it fits and teh rest is cut of so i tried to change bmap.height and bmap.width. (I think i am doing too much html)

Re: is it possible to scale a BMAP? [Re: Ceryni] #377585
07/14/11 16:03
07/14/11 16:03
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
You need to finish workshops, after them you'll realize that working with panels much easier than with bmaps in HTML.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: is it possible to scale a BMAP? [Re: Ceryni] #377851
07/17/11 10:09
07/17/11 10:09
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
You can scale a BMAP with the bmap_blit function.


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