Slow images

BlitzMax Forums/BlitzMax Programming/Slow images

If you switch off filtering you should get a framerate improvement. That does consume quite a bit extra effort usually.

I think also you would be better off having a tilemap made of 64x64 tiles rather than 16x16, as that's a whole lot more overhead to process the individual tiles, switching textures, etc.

Also you can use some OpenGL buffer tricks, maybe use the stencil or alpha buffer, so that you don't have to draw the texels that have already been drawn, ie don't waste time drawing on pixels that are already done.

I think BlitzMax is plenty fast enough with OpenGL. Maybe on the PC OpenGL is slower sometimes. If you look at the Platypus demo that was released in the showcase forum recently, it has LOTS of parallax scrolling and screen action with no slowdown. It's entirely possible. Maybe you are not thinking in a way that is cooperative for the way a graphics card works. There are different rules.