Flip hortizonial sprite

Blitz3D Forums/Blitz3D Programming/Flip hortizonial sprite

Nack(Posted 2008) [#1]
Is there anyway to flip a sprite hortizonal. So let say a texture of left arrow "<-" then flip will equal to right arrow "->". Cant seem to find it.

Nack


Stevie G(Posted 2008) [#2]
Rotatesprite MySprite, 180

Stevie


andy_mc(Posted 2008) [#3]
or if it's a 3D sprite, then scaletexture sprite,-1,1 at least I think that's it.


Stevie G(Posted 2008) [#4]
Scalesprite maybe? Scale texture will flip the texture on everything which uses that texture.


Nack(Posted 2008) [#5]
scaletexture wouldnt be wise cus everything that use that texture will be flipped. I tried scalesprite -1,1.....but it just disspeared for some odd reason


Warner(Posted 2008) [#6]
Maybe it got culled ? Try EntityFx sprite, 16 ?


Ross C(Posted 2008) [#7]
yeah you will have flipped the normals by scaling it negatively


Nack(Posted 2008) [#8]
ohh its the culled thing. I forgot sprite is missing a back LOL. thx all.