r/KerbalSpaceProgram • u/KasperVld Former Dev • Sep 29 '15
Dev Post Devnote Tuesday: UI, more UI, and answers to frequently asked questions!
Hello everyone!
It’s been another week of UI work, but this week we’ve got a lot more to show for our efforts: Mike (Mu) has been hard at work implementing the KSPedia interface and backend, and has compiled a list of content to include in it which now measures over 100 items. The contents for the KSPedia are now shown via a tree style controller which is much more usable than a flat list. Some minor changes to how the back end deals with screens associated with categories makes for cleaner code and easier maintenance.
Meanwhile, Felipe (HarvesteR) has been making a ton of progress, finishing up work on the orbit lines, map icons and orbital context menus, and the KSC panels and vessel markers, which are now all implemented and working. With those out of the way he’s moved his attention to the vessel recovery dialog.
Work on the staging user interface has also continued, with Jim (Romfarer) tackling more background focused tasks. The backend of the staging interface is now sending distinct calls to the user interface, whereas in the old where everything went into the same place. This has made the staging interface more stable and most of the odd visual staging bugs should be gone.
The amazing Dan (Danrosas) finished the designs for the prints that will be made for the office. Once it’s ready he’ll share some pictures on Twitter. All in all, three posters will decorate the wall of our remodeled office, but first they’ll to be printed and framed. Aside from the posters there will also be a giant Kerbal vinyl decorative piece. These will pretty much signify the end of the office remodeling (finally!).
We want to zoom in on the user interface update in general for a while too: when we started the overhaul we knew that it would be a tremendous amount of work: we tend to overlook a lot of the user interface when we’re just playing through the game, but once you start really taking stock of every single interface component in the project, you’ll find that it’s simply everywhere.
The new native Unity UI is really shining through all this. If we were porting to some other UI system, we would be having a very, very hard time. The fact that this overhaul is doable at all is very much a comment on how easy to use, flexible and powerful the native Unity UI system is. Felipe commented that he can’t wait to start creating new UI controls with it, and that what used to be the most dreaded part of the job is now looking like a fun, creative process.
Be that as it may, we are still looking at quite a mountain to climb with the overhaul. Progress is happening much more steadily now, but the amount of work still left to be done is enormous.
All that work that gets done is prepared and organized by the producers, and Max (Maxmaps) and Ted have been busy discussing features, handling dev kits, and setting up schedules that might drive some people insane, but will ultimately speed up the process of translating code and user interface discussions in the devnotes into an actual new update. As time progresses and Ted settles into his new role as Technical Producer, the teamwork between him and Max is improving exponentially.
At the moment Ted is mostly busy rearranging QA schedules to fit the updated plans we have for 1.1. Those are currently being finalized and we hope to be able to share more about it on Squadcast, or in next week’s devnotes, time permitting. Outside of that, we’ve frequently found him performing the usual producer-type tasks of e-mailing intently, looking thoughtfully out of windows and having meetings.
Joining the frantic pace are Andrea (Badie) and Kasper (KasperVld), who are currently reviewing the dozens of applications to join the Media Group. Watching YouTube videos may sound like an easy job, but giving a well-founded opinion on over 30 channels with different styles, and comparing them based on those descriptions can get very complicated very fast, not to mention time consuming! There are literally hundreds of videos to look at, and thousands of metrics to compare.
If you’ve been following KSPTV last week you may have caught the streams that Scott Manley, DasValdez, Jimorian, EJ_SA and Shimmy did from the B612 Foundation in San Fransisco and Twitchcon. The universe seems to have survived this enormous concentration of cool at the same time in the same place, but it must’ve been close to collapsing. We understand they’ve all had a great time there, and we hope that everyone else who was there has too.
If you’re visiting OpenESTEC this Sunday, you might unknowingly run into Kasper, who will be there to attend a few symposia and meet a few ESA staff. If you live in the Netherlands (or close by) and if you’re interested in spaceflight then this might just be something you’re interested in: lectures by astronauts, actual spacecraft and the research & technology centre of ESA will be open to the public. Check out the schedule, and register!
Finally, we really wanted to answer some of the discussions and questions that we’ve picked up from our forums and social media. So, here we go:
Jim on GUI click-through
We are aware that the old user interface has click-through issues. The reason is mainly because we had 3 GUI systems running on top of each other (we talked about this in one of the previous devnotes). In addition, everything that involves cursor movement and hit detection outside GUI’s is handled with its own controller, actually a quite big number of controllers, all of them have to communicate with the user interface system and lock itself down whenever the mouse is over an element.
Now that we’ve consolidated everything into the new Unity 5 GUI system we can accumulate all these checks into one line of code courtesy, which means that (by default) clicks don’t bleed through these elements into itself anymore.
Felipe on save and craft compatibility
*Craft files from earlier versions do still work in 1.1. So far none of what we’ve done has caused them to break. Some redesigns might be needed to account for subtle differences in flight handling and such, caused by the move to the Unity5 physics, but there shouldn’t be any changes that would outright break backward compatibility.
The same goes for game saves. So far, I’ve been testing here with my old saves from 1.0 and before, and they keep on loading fine, so as far as we can tell, there’s nothing that would break those either. Of course, modded saves are quite another story. Perhaps even more so than with ‘regular’ updates, mods will almost certainly need to be updated to work with 1.1, so modded games might run into issues, at least until the mods in question are updated. *
Felipe on DirectX12
*DirectX12 support is not something we can support ourselves. It depends on Unity to support it, and from what I’ve read, DX12 support is still several months off. Not that KSP would make much use of its new features. *
Ted on beta testing the console ports
I’ve read a thread on our forums that answered a question about our console QA process that I’m sure many of you had, and so it’s good to repeat it here. For our console QA process, Flying Tiger will be handle the primary QA process in-house, with Squad assisting with in-house QA as well.
19
u/KasperVld Former Dev Sep 29 '15
As always, feel free to ask questions!
15
u/waka324 ATM / EVE Dev Sep 29 '15
Could you guys please put together a nice article on how modders can/should go about utilizing the new UI? I've suspended development almost entirely provided all the unknowns with the transition to U5, and would love a quick primer so that I can get EVE up and running ASAP once 1.1 hits.
2
u/Bull1328 Sep 29 '15
Just want to start off by saying that you guys rock. Secondly, is the release date for 1.1 set in stone, or is it susceptible to changes and such?
35
u/esport5000 Sep 29 '15
Will we eventually be able to edit action groups post-VAB? I feel like that would be useful for stations and the like.
16
u/dahud Sep 29 '15
While the new amalgamated devnotes are nice, I do miss Felipe's personal reports. They were always delightfully technical, and his enthusiasm for solving engineering problems was contagious.
5
u/[deleted] Sep 29 '15
Is the signal relay system still in? Will Eeloo ever orbit its true father, the Gas Planet Two? Will clouds be in the next update released after 1.1, the "Visual Update" you talked about?
15
u/tarrosion Sep 29 '15
It's taken a little but the new devnote style is really getting great!
Dumb question and all, but: from previous devnotes it seemed we were getting close to 1.1. On the other hand, this: "Be that as it may, we are still looking at quite a mountain to climb with the overhaul. Progress is happening much more steadily now, but the amount of work still left to be done is enormous." makes it seem like we're a long ways off. Is an update coming soon or no?
20
u/NovaSilisko Sep 29 '15
Can confirm new Unity UI system is fuckin fantastic.
10
u/cmsimike Sep 29 '15
I am hoping this addresses the jumpy orbit/intercept lines
8
u/MarinertheRaccoon Sep 29 '15
Thank you, thank you so much for this! That's bugged me for ages!
7
u/Loganscomputer Sep 29 '15
Any word on multi-monitor support now that we are moving to the new unity? Telemachus displays are great but I would love to be able to throw the map view on a second monitor. Not saying it is a must have just wondering if it is even being thought about?
7
u/BusinessPenguin Sep 29 '15
Will we ever get new space center locations? it's a bit annoying to have to bring my shuttles down in the dirt if they can't make it to KSC.
7
u/captainmobius0 Sep 30 '15
How about a screenshot teaser of the new UI?
5
u/Kasuha Super Kerbalnaut Sep 29 '15
Thanks for the devnote!
Take your time guys, and do the work properly. I'll prefer getting 1.1 later with most of new and especially old bugs fixed over getting it early and then waiting for several hotfixes on glaring issues and having to deal with all the old annoying bugs for yet one more release. There's been a lot of activity around the bugtracker lately so I hope it'll bring its fruits. Keep up the good work!
3
u/Jarnis Sep 30 '15
...except the little bit that DX12 would greatly reduce CPU overhead when handling large amounts of stuff on screen. CPU, that is generally being eaten alive by the physics engine.
KSP would definitely benefit, but I fully understand it depends on Unity getting the support done. Also current available DX12 drivers are shaky at best so it is still some time before anyone can ship a proper, stable game running on DX12 on anything other than the flagship GPU of one of the vendors (and even that may take some creative workarounds).
This will probably be far more relevant in ~6 months when Unity has stable DX12 support and GPU vendors have working drivers.
2
u/zRwk Sep 29 '15
Can't wait to see all the changes, am excited to see what's different and hopefully see some nice performance gains too. And of course the beautification mods with 64bit :D
2
u/WazWaz Sep 30 '15
Will the UI overall add a "Continue" button to the first game menu? It's very standard game design. Currently it's 5 clicks to continue the last save.
1
u/sq10 Sep 30 '15
Will the KSPedia have an easy way for modders to add entries?
1
u/NecroBones SpaceY Dev Sep 30 '15
We know that the wheel collider and suspension system has been completely replaced. What will this mean for part mods that include landing legs (which use the suspension system from the wheel colliders currently)? Will existing ones be converted at load-time, or do we need to redesign them with an updated Part Tools?
1
u/grunf Sep 30 '15 edited Sep 30 '15
How big is the estimated performance improvement of multithreading in Unity (FPS % wise) ?
For example, yesterday when recording my series i launched a 450 part monstruosity, and it was going in roughly 3 FPS. (Granted, it ran in 0.90, and with 70 mods on win 32 Open-GL)
Given the fact that of these 70 mods at least 10 are UI, and some more, could i be looking at some better framerates ?
1
u/EternalKingSupreme Oct 02 '15
Will there be support for multi-GPU setup?
1
u/demFailz Sep 29 '15 edited Sep 29 '15
I remember posting a comment similar to this question a while ago in devnotes (got a good answer in return!), but with OS X El Capitan and more importantly, Metal, would KSP, the current version and 1.1, be able to run on Metal? I have the impression that Metal is not having OpenGL backwards-compatibility, so all non-Metal games will not be able to run. I know most Mac game engines are getting support for the API.
Edit: Apple is keeping OpenGL and OpenCL support in OS X, but Metal is moving foward as a replacement.