Home Creators Posts Import Register Favorites Logout

Downloads

Content

(Please, don’t share this video, as it’s very WIP.)

Here is a bit of a preview of another update coming soon-ish (cursor will be shown as well, of course, forgot to turn it on during recording). Based on IMGUI, new UI will properly support controllers or keyboard-only navigation (although it would be helpful to try and rewrite it to make it simpler to use), already supports scaling to work better on 4K displays, and in general might contain some helpful improvements here and there, like only showing tracks with any setups in setups loading page. Oh, and also, text inputs work as one might expect, with cursor, selection, copy-paste, all that sort of stuff. Only thing missing is emojis and ligatures, as it uses custom simpler font rendering, but I think that shouldn’t be a major issue for now.

Main reason for it, though, is that it allows to create nice systen apps on C++ side (and later, hopefully, custom apps with Python and/or LuaJIT). It all started with me trying to add a simple objects inspector app allowing to configure Grass FX more easily, but I just can’t properly get into AC controls for some reason, everything crashes all the time. With IMGUI, same apps can be created at fraction of the cost simply thanks to how easier it is to work with immediate GUI, but, apart from that, much more functional and stable. To compare:

 This thing took me half a day to create, and all I got out of it was constant crashes 

And this one took an hour at most, and it doesn’t crash at all. :)

Files

Assetto Corsa with Dear IMGUI

Very, very early preview. Dear IMGUI works great so far, but I’m not sure there won’t be any bad surprises later. Tried to make a custom built-in app for setting up Grass FX, but it was just such a crashy mess trying to hook into AC controls, so I thought to try and switch to something easier to handle. Can’t really bring whole new UI library just for a couple of hidden apps, plus it’s good to try and learn it better by doing something big, so here is my first take on main menu. I think I only barely know how original UI works though, so to keep it familiar and with same functionality, I decided to use similar layout for now. Of course, it’s not about looks though. New UI can be nicely scaled up and down, can work with controllers or without mouse, text inputs support hotkeys, text selection and all that, it seems to work faster in general. And it can be themed.

Comments

Josh Kerr

I want!! I need it <3

Jay Enn

Wow, that's amazing. This means VR-friendly menus most of all, which will make a lot of people happy. Also, i guess that if you take control of the ingame menus, everything should be quite modular. For example would adding a car class and team name (already in the ui_skin.json) column to the info tab car list be possible?

Kill KRT

Dude! You should make your own company and create the definitive race sim! :-)