Realtime Flip X/Y

BlitzMax Forums/BlitzMax Beginners Area/Realtime Flip X/Y

(tu) ENAY(Posted 2005) [#1]
Just wondering if Blitzmax supports realtime flipping.

For example in OpenGL and C++ I'd load my textures once say like facing left and then when calling my UV coords, I'd just reverse the U or V coords so the image is drawn the other way round.
Like say how you'd do it if you were using quads in Blitz3D.

Is this possible? I'm guessing it should be since I've noticed realtime rotation is supported.

Also if I wanted to make a quad style tile engine in Blitzmax with multiple tiled tiles, would I suffer from that trilinear filtering problem that is still present in Blitz3D at the edge of each tile?

Thanks :)


EOF(Posted 2005) [#2]
Use negative values for SetScale.
See:
http://www.blitzbasic.com/Community/posts.php?topic=41837


(tu) ENAY(Posted 2005) [#3]
I'll take that as a yes then. ;) Thanks a lot! :)


FBEpyon(Posted 2005) [#4]
I my self have tried the setscale trick but it doesn't seem to work for me, I there isn't any fliping or anything :(

can it be something with the images being dynamic??