Is there any list of what commands should go inside of tBlitz2D.BeginMax2D and tBlitz2D.EndMax3D and what are OK outside?
What should go inside tBlitz2D.BeginMax2D?
BlitzMax Modules Forums/MiniB3D/What should go inside tBlitz2D.BeginMax2D? Max2D commands? :-)
DrawRect
DrawLine
DrawText
etc...
I presume that BeginMax2D must setup the context for drawing in 2D, placing 0,0 in the top-left of the viewable area.
DrawRect
DrawLine
DrawText
etc...
I presume that BeginMax2D must setup the context for drawing in 2D, placing 0,0 in the top-left of the viewable area.
I haven't seen the latest version of miniB3D, but assuming nothings changed then Brucey is right. Any command from the Max2D module needs to be used between these two commands, even the transform commands.