Gamestudio Links
Zorro Links
Newest Posts
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 1,919 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: bmap_load problem [Re: Rei_Ayanami] #314841
03/11/10 14:31
03/11/10 14:31
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Originally Posted By: Rei_Ayanami
the work is the ???-folder
Good, that was the important question.
Its easy to get confused there, when you have projects hanging off the GStudio7\work folder.

??? is a secret, odd but understandable. I think it containing a space may be causing the
E2000 problem, it may even be an engine bug then.

I dont think the bmap is changing scale when you use ,0
but the panel may be re-scaling it if it is a different size to the panel.
Thats the best I can guess without a working example or at least screen-shots.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: bmap_load problem [Re: EvilSOB] #314847
03/11/10 15:04
03/11/10 15:04
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Sorry, i meant mode 1 .

so the problem is:

In the manual is written that mode 1 changes the bmap to it's new size.


But my problem is, that the scale of the image is still 1:1(x to y)

But i need it streched over the square...

and sometimes is isn't working at all, and the image is really odd...


maybe i will just let the skin editor be the skin editor...

Re: bmap_load problem [Re: Rei_Ayanami] #314864
03/11/10 17:39
03/11/10 17:39
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
try this then...
Code:
color_pan.bmap  = bmap_createblack(175,175,24);
BMAP* temp_bmap = bmap_createblack(32,32,24);
bmap_load(temp_bmap, open_bmap_str, 1);
bmap_blit(color_pan.bmap, temp_bmap, nullvector, vector(175,175,0));
bmap_remove(temp_bmap);




"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: bmap_load problem [Re: EvilSOB] #314866
03/11/10 17:46
03/11/10 17:46
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
GREAT! laugh

Sorry that i am an idiot ...



one last question: CopyFile(dir_1,dir_2,TRUE);

Should override if the file already exists? But it doesn't overide the old file...

Re: bmap_load problem [Re: Rei_Ayanami] #314869
03/11/10 18:01
03/11/10 18:01
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
If its the API function CopyFile then NO.
True means DONT overwrite.
Set it to FALSE to save the file "always".
In the CopyFile API, that is a "Fail if already exists" flag.

If its a new function in the latest A7,
Im not up-to-date here yet.
Im still at 7.80


Last edited by EvilSOB; 03/11/10 18:02.

"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: bmap_load problem [Re: EvilSOB] #314871
03/11/10 18:07
03/11/10 18:07
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
No, i mean the WinAPI function laugh

Thanks again laugh

Page 3 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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