Ulysses

General => Developers Corner => Topic started by: ErraticFox on January 25, 2014, 09:07:03 AM

Title: Easiest way to position Derma panels?
Post by: ErraticFox on January 25, 2014, 09:07:03 AM
What would the best way to position buttons and such with Derma panels? Instead of just using a random position, loading in and checking it and then working off of that.
Title: Re: Easiest way to position Derma panels?
Post by: Megiddo on January 25, 2014, 01:30:25 PM
Make the variable for the panel global and update it using lua_run_cl.
Title: Re: Easiest way to position Derma panels?
Post by: LuaTenshi on January 25, 2014, 01:32:23 PM
Make the variable for the panel global and update it using lua_run_cl.

It would be nice if some one made a fancy in game menu creator/editor.
Title: Re: Easiest way to position Derma panels?
Post by: Megiddo on January 26, 2014, 02:31:35 PM
It would be nice if some one made a fancy in game menu creator/editor.

It has been done a few times before, they don't last very long. It's hard to make something truly generic enough.
Title: Re: Easiest way to position Derma panels?
Post by: ErraticFox on January 28, 2014, 12:11:36 AM
It has been done a few times before, they don't last very long. It's hard to make something truly generic enough.

Why don't they last long?
Title: Re: Easiest way to position Derma panels?
Post by: Megiddo on January 28, 2014, 05:13:11 AM
Due to the Law of Leaky Abstractions (http://www.joelonsoftware.com/articles/LeakyAbstractions.html) as well as the fact that a lot of the Gmod community is younger and inherently distrustful of anything they didn't code themselves.