StiviK Posted November 9, 2014 Share Posted November 9, 2014 Hello, I create a class which can create moveable dxElements. It is very easy to use. If you don't know what i mean, just watch one of the Videos -- create dxMoveableElement dxMoveable:createMoveable(int w, int h, bool withAlpha) --destroy dxMoveableElement:destroyElement() -- how to draw the moveable myMoveable = dxMoveable:createMoveable(259, 254, true) dxSetRenderTarget(myMoveable.renderTarget, true) dxDrawRectangle(0, 0, 259, 254) dxSetRenderTarget() myMoveable.posX, myMoveable.posY = 100, 500 -- default (0, 0) addEventHandler("onClientRender", root, function () dxDrawImage(myMoveable.posX, myMoveable.posY, myMoveable.w, myMoveable.h, myMoveable.renderTarget) end) To move the Elements just press F2. Old Video: New Video: Download: https://community.multitheftauto.com/index.php?p= ... s&id=10330 - StiviK Link to comment
Et-win Posted November 9, 2014 Share Posted November 9, 2014 Nice one I didn't know NVidia GeForce GT 630M also had 4 GB, I have 1 GB D: Link to comment
StiviK Posted November 9, 2014 Author Share Posted November 9, 2014 "I didn't know NVidia GeForce GT 630M also had 4 GB, I have 1 GB D:" I also didn't know it ^^ I have 2GB but MTA shows 4GB - StiviK Link to comment
Woovie Posted November 9, 2014 Share Posted November 9, 2014 If you'd like to contribute, I started on a full dxGUI library although I don't have time to do much with it. https://github.com/Woovie/dxGUI If you're interested, give me your github name and I'll gladly add you as a contributor. Link to comment
EH10 Posted November 10, 2014 Share Posted November 10, 2014 Nice , # Continue , You are Wonderful Link to comment
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