BeginMax2D, EndMax2D in Multiple Places?

BlitzMax Forums/MiniB3D Module/BeginMax2D, EndMax2D in Multiple Places?

BLaBZ(Posted 2010) [#1]
Just wondering if it's possible to have BeginMax2D() and EndMax2D() in more than 1 place.

I attempted it and my original graphics render as square blocks

Thanks!


jkrankie(Posted 2010) [#2]
You can use loadtexture to load a texture in MiniB3d. Are the docs still not in the zip? I've got them somewhere if not, but the commands are the same as Blitz3d

Cheers
Charlie


ima747(Posted 2010) [#3]
Are you sure you're ending 2d before resuming 3d actions?

You have to call renderworld() then BeginMax2D(), then do your 2D drawing, then EndMax2D() then flip().


BLaBZ(Posted 2010) [#4]
Got it! Thanks m8's!