Skip to content

Instantly share code, notes, and snippets.

@Timo6
Created June 5, 2012 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Timo6/2874533 to your computer and use it in GitHub Desktop.
Save Timo6/2874533 to your computer and use it in GitHub Desktop.
Index: PracticeGame
===================================================================
--- PracticeGame (revision 1042)
+++ PracticeGame (working copy)
@@ -44,10 +44,9 @@
onmoveright = game.track.next
onmoveup = widget-15
onmovedown = widget-03b
-onfocus = widget-02b.alpha:1 widget-02c.alpha:1 widget-02d.val:0.8
-onblur = widget-02b.alpha:0 widget-02c.alpha:0 widget-02d.val:1.0
+onfocus = widget-02b.alpha:1 widget-02c.alpha:1 widget-02d.val:1.0
+onblur = widget-02b.alpha:0 widget-02c.alpha:0 widget-02d.val:0.8
focus = true
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.18
width = 0.1
@@ -63,10 +62,9 @@
onmoveright = game.track.next
onmoveup = widget-15
onmovedown = widget-03b
-onfocus = widget-02b.alpha:1 widget-02c.alpha:1 widget-02d.val:0.8
-onblur = widget-02b.alpha:0 widget-02c.alpha:0 widget-02d.val:1.0
+onfocus = widget-02b.alpha:1 widget-02c.alpha:1 widget-02d.val:1.0
+onblur = widget-02b.alpha:0 widget-02c.alpha:0 widget-02d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.18
width = 0.1
@@ -75,6 +73,7 @@
[ widget-02d]
text = game.track.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.18
width = 0.2
@@ -96,10 +95,9 @@
onmoveright = game.reverse.next
onmoveup = widget-02b
onmovedown = widget-04b
-onfocus = widget-03b.alpha:1 widget-03c.alpha:1 widget-03d.val:0.8
-onblur = widget-03b.alpha:0 widget-03c.alpha:0 widget-03d.val:1.0
+onfocus = widget-03b.alpha:1 widget-03c.alpha:1 widget-03d.val:1.0
+onblur = widget-03b.alpha:0 widget-03c.alpha:0 widget-03d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.22
width = 0.1
@@ -115,10 +113,9 @@
onmoveright = game.reverse.next
onmoveup = widget-02b
onmovedown = widget-04b
-onfocus = widget-03b.alpha:1 widget-03c.alpha:1 widget-03d.val:0.8
-onblur = widget-03b.alpha:0 widget-03c.alpha:0 widget-03d.val:1.0
+onfocus = widget-03b.alpha:1 widget-03c.alpha:1 widget-03d.val:1.0
+onblur = widget-03b.alpha:0 widget-03c.alpha:0 widget-03d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.22
width = 0.1
@@ -127,6 +124,7 @@
[ widget-03d ]
text = game.reverse.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.22
width = 0.2
@@ -148,10 +146,9 @@
onmoveright = game.track_dynamic.next
onmoveup = widget-03b
onmovedown = widget-05b
-onfocus = widget-04b.alpha:1 widget-04c.alpha:1 widget-04d.val:0.8
-onblur = widget-04b.alpha:0 widget-04c.alpha:0 widget-04d.val:1.0
+onfocus = widget-04b.alpha:1 widget-04c.alpha:1 widget-04d.val:1.0
+onblur = widget-04b.alpha:0 widget-04c.alpha:0 widget-04d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.26
width = 0.1
@@ -167,10 +164,9 @@
onmoveright = game.track_dynamic.next
onmoveup = widget-03b
onmovedown = widget-05b
-onfocus = widget-04b.alpha:1 widget-04c.alpha:1 widget-04d.val:0.8
-onblur = widget-04b.alpha:0 widget-04c.alpha:0 widget-04d.val:1.0
+onfocus = widget-04b.alpha:1 widget-04c.alpha:1 widget-04d.val:1.0
+onblur = widget-04b.alpha:0 widget-04c.alpha:0 widget-04d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.26
width = 0.1
@@ -179,6 +175,7 @@
[ widget-04d ]
text = game.track_dynamic.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.26
width = 0.2
@@ -200,10 +197,9 @@
onmoveright = game.car.next
onmoveup = widget-04b
onmovedown = widget-06b
-onfocus = widget-05b.alpha:1 widget-05c.alpha:1 widget-05d.val:0.8
-onblur = widget-05b.alpha:0 widget-05c.alpha:0 widget-05d.val:1.0
+onfocus = widget-05b.alpha:1 widget-05c.alpha:1 widget-05d.val:1.0
+onblur = widget-05b.alpha:0 widget-05c.alpha:0 widget-05d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.34
width = 0.1
@@ -219,10 +215,9 @@
onmoveright = game.car.next
onmoveup = widget-04b
onmovedown = widget-06b
-onfocus = widget-05b.alpha:1 widget-05c.alpha:1 widget-05d.val:0.8
-onblur = widget-05b.alpha:0 widget-05c.alpha:0 widget-05d.val:1.0
+onfocus = widget-05b.alpha:1 widget-05c.alpha:1 widget-05d.val:1.0
+onblur = widget-05b.alpha:0 widget-05c.alpha:0 widget-05d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.34
width = 0.1
@@ -231,6 +226,7 @@
[ widget-05d ]
text = game.car.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.34
width = 0.2
@@ -252,10 +248,9 @@
onmoveright = game.car_paint.next
onmoveup = widget-05b
onmovedown = widget-07b
-onfocus = widget-06b.alpha:1 widget-06c.alpha:1 widget-06d.val:0.8
-onblur = widget-06b.alpha:0 widget-06c.alpha:0 widget-06d.val:1.0
+onfocus = widget-06b.alpha:1 widget-06c.alpha:1 widget-06d.val:1.0
+onblur = widget-06b.alpha:0 widget-06c.alpha:0 widget-06d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.38
width = 0.1
@@ -271,10 +266,9 @@
onmoveright = game.car_paint.next
onmoveup = widget-05b
onmovedown = widget-07b
-onfocus = widget-06b.alpha:1 widget-06c.alpha:1 widget-06d.val:0.8
-onblur = widget-06b.alpha:0 widget-06c.alpha:0 widget-06d.val:1.0
+onfocus = widget-06b.alpha:1 widget-06c.alpha:1 widget-06d.val:1.0
+onblur = widget-06b.alpha:0 widget-06c.alpha:0 widget-06d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.38
width = 0.1
@@ -283,6 +277,7 @@
[ widget-06d ]
text = game.car_paint.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.38
width = 0.2
@@ -302,13 +297,17 @@
onmoveright = game.car_color_hue.next
onmoveup = widget-06b
onmovedown = widget-08b
+onfocus = widget-07b.val:1.0 widget-07c.val:1.0
+onblur = widget-07b.val:0.8 widget-07c.val:0.8
focus = false
+color = 0.8, 0.8, 0.8
center = 0.32, 0.42
width = 0.2
height = 0.03
[ widget-07c ]
image = color_hue.png
+color = 0.8, 0.8, 0.8
center = 0.32, 0.42
width = 0.2
height = 0.028
@@ -329,13 +328,17 @@
onmoveright = game.car_color_sat.next
onmoveup = widget-07b
onmovedown = widget-09b
+onfocus = widget-08b.val:1.0 widget-08c.val:1.0
+onblur = widget-08b.val:0.8 widget-08c.val:0.8
focus = false
+color = 0.8, 0.8, 0.8
center = 0.32, 0.46
width = 0.2
height = 0.03
[ widget-08c ]
image = color_saturation.png
+color = 0.8, 0.8, 0.8
hue = game.car_color_hue
sat = 1.0
val = game.car_color_val
@@ -366,13 +369,17 @@
onmoveright = game.car_color_val.next
onmoveup = widget-08b
onmovedown = widget-10b
+onfocus = widget-09b.val:1.0 widget-09c.val:1.0
+onblur = widget-09b.val:0.8 widget-09c.val:0.8
focus = false
+color = 0.8, 0.8, 0.8
center = 0.32, 0.50
width = 0.2
height = 0.03
[ widget-09c ]
image = color_value.png
+color = 0.8, 0.8, 0.8
hue = game.car_color_hue
sat = game.car_color_sat
val = 1.0
@@ -398,10 +405,9 @@
onmoveright = game.antilock.next
onmoveup = widget-09b
onmovedown = widget-11b
-onfocus = widget-10b.alpha:1 widget-10c.alpha:1 widget-10d.val:0.8
-onblur = widget-10b.alpha:0 widget-10c.alpha:0 widget-10d.val:1.0
+onfocus = widget-10b.alpha:1 widget-10c.alpha:1 widget-10d.val:1.0
+onblur = widget-10b.alpha:0 widget-10c.alpha:0 widget-10d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.54
width = 0.1
@@ -417,10 +423,9 @@
onmoveright = game.antilock.next
onmoveup = widget-09b
onmovedown = widget-10b
-onfocus = widget-10b.alpha:1 widget-10c.alpha:1 widget-10d.val:0.8
-onblur = widget-10b.alpha:0 widget-10c.alpha:0 widget-10d.val:1.0
+onfocus = widget-10b.alpha:1 widget-10c.alpha:1 widget-10d.val:1.0
+onblur = widget-10b.alpha:0 widget-10c.alpha:0 widget-10d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.54
width = 0.1
@@ -429,6 +434,7 @@
[ widget-10d ]
text = game.antilock.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.54
width = 0.2
@@ -450,10 +456,9 @@
onmoveright = game.traction_control.next
onmoveup = widget-10b
onmovedown = widget-12b
-onfocus = widget-11b.alpha:1 widget-11c.alpha:1 widget-11d.val:0.8
-onblur = widget-11b.alpha:0 widget-11c.alpha:0 widget-11d.val:1.0
+onfocus = widget-11b.alpha:1 widget-11c.alpha:1 widget-11d.val:1.0
+onblur = widget-11b.alpha:0 widget-11c.alpha:0 widget-11d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.58
width = 0.1
@@ -469,10 +474,9 @@
onmoveright = game.traction_control.next
onmoveup = widget-10b
onmovedown = widget-12b
-onfocus = widget-11b.alpha:1 widget-11c.alpha:1 widget-11d.val:0.8
-onblur = widget-11b.alpha:0 widget-11c.alpha:0 widget-11d.val:1.0
+onfocus = widget-11b.alpha:1 widget-11c.alpha:1 widget-11d.val:1.0
+onblur = widget-11b.alpha:0 widget-11c.alpha:0 widget-11d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.58
width = 0.1
@@ -481,6 +485,7 @@
[ widget-11d ]
text = game.traction_control.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.58
width = 0.2
@@ -502,10 +507,9 @@
onmoveright = game.vehicle_damage.next
onmoveup = widget-11b
onmovedown = widget-13b
-onfocus = widget-12b.alpha:1 widget-12c.alpha:1 widget-12d.val:0.8
-onblur = widget-12b.alpha:0 widget-12c.alpha:0 widget-12d.val:1.0
+onfocus = widget-12b.alpha:1 widget-12c.alpha:1 widget-12d.val:1.0
+onblur = widget-12b.alpha:0 widget-12c.alpha:0 widget-12d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.62
width = 0.1
@@ -521,10 +525,9 @@
onmoveright = game.vehicle_damage.next
onmoveup = widget-11b
onmovedown = widget-13b
-onfocus = widget-12b.alpha:1 widget-12c.alpha:1 widget-12d.val:0.8
-onblur = widget-12b.alpha:0 widget-12c.alpha:0 widget-12d.val:1.0
+onfocus = widget-12b.alpha:1 widget-12c.alpha:1 widget-12d.val:1.0
+onblur = widget-12b.alpha:0 widget-12c.alpha:0 widget-12d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.62
width = 0.1
@@ -533,6 +536,7 @@
[ widget-12d ]
text = game.vehicle_damage.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.62
width = 0.2
@@ -554,10 +558,9 @@
onmoveright = game.record.next
onmoveup = widget-12b
onmovedown = widget-14
-onfocus = widget-13b.alpha:1 widget-13c.alpha:1 widget-13d.val:0.8
-onblur = widget-13b.alpha:0 widget-13c.alpha:0 widget-13d.val:1.0
+onfocus = widget-13b.alpha:1 widget-13c.alpha:1 widget-13d.val:1.0
+onblur = widget-13b.alpha:0 widget-13c.alpha:0 widget-13d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.27, 0.70
width = 0.1
@@ -573,10 +576,9 @@
onmoveright = game.record.next
onmoveup = widget-12b
onmovedown = widget-14
-onfocus = widget-13b.alpha:1 widget-13c.alpha:1 widget-13d.val:0.8
-onblur = widget-13b.alpha:0 widget-13c.alpha:0 widget-13d.val:1.0
+onfocus = widget-13b.alpha:1 widget-13c.alpha:1 widget-13d.val:1.0
+onblur = widget-13b.alpha:0 widget-13c.alpha:0 widget-13d.val:0.8
focus = false
-color = 0.8, 0.8, 0.8
alpha = 0
center = 0.37, 0.70
width = 0.1
@@ -585,6 +587,7 @@
[ widget-13d ]
text = game.record.str
fontsize = 0.03
+color = 0.8, 0.8, 0.8
center = 0.32, 0.70
width = 0.2
@@ -600,7 +603,7 @@
onfocus = widget-14.val:0.8
onblur = widget-14.val:1.0
focus = false
-center = 0.3, 0.82
+center = 0.1, 0.96
width = 0.16
height = 0.05
@@ -608,7 +611,7 @@
[ widget-15 ]
text = Back
fontsize = 0.04
-align = left
+align = right
tip = Return to the Main menu.
onselect = gui.options.save Main
onmoveup = widget-14
@@ -616,11 +619,141 @@
onfocus = widget-15.val:0.8
onblur = widget-15.val:1.0
focus = false
-center = 0.3, 0.88
+center = 0.9, 0.96
width = 0.16
height = 0.05
+[ widget-16a ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.18
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16b ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.22
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16c ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.26
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16d ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.34
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16e ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.38
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16f ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.42
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16g ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.46
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16h ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.50
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16i ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.54
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16j ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.58
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16k ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.62
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16l ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.26, 0.70
+width = 0.35
+height = 0.038
+layer = -1
+
+[ widget-16m ]
+image = white.png
+color = 0.545, 0.521, 0.537
+alpha = 0.6
+center = 0.5, 0.065
+width = 1
+height = 0.13
+layer = -1
+
+[ widget-16n ]
+image = white.png
+color = 0.545, 0.521, 0.537
+alpha = 0.6
+center = 0.5, 0.96
+width = 1
+height = 0.08
+layer = -1
+
+#[ widget-16o ]
+#image = white.png
+#color = 0.545, 0.521, 0.537
+#center = 0.28, 0.82
+#width = 0.16
+#height = 0.05
+#layer = -1
+
+#[ widget-16p ]
+#image = white.png
+#color = 0.545, 0.521, 0.537
+#center = 0.28, 0.88
+#width = 0.16
+#height = 0.05
+#layer = -1
+
[ tooltip ]
text = gui.tooltip
fontsize = 0.03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment