2d opengl?

BlitzMax Forums/BlitzMax Beginners Area/2d opengl?

Eric,

I think the main point you should understand is this. Max2D uses the onboard graphics card to create 2D images using 3D hardware and features. the following commands make it easy:

SetColor
SetHandle
SetScale
SetRotation
SetOrigin
SetViewPort
SetBlend
SetAlpha


when you create a graphics mode (whether it is Direct3D or OpenGL) you are using the PC's hardware accelerator to do the drawing.

right now, Mac and linux default to OpenGL and windows defaults to D3D so if you leave that part alone, you'll be fine.

graphics 800,600


is all you need.