QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: PMACKAY on September 19, 2018, 09:39:55 am
-
Probably a silly question.. If i wanted to print normal text, including cls in the forground withouth effecting a image in the background what would be the best method
load image and set in back ground
print "all ASCII chars in foreground
do i paste background image
print on top (using a pset (which is slow) or can i print on top using print
_display to update
or
load hardware image/software. the do normal print on top, so the background image is a sprite
-
http://qb64.org/wiki/PRINTMODE
_PRINTMODE _KEEPBACKGROUND
*****************
And to clear up a misunderstanding: PRINT is slow. You can manually PSET the points FASTER than you can PRINT them, in most cases.
See my print routines for comparison: http://qb64.freeforums.net/thread/37/custom-routines-supports-textures-shading
-
thank you, great stuff :)