06-02-2012, 06:39 AM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
Hmm... getting a black background atm, log file here: https://gist.github.com/2857745
Seems to still be looking for roof_shingles.png, despite the data-gui update.
|
|
06-02-2012, 07:16 AM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
Yep, just found that.
|
|
06-02-2012, 10:01 AM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
NaN Wrote:@Timo: I overwrote some of your gui skin fixes, sorry Will add them back asap.
I've restored them now. Just not sure how the hover stuff works - after making the wheels longer, hovering over the centre doesn't get registered.
|
|
06-02-2012, 10:27 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Code: [ widget-16c ]
text = >
fontsize = 0.03
align = right
onmoveleft = game.vehicle_damage.prev
onmoveright = game.vehicle_damage.next
onmoveup = widget-15b
onmovedown = widget-17b
onfocus = widget-16b.alpha:1 widget-16c.alpha:1 widget-16d.val:0.8
onblur = widget-16b.alpha:0 widget-16c.alpha:0 widget-16d.val:1.0
focus = false
color = 0.8, 0.8, 0.8
alpha = 0
center = 0.34, 0.76
width = 0.08
height = 0.04
Center, width, height define the focus/hover rectangle. When widening them you have to move the centers and adjust the width. I've setup the prev/next control areas to be equal to the text area. Width 0.08 + 0.08 = 0.16. Center 0.3 - 0.08 / 2; 0.3 + 0.08 / 2; (0.26 + 0.34) / 2 = 0.3.
Btw almost elements on all pages are aligned(have same dimensions) to have a uniform/clean look.
|
|
06-03-2012, 04:15 PM,
|
|
Woow! This is getting nice!
Note that in the function GAME::SetGarageCar() function you are checking if an unsigned variable is <= 0 which is always true.
for (std: ize_t i = car.GetCameras().size() - 1; i >= 0 ; --i)
The new gui is very nice. I don't know if you are limiting the frames in the menu, which I think they should be. I was also thinking on maybe loading the track in a quite asynchronous way so that selecting them may produce a preview.
|
|
06-03-2012, 04:53 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:I was also thinking on maybe loading the track in a quite asynchronous way so that selecting them may produce a preview.
That is the idea indeed.
Streaming objects on demand is something I wished to see for some time now. Adding a loader thread to content manager shouldn't be a big deal. What gives me headaches is the OpenGL code.
Ideally we would want to load all texture mip levels(dds ?) and upload the textures as pixel buffer objects to avoid game freezes. But there is this OpenGL1 fall-back which would need special treatment.
|
|
06-03-2012, 05:50 PM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
My experimentation: https://picasaweb.google.com/lh/photo/5e...directlink
I inverted the hover effect - I think it makes the currently focused item stand out more - I sometimes had to search for which was selected previously. The start and back buttons really didn't fit in, so I've tried moving them.
Btw, I feel this process would work better with git instead of subversion. We probably shouldn't change in the middle of it, but maybe when we've done?
|
|
06-03-2012, 06:07 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:I inverted the hover effect
Hey, exactly my idea.
We maybe have to make the bg rects a bit darker(-0.1?) or the blurred text lighter 0.8 -> 0.9?
Nice idea with the buttons, they might be out of user focus though. Grouping controls and stuff you know...
User interface design is a bitch, hehe.
|
|
06-04-2012, 12:35 PM,
|
|
CrystalH
Member
|
Posts: 113
Threads: 9
Joined: Feb 2010
|
|
NaN Wrote:Maybe we should have moved data to github as suggested, would simplify such stuff. Good idea.
We have it so with Stunt Rally: 1st repo for sources and data, and 2nd only for tracks, both on github.
I recommend it, data usually is connected to code changes. And since tracks are really BIG (and dont change often) they should be separated, so you don't need all of them or just once.
|
|
06-05-2012, 07:49 AM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
NaN Wrote:Nice idea with the buttons, they might be out of user focus though. Grouping controls and stuff you know... That's what I thought as well. Patches for Practice Game and Main here: https://gist.github.com/2874533 and here: https://gist.github.com/2874538
|
|
06-18-2012, 08:11 AM,
|
|
How is developing going? This seems to be a bit dead
|
|
06-18-2012, 08:48 AM,
|
|
Timo 6
Member
|
Posts: 164
Threads: 6
Joined: Mar 2009
|
|
I've converted most of the menus to the style in my last pic, I'll post an zip later.
|
|
|