Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by EvanTJ. 11/28/26 18:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (EvanTJ, Quad), 4,663 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
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,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
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,035
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,035
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