Alright, since no one in the 2D forum seems able to answer I'll re-post my question here....
I might be missing something here, but am having a problem using get image and sprites for dynamically created images. Here is my code;
(All values listed are constant variables, including RGB colors. ie; assume w=33, h=25, etc.)
create bitmap 1, w, h
set current bitmap 1
ink purple, black
box 0, 0, w, h
get image 1, 0, 0, w, h
create bitmap 2, w, h
set current bitmap 2
ink orange, black
box 0, 0, w, h
get image 2, 0, 0, w, h, 1
set current bitmap 0
sprite 1, 150, 150, 2
...
sprite 1, 150, 150, 1
In every case that I can determine, the image seized is pure black, as though the box or get commands have not been directed to the specified bitmap, or not using the bitmap selected as the source. When I remove the bitmap commands and draw the image directly on the screen, the sprite is built successfully.
What am I doing something wrong? Did I miss-read the manual? I was under the impression that the current bitmap was where functions were directed.
I am using DBC 1.12 un-enhanced by the upgrade.
Thanks.
Any truly great code should be indisguishable from magic.