LabiVila Posted July 30, 2015 Posted July 30, 2015 I'm not sure if that is even possible, but a way I did it once was I just painted a white thing like that, and made it without background, so you can use dxDrawImage and set tocolor ()
FuriouZ Posted July 30, 2015 Posted July 30, 2015 You need to use images for that. DxDrawImage Homepage @ http://rageresources.blogspot.com/ Offical Facebook @ https://www.facebook.com/pages/Rage-Scr ... fref=photo
franku Posted July 30, 2015 Author Posted July 30, 2015 (edited) Solved Edited August 10, 2016 by Guest
FuriouZ Posted July 30, 2015 Posted July 30, 2015 it possible labiVila.any know how guys? It is not possible with rectangle, you need to use DxDrawImage for that. Homepage @ http://rageresources.blogspot.com/ Offical Facebook @ https://www.facebook.com/pages/Rage-Scr ... fref=photo
Moderators IIYAMA Posted July 30, 2015 Moderators Posted July 30, 2015 I ones wrote messy and unoptimised code for it. To try it out. You can use/edit it if you want, I don't really care what you do with it. If I need it, I will probably rewrite it from scratch. The problem with the code is that it is really slow ones starting creating it(texture) and it renders slow because it is an image according to the absolute resolution. https://dl.dropboxusercontent.com/u/631 ... reator.zip Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
John Smith Posted July 30, 2015 Posted July 30, 2015 by creating multiple dx rectangles, you can achieve rounded rectangle effect (see chatbubbles resource on community for example) If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now