Forums

Full Version: Support more opponents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Yep, the escape will be back with the keyboard support. The widgets will get some fine tuning as soon as all functionality is working.
Windows build(without data) vdrift-gui-2012-05-19.exe:
https://sourceforge.net/projects/vdrift/...%20builds/

Changes:
- 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.
Windows build(without data) vdrift-gui-2012-05-20.exe:
https://sourceforge.net/projects/vdrift/...%20builds/

Changes:
- 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.
Looking good Smile Just can't add opponents to a race.

Mac build (without data) vdrift-mac-gui-2012-05-20.dmg:
https://sourceforge.net/projects/vdrift/...%20builds/

Also, a build from the master branch with the improvements to AI from https://github.com/VDrift/vdrift/pull/90 - vdrift-mac-2012-05-20.dmg:
https://sourceforge.net/projects/vdrift/...%20builds/

These builds include my changes in https://github.com/VDrift/vdrift-mac/pull/31 so you can have the data folder either in the same folder as the application, or in VDrift.app/Contents/Resources.
Quote:Just can't add opponents to a race.
Forgot to bind the action to widget. Fixed in latest data(1026). Thanks.
Looks like I've killed sound with latest input fix(need to test more). Thus another bugfix build vdrift-gui-2012-05-21:
https://sourceforge.net/projects/vdrift/...%20builds/

I am not sure if anyone is following the nightly builds. I think I'll reduce the build frequency, test more internally.
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.
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?
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.
NaN, sorry, I've deleted wrong config files. Everything works fine. Gap and sliders was mentioned before..
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.
Thanks Timo, will be fixed with next push.
Windows build(without data) vdrift-gui-2012-06-01.exe:
https://sourceforge.net/projects/vdrift/...%20builds/

Changes:
- 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.
Issues/Regressions:
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.
For readability, you could add a rounded partially transparent grey box behind the areas that have UI.
Pages: 1 2 3 4 5 6 7 8