-
Posts
535 -
Joined
-
Last visited
-
Days Won
9
Everything posted by thisdp
-
cant, use a dx lib instead
-
but have you compared with rendering 1 rectangle and render text with rendertarget? If dgs takes more cpu resource, I will take measurea to reduce it.
-
possible for server,but impossible for client
-
Thanks for your supports. DGS edit doesn't supports arabic read style, but it will be added soon. Except for this, all things function. Text selection, other language and color and so on
-
Now your problem is solved by DGS. If you have DGS, then loadstring(exports.dgs:dgsImportFunction())() edit = dgsCreateEdit(0.3,0.4,0.2,0.05,"test",true) dgsSetProperty(edit,"bgcolor",tocolor(255,255,255,0))
-
Hello Everyone. DGS Discord Server is created:https://discord.gg/QEs8q6W You can put forward your suggestions in the server. Any news of dgs will be available in the server. I am glad that you can join it. Thanks for your support !
-
https://wiki.multitheftauto.com/wiki/Modules Learn from here. If you think it too difficult or too complicated, just ignore me.
-
You can reenable the "require" by loading module in serverside.
-
why not use oop? https://wiki.multitheftauto.com/wiki/Matrix
-
Not because of this xd. If you have learned ellipse, it will be easy for you to use it. ellipse equation: x^2/a^2 + y^2/b^2 = 1 (a≠b) circle equation: x^2+y^2 = r^2 This is useful if you want to use an oval button and you don't want a square detecting area of the button.
-
But why not use my dx lib?
-
WOW! Based on cegui? I was doing the same thing 4 years ago, but failed. So I start dx gui project. Yours are great and have good looking. Keep working! Best custom gui.
-
These three months I am preparing my college entrance exam, update will be slow. DGS still has a long way to go. Thanks for your supporting.
-
This event will be triggered when you click the X button.
-
The window closes does't mean it will have some effects on the cursor. use showCursor(false) in the event onDgsWindowClose. https://wiki.multitheftauto.com/wiki/OnDgsWindowClose
-
destroyElement the object that the camera attached to.
-
scW,scH = guiGetScreenSize() ratio = scW/scH width,height = 200,200*ratio
-
Don't forget Render Target takes more resources and video memory. And I am actually seeking for the solution of optimization, while I found dxDrawText, dxDrawImage, dxDraw... these function are very very very slow. Object-oriented code is good for experienced scripters, but it is horrible for new scripters. Thanks for your suggestions and supports.
-
fixed ! Thanks for report. This issue caused by some unknown characters in scheme loader, when i rewrite the code in that line, I found the size of file 1 byte smaller than before.
-
bitExtract