2 registered members (alibaba, 7th_zorro),
636
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Render TEXT* into bmap
#321015
04/26/10 17:02
04/26/10 17:02
|
Joined: Nov 2009
Posts: 89 Germany, NRW
TrackingKeks
OP
Junior Member
|
OP
Junior Member
Joined: Nov 2009
Posts: 89
Germany, NRW
|
Hi! Is it possible to render a TEXT* object into a bmap? I think it has something to do with target_map but I don't know how to use it ! Thanks for your help!
Gamestudio: A7.82 Commercial/A8 Commercial System specs (Laptop): Windows 7 64bit DirectX v10.1 Intel Core i7-720QM CPU @ 1,60 GHz 4GB DDR2 Ram NVIDIA GeForce GT 230M (1024MB)
|
|
|
Re: Render TEXT* into bmap
[Re: Razoron]
#321023
04/26/10 17:27
04/26/10 17:27
|
Joined: Nov 2009
Posts: 89 Germany, NRW
TrackingKeks
OP
Junior Member
|
OP
Junior Member
Joined: Nov 2009
Posts: 89
Germany, NRW
|
OK, thanks. But after trying to write the target_map in a file it contains the bmap of the panel. What is wrong with my code?
BMAP* rendermap = "#1024x768x32";
test_txt.target_map=effekt_pan.bmap;
wait(1);
bmap_blit (rendermap,test_txt.target_map, NULL, NULL);
bmap_save(rendermap,"result.bmp");
Gamestudio: A7.82 Commercial/A8 Commercial System specs (Laptop): Windows 7 64bit DirectX v10.1 Intel Core i7-720QM CPU @ 1,60 GHz 4GB DDR2 Ram NVIDIA GeForce GT 230M (1024MB)
|
|
|
Re: Render TEXT* into bmap
[Re: Razoron]
#321100
04/27/10 05:59
04/27/10 05:59
|
Joined: Nov 2009
Posts: 89 Germany, NRW
TrackingKeks
OP
Junior Member
|
OP
Junior Member
Joined: Nov 2009
Posts: 89
Germany, NRW
|
Thanks for your help! Yes, of course I have defined a panel but the TEXT* wasn't visible at this time. After setting the SHOW flag everything works fine.
Last edited by TrackingKeks; 04/27/10 06:00.
Gamestudio: A7.82 Commercial/A8 Commercial System specs (Laptop): Windows 7 64bit DirectX v10.1 Intel Core i7-720QM CPU @ 1,60 GHz 4GB DDR2 Ram NVIDIA GeForce GT 230M (1024MB)
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|