Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support more opponents
05-17-2012, 03:04 PM,
Yep, the escape will be back with the keyboard support. The widgets will get some fine tuning as soon as all functionality is working.
05-19-2012, 03:39 PM,
Windows build(without data) vdrift-gui-2012-05-19.exe:

- Implement configurable gui controls (select, cancel, up, down, left, right). Implement active widget(widget that reacts to input) concept. Differentiate between active and passive widgets. Implement float guioption increment/decrement.

The gui is still a bit rough. Colorpicker and control edit widgets need work. But we are getting there.

Warning! GUI controls are fully configurable. There is no hard-coded fallback. Delete VDrift settings or at least update the controls.config(new one is in data/settings/controls.config).

PS: I'll add a gui controls edit page to the skin asap.
05-20-2012, 11:23 AM,
Windows build(without data) vdrift-gui-2012-05-20.exe:

- Fix: Process local input independent of game state.

A bugfix build. It turned out the game would not process input under certain circumstances. This broke in-game gui.
05-20-2012, 12:31 PM,
Looking good Smile Just can't add opponents to a race.

Mac build (without data) vdrift-mac-gui-2012-05-20.dmg:

Also, a build from the master branch with the improvements to AI from - vdrift-mac-2012-05-20.dmg:

These builds include my changes in so you can have the data folder either in the same folder as the application, or in
05-20-2012, 12:40 PM,
Quote:Just can't add opponents to a race.
Forgot to bind the action to widget. Fixed in latest data(1026). Thanks.
05-21-2012, 04:46 AM,
Looks like I've killed sound with latest input fix(need to test more). Thus another bugfix build vdrift-gui-2012-05-21:

I am not sure if anyone is following the nightly builds. I think I'll reduce the build frequency, test more internally.
05-21-2012, 06:18 AM,
They seem to be getting a few downloads, but I don't think they need to be literally nightly. Perhaps a couple each week, or after some of the bigger changes.
05-21-2012, 04:35 PM,
NaN, i'm trying the windows latest build: i'd deleted all old config files, got "libgcc_s_sjlj-1" and fired it up. Nothing happens when i click or press enter on menu. What i'm doing wrong?
05-21-2012, 05:44 PM,
Libgcc should have been linked statically. I've uploaded another build vdrift-gui-2012-05-21a.exe which fixes this, doesn't require the dll. Thanks.

Can you please make sure you've go latest gui data, delete vdrift settings folder and post the log.txt from the test run?

Btw the controls.config should contain 30 mappings. 23-29 are gui controls mappings.
05-22-2012, 02:39 PM,
NaN, sorry, I've deleted wrong config files. Everything works fine. Gap and sliders was mentioned before..
05-24-2012, 03:24 PM,
Just found a bug - pressing escape multiple times quick results in a shadow of the previous pages behind the current one.
Also, car colour doesn't seem to change until a full restart of the application.
05-25-2012, 07:14 PM,
Thanks Timo, will be fixed with next push.
06-01-2012, 05:00 PM,
Windows build(without data) vdrift-gui-2012-06-01.exe:

- Refactor GUI. Replace old widgets with few orthogonal components control, label, image, (slider). Expose gui componet properties to gui config files(gui pages), support some minimal script-ability. Construct complex gui widgets/functionality using available components. Load garage track as gui background.
- Fix: Set constant to floats explicitly to make vs compiler happy.
- Fix: Add new samplers before removal -> to follow add sources behavior.
- Fix: Make sure wheel position is updated if body position is set(SetPosition).
- GUI, GUIPAGE are extending passed actionmap. Pass a copy to avoid undefined behavior, isolate pages.

[Image: guias.jpg]

Another larger set of GUI changes. Garage(track) as background means GUI readability need to be addressed. Any ideas are welcome.

For anyone interested in playing with the GUI. It is quite configurable now. Assign gui reload key in Options/Controls/Game/Tools to reload the gui on the fly. For starters look into data/skins/simple/menus/Main. A somewhat more complex gui page is PracticeGame.

@Timo: I overwrote some of your gui skin fixes, sorry Will add them back asap.
06-01-2012, 05:12 PM,
Some(a lot) of the tooltips are broken. But should be easy to fix. Updates menu might be broken too, haven't tested yet. Garage camera is a hack atm(car orbit camera), should have a fixed position/path focusing the car. Color value slider is not initialized properly it seems, looking into it.
06-01-2012, 10:27 PM,
For readability, you could add a rounded partially transparent grey box behind the areas that have UI.

Forum Jump:

Users browsing this thread: 1 Guest(s)