LoginLogin

GCLIP weird stuff

Root / Programming Questions / [.]

randoCreated:
I want to GCLIP multiple parts of the screen with a hole in the middle where you can't see the graphic screen. I tried to do multiple GCLIPs, but it only did the last one. I can see why. But is there a different way I can do this?

Can you put something (sprites, bg layer, etc.) in front of the graphics layer to block those areas?

Can you put something (sprites, bg layer, etc.) in front of the graphics layer to block those areas?
That could work, but what if the graphic screen is at the front of the screen? (Also, you could do some GBOX magic but there is no recovering the stuff behind it without redoing the stuff there.)

Can you put something (sprites, bg layer, etc.) in front of the graphics layer to block those areas?
That could work, but what if the graphic screen is at the front of the screen? (Also, you could do some GBOX magic but there is no recovering the stuff behind it without redoing the stuff there.)
You could draw your graphics on the sprite page, and create sprites that only use the areas of graphics that you want to display.

This makes me wonder if there is any latency with continually redrawing sprites versus, like, drawing on the regular graphics page. There's gotta be some extra overhead involved, right?

Sprites are drawn as 3D polygons and it's all handled by the GPU, I think. There doesn't seem to be any affect on speed until you have lots of very large scaled/rotated/transparent sprites

Can you put something (sprites, bg layer, etc.) in front of the graphics layer to block those areas?
That could work, but what if the graphic screen is at the front of the screen? (Also, you could do some GBOX magic but there is no recovering the stuff behind it without redoing the stuff there.)
You could draw your graphics on the sprite page, and create sprites that only use the areas of graphics that you want to display.
sprite limits lol

sprite limits lol
You can't spare like 10 sprites? do you really need all 512?

sprite limits lol
You can't spare like 10 sprites? do you really need all 512?
lol yes Do you not see my 510 cannon/lassr sprites? Jkjk but it was a joke lol HUH what about bg tiles (wait they can't be offset by non-multiples of 8/16/32)

Maybe you could GCOPY the graphics, then GFILL the holes on the temporary copy (and display that)

Maybe you could GCOPY the graphics, then GFILL the holes on the temporary copy (and display that)
Oooh yes that could work