• DermaDesigner
    549 replies, posted
[QUOTE=Jamie932;22043809]I updated it just for this.[/QUOTE] Sorry you had to do that Jamie... I guess everyone will have to sooner or later though. 3.5 it is then. I am also very close to getting drag and drop parenting working properly, but there is one unexpected behaviour in C# that I will have to reconcile with before I can commit the change.
Looks interesting, you've got to make it better (faster, more efficient, easier) than coding the interfaces though or people won't change to using this.
[QUOTE=c-unit;22032348]Now I feel bad for NonExistent :P This makes his look like shit (although his is still very good) [editline]06:04PM[/editline] Also why not add DPropertySheet?[/QUOTE] Yes exactly, why not? Make it, it's not very hard. I'll post a tutorial on how to make plugins some time. In other news:[list] [*]Added drag-drop parenting capability [*]Optimized it a little [*]Improved the properties you can view [/list] Changes have been committed and the "Latest build" link updated. If you guys find any crashes or anything please post. Anybody wanting to help make the controls is also welcome :D
[QUOTE=c-unit;22032348]Now I feel bad for NonExistent :P This makes his look like shit (although his is still very good) [editline]06:04PM[/editline] Also why not add DPropertySheet?[/QUOTE] [QUOTE=NonExistent;21484725]Here's an update: I've completely redesigned the way it looks, it looks a lot better now, but I wont go into detail regarding the new features, yet.[/QUOTE] [QUOTE=NonExistent;21522471]Be a tad prepared, you might be a little surprised when you next see it, but let's just keep it as a surprise ;D It has completely changed, it might actually be a half-shock.[/QUOTE] [editline]rawr[/editline] Anyways, enough about NonExistent's IDE.
Please make the widescreen size 16:9 rather than 16:10 (or both...) 1280x720 & 1920x1080
[QUOTE=Busymonkey;22047413][editline]rawr[/editline] Anyways, enough about NonExistent's IDE.[/QUOTE] You seem to be in the wrong thread. [editline]07:59PM[/editline] Ok stoned, 1280x720 and 1920x1080 will be added if they aren't already.
1366x768 [editline]09:04PM[/editline] That is the resolution of my laptop screen.
Good job on this, gonna use it for whenever I'm gonna make menu's from now on. Atleast the base of them! Thanks, yaka. Not sure if it's me only - but the buttons position themselves relative to the window instead of the DFrame. I tried changing x to 10 in the properties menu, and it went outside the DFrame... Is that me only?
Am I the only one having issues with the svn lol?
Looks like it. What's it doing where you can't download it? Updated again:[list] [*]Fixed a bug in drag and drop parenting where you couldn't parent something that was below what you were trying to parent it to [*]Fixed a bug in dragdrop parenting where if you parented a panel with a lower Z position then it's parent, it wouldn't draw [*]Added DTextEntry [*]Added a "Find Panel by Variable Name" tool - it's in the Tools dropdown menu[/list] [editline]10:17PM[/editline] [QUOTE=Knallex;22047888]Good job on this, gonna use it for whenever I'm gonna make menu's from now on. Atleast the base of them! Thanks, yaka. Not sure if it's me only - but the buttons position themselves relative to the window instead of the DFrame. I tried changing x to 10 in the properties menu, and it went outside the DFrame... Is that me only?[/QUOTE] Ah, thank you for noticing that. I'll fix it to where the X and Y values in the properties list are relative to the parent, not the top corner of the designer window. [editline]10:28PM[/editline] The bug has been fixed, position now appears relative to the parent in the properties list. Thanks knallex.
[QUOTE=yakahughes;22050838]Looks like it. What's it doing where you can't download it? Updated again:[list] [*]Fixed a bug in drag and drop parenting where you couldn't parent something that was below what you were trying to parent it to [*]Fixed a bug in dragdrop parenting where if you parented a panel with a lower Z position then it's parent, it wouldn't draw [*]Added DTextEntry [*]Added a "Find Panel by Variable Name" tool - it's in the Tools dropdown menu[/list] [editline]10:17PM[/editline][/QUOTE] That's wierd as soon as you posted that I tried using SVN on both those links, neither worked, then I clicked on latest build with no SVN and it worked, that didn't happen before :P strange. [editline]04:40PM[/editline] And are the sizes you see in the dermadesigner window exactly the same same size as you will see them in game?
I would like this to be scaled to the screen. You could use something like this, [LUA] local function Scale( x, y ) -- Use 1000x1000 Grid local h,k = ScrW()/1000, ScrH()/1000 return h*x, k*y end [/LUA] You could also use it for the size, You may want to tweak it to work right because I just made this in 2 seconds
[QUOTE=Scooby;22051332]I would like this to be scaled to the screen. You could use something like this, [LUA] local function Scale( x, y ) -- Use 1000x1000 Grid local h,k = ScrW()/1000, ScrH()/1000 return h*x, k*y end [/LUA] You could also use it for the size, You may want to tweak it to work right because I just made this in 2 seconds[/QUOTE] Coding it in C# is a bit harder than in lua, so I can't just take that and make it work, but yes, one of the things in the Todo list is to have an option to base a control's size off of the screen size. It would just be a toggleable feature, then when you enter the size, you'd do it in percent. Anyways, updates:[list] [*]Made the DTextEntry actually display the text you set it to display, derp [*]Something I can't remember but it was good that it got fixed [/list]
Cool, cant wait for the next update ( probably soon ) :P Also when you output the lua code, couldnt you make something that is default in the code. For exapmle it could output this: [LUA] local function Scale( x, y ) --Stuff Here end local DFrame1 = vgui.Create( "DFrame" ) DFrame1:SetPos( Scale( 10, 10 ) ) DFrame1:SetSize( Scale( 50, 50 ) ) [/LUA] Just to make it look good on all resolutions?
Alil off topic, but C# is just C++ on steroids right?
No, C++ is actually 'more powerful' because you have more direct access to system resources like memory and stuff, and you can code assembly (at least in visual C++) directly in the code. With C#, it is [b]way[/b] easier to do high level stuff with though. This is going to start a massive flame war if we let it go too far, you should just look up the differences and pros and cons on the net if you really want to know.
Gotcha
[QUOTE=yakahughes;22052828]No, C++ is actually 'more powerful' because you have more direct access to system resources like memory and stuff, and you can code assembly (at least in visual C++) directly in the code. With C#, it is [B]way[/B] easier to do high level stuff with though. This is going to start a massive flame war if we let it go too far, you should just look up the differences and pros and cons on the net if you really want to know.[/QUOTE] If I flame war gets started, the people starting it are completely stupid. Everyone should understand that C# is the greatest high level programming language to reach all Windows users while letting the coder have a huge break on some common use things, mostly gui. [editline]07:18PM[/editline] Also, would you kindly document the plugin dll interface. I would like to get started on some of the other vgui elements.
[QUOTE=Gbps;22053031]If I flame war gets started, the people starting it are completely stupid. Everyone should understand that C# is the greatest high level programming language to reach all Windows users while letting the coder have a huge break on some common use things, mostly gui. [editline]07:18PM[/editline] Also, would you kindly document the plugin dll interface. I would like to get started on some of the other vgui elements.[/QUOTE] Here's a quick guide: 1. Make a new VC# project and set it to make a DLL in the options 2. Add a reference to DermaDesigner.exe 3. You now have access to all the classes and stuff that a native class would 4. Look at the other classes to see what you need to do code-wise 5. Stick the plugin in the plugins folder 6. Start DD 7. ??? 8. Stand in awe of the fact that it's working. [editline]12:55AM[/editline] Updates:[list] [*]Added DLabel [*]Changed some minor UI stuff [/list]
Starting on DPanel [editline]09:17PM[/editline] Finished DPanel
Updated:[list] [*]Fixed an infinite recursion bug where you could parent a panel to it's child [*]Fixed a drawing bug [*]Fixed another parenting bug [*]Made DLabel multiline capable[/list]Whenever Gbps gives me his code for the DPanel I'll add it too.
Just a suggestion - for the properties of DFrame, add the SetBackgroundBlur? It's a very minor addition I guess - but I keep forgetting shit like that, so for me it'd be useful atleast.
It seems when DermaDesigner sets a color of something, it doesn't finish the brackets. [lua] DLabel1:SetTextColor(Color(175, 238, 238, 255) [/lua] It doesn't put the last bracket.
I'm doing DCheckBox.
Also, another bug, when a panel creates it's lua, it doesn't generate it in order of parent above child, therefore it generates code that tries to use a parent that is declared below it.
[code]Checkout from http://code.google.com/p/dermadesignerb, revision HEAD, Fully recursive, Externals included Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request for 'http://code.google.com/p/dermadesignerb'[/code] I cant use the SVN.
Use this instead(Worked for me) [url]http://dermadesignerb.googlecode.com/svn/trunk/DermaDesigner/DermaDesigner/bin/Release/[/url] [editline]03:58PM[/editline] or download this [url]http://dermadesignerb.googlecode.com/svn/trunk/DermaDesigner/DermaDesigner/bin/Release/Build007.zip[/url]
^Worked for me too, thanks man :3
No problem.
You can't checkout anything but the trunk
Sorry, you need to Log In to post a reply to this thread.