Rick Posted March 5, 2013 Share Posted March 5, 2013 I guess this question is for both LE2 & Leadwerks 3. Does anyone know how to get more of a BitBlt drawing instead of the current drawing which scales? I do use the scaling, but for a couple instances I would prefer that only partial areas of the image be drawn to avoid funky scaling in one area of my game. Quote Link to comment Share on other sites More sharing options...
Rick Posted March 6, 2013 Author Share Posted March 6, 2013 Any chance on getting some love on this? I'm probably a week away from porting my LE2 game (http://www.leadwerks.com/werkspace/topic/5916-solo-warrior/) to LE3 and this is a requirement for a couple places in my UI code. Using the normal stretching works good for some UI elements, but when I get into health bars and xp bars, really low values for width end up screwing the visual up. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 6, 2013 Share Posted March 6, 2013 What object will you use to make the GUI ? i didn't fidn anything in Docs reference ? You could go for reactangular surface quads ? Easy to scale up and down, collisions should work doign some ray cast for buttons touch or click ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted March 6, 2013 Author Share Posted March 6, 2013 2D gradient images that represent health/mana/xp values. You don't find anything in docs because it doesn't exist. It's a pretty basic 2D drawing command that I feel should be included. I don't wish to scale things like these are they don't work well, and I wish to use 2D for my GUI. It's not an unreasonable request and a very common 2D command that opens the doors to some possibilities on the 2D side of things. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 6, 2013 Share Posted March 6, 2013 This is a really lame solution but you could somehow make a slew of 1-pixel-wide DDS files and display them as needed. Or maybe do it through OpenGL. Quote Link to comment Share on other sites More sharing options...
Rick Posted March 6, 2013 Author Share Posted March 6, 2013 I'm open to any solution that works cross-platform. Currently I just don't know how to do it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.