marchingcubes Posted January 2, 2015 Share Posted January 2, 2015 Hi, I want to use sprites, parented to the camera in billboard mode to display messages to the player. However I notice that textures applied to sprites are 'flipped' horizontally - e.g. an image with text on it has 'backwards' text when this texture is applied to the sprite. Its easy enough to flip my images horizontally, but it seems like this is a bug - Is there a reason for the sprite texcoords being set up like this? I am on the Steam Indie Beta version for Linux. Link to comment Share on other sites More sharing options...
macklebee Posted January 2, 2015 Share Posted January 2, 2015 havent looked at sprites yet so i don't know if Sprite:SetAngle() will work for you, but if you are just parenting it to the camera why wouldn't you just use the normal 2D commands like DrawText() or DrawImage()? Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
marchingcubes Posted January 2, 2015 Author Share Posted January 2, 2015 Hi, I tried SetAngle(), but that just rotates the sprite around the axis perpendicular to the camera - it can't correct the 'horizontal flip' I guess I could use DrawText/DrawImage but i want to animate these 'messages' - they will be more like comic-style 'BIFF', 'POW!' type things so its easier to place and animate them with sprites. Link to comment Share on other sites More sharing options...
Josh Posted January 2, 2015 Share Posted January 2, 2015 That would not surprise me, it's an easy mistake to make (but easy to fix). Thanks! My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted January 2, 2015 Share Posted January 2, 2015 The fix for this (Windows only, ATM) is available on the beta branch now. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts