FlyingSpoon Posted December 14, 2014 Share Posted December 14, 2014 Hi, I would like to create a few scripts, possibly a job script or a panel. Well I asked a few friends, and half suggested Dx and the other half suggested GUI. Which is better to work with? Link to comment
DzMGZXL Posted December 14, 2014 Share Posted December 14, 2014 Better look is Dx but easy is GUI. Link to comment
johny46 Posted December 14, 2014 Share Posted December 14, 2014 CEGUI is much easier to use, and the resulting code is probably going to be cleaner, but keep in mind it could look differently on each player's screen due to theming. Dx gui can be annoying and hard to write, but then you can be sure it will look exactly the same on all clients and it also means you have the full control over how windows look and behave, which isn't very true for CEGUI. Link to comment
AJXB Posted December 14, 2014 Share Posted December 14, 2014 Or.. you can use custom CEGUI, though I heard it's heavy, I recommend it, how? using some png images to form a GUI window. However, it's not sufficient, you can use DX and it's more advance and lighter. It's your choice, I recommend the custom CEGUI, though it'll need work, DX is easier. Link to comment
johny46 Posted December 14, 2014 Share Posted December 14, 2014 using some png images to form a GUI window. Could you elaborate on that? Link to comment
AJXB Posted December 14, 2014 Share Posted December 14, 2014 guiCreateStaticImage -- one for the title, one for the body, and one for the buttons, the image will be a 1x1 png file, not much to download guiCreateLabel -- for the Window title, and for the button title onClientGUIClick onClientClick Link to comment
Mr_Moose Posted December 14, 2014 Share Posted December 14, 2014 using some png images to form a GUI window. Could you elaborate on that? I was actually thinking of that as well, but then I found out that I had lot's of GUI's, if each resource would contain a png image the download size would increase a lot. Now that's not the end of the story, a global resource which applies png images to improve the look of standard CE GUI's might be the solution, the download size remains low and everything would be built using standard CE GUI functions, Here's an example of that: https://github.com/GTWCode/GTW-RPG/tree/master/resources/GTWgui Link to comment
.:HyPeX:. Posted December 15, 2014 Share Posted December 15, 2014 i did a full Dx work lastly, including custom dx input methods instead of guiEdits. All i can say dx was way abdove anything i could've done with CEGUI. Only bad part is the time i took doing it, took a whole 2 days of work. CEGUI would've been half day at max. 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