[QUOTE=jA_cOp;19466935]But then all his IRL friends would know how much of a geek he is :([/QUOTE]
This reminds me of that episode of [I]The IT Crowd[/I] where Moss and Roy pretend to like football and talk in cockney accents in order to achieve more male drinking buddies. [media]http://www.youtube.com/watch?v=711h25l8EjQ[/media][URL="http://youtube.com/watch?v=711h25l8EjQ"]
[/URL]
[QUOTE=garry;19485685]Different strokes for different folks. I'd rather have my shit in the engine than load and parse external files at runtime.[/QUOTE]
But what would a GUI artist using your engine think? Would they really be wanting to compile everything again when even a small GUI change is made?
GUI Artist? What?
[QUOTE=HTF;19488760]But what would a GUI artist using your engine think? Would they really be wanting to compile everything again when even a small GUI change is made?[/QUOTE]
Things like QT Designer support previewing designs without any compiling required.
[quote]GUI Artist? What?[/quote]
User interface designer?
I've never heard of a GUI Artist.... :/
[QUOTE=Anthoni_c;19491198]I've never heard of a GUI Artist.... :/[/QUOTE]
[url]http://en.wikipedia.org/wiki/User_interface_design[/url]
Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of. He's right about the code generation.
[QUOTE=nullsquared;19491323]Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of. He's right about the code generation.[/QUOTE]
Hey, you got a little brown on your nose.
[QUOTE=nullsquared;19491323]Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of. He's right about the code generation.[/QUOTE]
Oh so opinions and discussion are not allowed?
[QUOTE=nullsquared;19491323]Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of. He's right about the code generation.[/QUOTE]
[QUOTE=nullsquared;19470707]Garry, why not use an already made tool (like Qt Designer) which outputs to an intermediate format (like Qt Designer's .ui, which is XML) and then write a quick converter for that?[/QUOTE]
You were saying?
recompiling for small changes sounds like a great idea.
Yeah, and doing GUI's in .net is stupid because you have to recompile if you make a change.
[QUOTE=garry;19492474]Yeah, and doing GUI's in .net is stupid because you have to recompile if you make a change.[/QUOTE]
.NET languages, like C#, have awesome compile times compared to C++ though.
edit:
Kind of irrelevant because you'd only need to recompile the generated portion.
[QUOTE=AzLaN;19492061]You were saying?[/QUOTE]
Yeah. That's exactly what I was saying. I recommended using a ready tool instead of making one from scratch, nothing to do with how garry codes his stuff (like code generation).
There is a difference between doing guis for games and doing them for desktop apps that most people seem to have missed here.
Having to compile the game again after the artist/designer has made a minor cosmetic change will add steps and time to the production of the end product.
If they can just tweak one or a couple of files and load up the game to instantly see the results it will be much faster than them having to make a change get it compiled, make another change, get it compiled etc.
Oh and the GUI artist is the dude or dudes that make those pretty menus you use in games when they load up, they also make those fancy HUDs you see when playing the game. The actual job title will be different no doubt.
[QUOTE=HTF;19493131]There is a difference between doing guis for games and doing them for desktop apps that most people seem to have missed here.
Having to compile the game again after the artist/designer has made a minor cosmetic change will add steps and time to the production of the end product.
If they can just tweak one or a couple of files and load up the game to instantly see the results it will be much faster than them having to make a change get it compiled, make another change, get it compiled etc.
Oh and the GUI artist is the dude or dudes that make those pretty menus you use in games when they load up, they also make those fancy HUDs you see when playing the game. The actual job title will be different no doubt.[/QUOTE]
Well you do have a designer view of the forms. Also you could create a simple project for testing gui changes quickly. I do see your point though. I guess it would work as long as the event system is done nicely.
There's actually no real difference, in the real world code generation for a desktop app is a pain in the ass too. Remember that just because it's not a game does not mean that there are not specific UI designers.
Personally nullsquared, I subscribe to the view that everybody can be wrong, no point idolising some moron because they made a mod once and then assuming everything they say is programming gospel. You seem to be happy to dish out the criticisms to everybody else, even when you're stupidly wrong, so why bend over in front of Garry and lube yourself up?
My point however is that you will have to implement runtime loading anyway, so why not stop there? (Well, on top of all the usability issues, and the fact that code generation is a massive pain)
True we shouldn't think that what he says is gospel. Yet, sometimes, people can be right no matter who they are. In this case it comes down to experienced to not-experienced. Furthermore, maybe you should "subscribe to the view" that you could be wrong. Why do we have any reason to believe your view is better than Garrys? True, Garry may not be the best programmer in the world but he does have far more experience than you.
You have no idea of my experience. As far as I'm aware Garry has not implemented a high level GUI toolkit before.
Besides, experience has nothing to do with it. The only arguments against the method I've described other than "Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of." have been my own, and I think I fairly well covered why the pros outweigh the cons. I could very well be wrong, but without any logical reasoning behind it, you're all talking shit.
I'm not talking shit. I have just seen you try to debunk the way someone is coding something multiple times, yet I have not seen you code anything.
[QUOTE=Anthoni_c;19499910]I'm not talking shit. I have just seen you try to debunk the way someone is coding something multiple times, yet I have not seen you code anything.[/QUOTE]
The point is you should reason on your own with the arguments supplied.
Blindly listening to someone just because he has more experience is fine with me... that's your choice. But don't go around defending that kind of ignorance with blatant suck-up posts and expect to be taken seriously...
Long story short, I don't want to load at runtime.
Hey garry, I realise that you probably won't pick me to do it as I won't be able to start for a few days, but could you send me some docs for how the header file should be written?
I'd like to have a stab at doing it anyway.
"Make me a house, I will pay good"
"WHY NOT GO TO A HOTEL"
yall should read the thread title
As long as you realise you'll have to write the dynamic loading code whether you implement code generation or not.
You're wrong
How are you going to load and save in the editor?
[QUOTE=blankthemuffin;19499826]You have no idea of my experience. As far as I'm aware Garry has not implemented a high level GUI toolkit before.
Besides, experience has nothing to do with it. The only arguments against the method I've described other than "Are you idiots really trying to tell garry how he should code his stuff? garry has more experience than most of you can even dream of." have been my own, and I think I fairly well covered why the pros outweigh the cons. I could very well be wrong, but without any logical reasoning behind it, you're all talking shit.[/QUOTE]
This guy single handedly created call of duty modern warfare 2.
How did you insult his experience in these matters.
[QUOTE=blankthemuffin;19509508]How are you going to load and save in the editor?[/QUOTE]
He could save to an intermediate format and use custom build rules to generate the code during compilation.
Like google's protobufs.
Bingo, you use an intermediate format. You load and save this at runtime, serialising the layout of the UI.
Tell me how this is not a layout system loaded at runtime, which you are so sure you're not going to implement.
On another note, Burning Ninja is right, not sure how he got his info though, I usually keep it pretty low key.
Sorry, you need to Log In to post a reply to this thread.