![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
I am using forelayer and drawer (imagelib.dll) to drawimage1. The transparent color on drawimage1 works fine and the background can be view through the transparent color.However, when I draw two images, the second image overlaps the first image, then I find the first image is covered by the second image and the transparent color. I thought it is due to I can use only onle forelayer. Any walkaround to solve that?
__________________
Yours, ![]() Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth |
|
|||
|
Thanks. Yes, that works for static objects.
For simulating moving objects, I was using drawer.fillrectangle with forelayer transparency to to erase the forelayer so the background can resume viewable. If I use background layer to draw the objects, I can not resume the background image easily. As shown in the attached screen cap. To recover the background image, Is this the only way?: - instead of erase old image, redraw the background image on background with only the portion that is covered but old image. ... it would be great if the transparency setting on background layer can apply to forelayer.
__________________
Yours, ![]() Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth |
|
|||
|
Quote:
When I use background layer to draw overlap image, in the Repaint loop, I need to draw the background image portion, then first image, at last the second image, so I can see the second image is on top of first image (as attached). So what I see is the transparency of forelayer will redraw background image, but instead if it would be good if the transparency is on forelayer then on backgound layer, so when I use fore layer, I don't need to redraw backgound image in the Repaint loop but got the result as in the attached image.
__________________
Yours, ![]() Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| transparent and toolbarbutton | Byak@ | Questions & Help Needed | 6 | 07-22-2008 03:45 PM |
| Transparent .gif? | Zenerdiode | Questions & Help Needed | 2 | 06-29-2008 03:58 PM |
| No 8-bit alpha for transparent pngs? | Mistrel | Questions & Help Needed | 2 | 10-13-2007 07:39 AM |
| transparent background,label | cdeane | Questions & Help Needed | 4 | 09-20-2007 06:45 AM |
| Something transparent (invisible) | sloopa | Questions & Help Needed | 1 | 05-20-2007 10:27 AM |