HEL_040 + GFX_engine_010?
RinksCustoms
Posts: 531
I noticed that the HEL 040 is a nice tile based graphics engine, however looking to overlay the ROM font over the tiles hasprooven to be a bit frustrating. I can't locate a "offscreen_buffer". I'm guessing that the HEL doesn't use one and just reads the memory "raw"...· I have no exp in ASM unfortunately, so reading even well commented files is still a bit cryptic to me. So anyone willing to at least point me into the right direction on how to achieve this idea (or even if it's feasable with memory), i'd appreciate it lots.
To be more specific, I'd like the ability to use the ease & relative compactness of the tile engine but with added GFX_ENGINE abilities like drawing a gauge needle, ROM font at different textmodes, as well as being able to animate the colors not always on the tiles.
1. Is it possible to use the HEL engine to generate a background image, ie- a virtual dashboard, and then copy that screen image to an "offscreen__background_buffer" where the main·program uses that buffer as the background, gets coppied to an "offscreen_draw_on_buffer" where the graphics engine draws on top of the background and then copies that "draw on" buffer to an onscreen buffer? I like the idea of the tile engine being able to switch between tilemaps within one frame.
The theory - save memory with a tile engine giving the ability to switch between ALOT of screens/colors/layouts, add the abilities of the GFX engine to draw vector graphics,· use the ROM font with different textmodes. Is this possible?
2. Or just use GFX+TV / HEL_ENGINE separately - not desirable as i'd like a way to be able to "draw" on the background.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
To be more specific, I'd like the ability to use the ease & relative compactness of the tile engine but with added GFX_ENGINE abilities like drawing a gauge needle, ROM font at different textmodes, as well as being able to animate the colors not always on the tiles.
1. Is it possible to use the HEL engine to generate a background image, ie- a virtual dashboard, and then copy that screen image to an "offscreen__background_buffer" where the main·program uses that buffer as the background, gets coppied to an "offscreen_draw_on_buffer" where the graphics engine draws on top of the background and then copies that "draw on" buffer to an onscreen buffer? I like the idea of the tile engine being able to switch between tilemaps within one frame.
The theory - save memory with a tile engine giving the ability to switch between ALOT of screens/colors/layouts, add the abilities of the GFX engine to draw vector graphics,· use the ROM font with different textmodes. Is this possible?
2. Or just use GFX+TV / HEL_ENGINE separately - not desirable as i'd like a way to be able to "draw" on the background.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Comments
I just didn't think drawing graphics/text on a background could be so complex is all.... Andre was right, the demo coders ARE Jedi knights of programmers.
Thanks any way for the help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Andre'