Help with viewports

BlitzMax Forums/BlitzMax Beginners Area/Help with viewports

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Use a projection matrix and simply offset the origins thus preventing the need to recalculate the position of every object every frame. In fact you could use the same method in most tile based games where you'd chuck all the tiles into a static vertex array (static since the tiles don't need to move) and move the view (camera) around.