|
3 registered members (AndrewAMD, Grant, Neb),
908
guests, and 6
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Pixel_to_bmap
[Re: TheThinker]
#76973
06/07/06 18:05
06/07/06 18:05
|
Joined: Nov 2004
Posts: 888
beegee
User
|
User
Joined: Nov 2004
Posts: 888
|
Yes it's possible, here's the code snippet: Code:
var format; var pixel; // create the nec. variables bmap PaintPic = <WhiteBitmap.tga>; // and the picture
format = bmap_lock(PaintPic,0); // first you have to unlock the bitmap, so you have the possibility to modify it temp.red = 255; temp.green = 0; temp.blue = 0; // the color " red " pixel = pixel_for_vec(temp,100,format); // create the pixel, with you want to draw pixel_to_bmap(PaintPic,10,10,pixel); // draw the pixel onto the Position 10,10 at the bitmap bmap_unlock(PaintPic); // unlock the Bitmap, so the modification will be showed mfg beegee ----------- GenuineMotors.de
Fratch - Newer statistics panel for GameStudio
|
|
|
Re: Pixel_to_bmap
[Re: vlau]
#76977
06/08/06 15:22
06/08/06 15:22
|
Joined: Jun 2006
Posts: 214 Germany, NRW
TheThinker
OP
Member
|
OP
Member
Joined: Jun 2006
Posts: 214
Germany, NRW
|
Hi, The problem is, that bmap_for_screen doesn't save a file. Another problem is, that file_for_screen is not supported by Sybex Extra 6.1 I don't see any possibility to solve this problem. But, if anybody have a sollution, please help me  MfG, TheThinker
Last edited by TheThinker; 06/08/06 15:22.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|