Skip to content

Commit

Permalink
With the new rockmeter code I decided to change up the rockmeter desi…
Browse files Browse the repository at this point in the history
…gn a bit for Megalight V4 (those of you who used to play classic FoF might recognize the design)
  • Loading branch information
erodozer committed Jul 10, 2010
1 parent d9a18db commit 510b0ee
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 189 deletions.
288 changes: 99 additions & 189 deletions data/themes/MegaLight V4/rockmeter.ini
Original file line number Diff line number Diff line change
@@ -1,189 +1,99 @@
[layer0]
texture = dotbase.png
xpos = .74
ypos = .8
xscale = -.45
yscale = .45

[layer1]
texture = dots.png

[layer1:fx0]
type = streak
xpos = .74
ypos = .8
xscale = -.45
yscale = .45
multdiv = True

[layer2]
texture = hudback.png
xpos = 0.5
ypos = 0.8
xscale = .5
yscale = .5

[layer3]
texture = bars.png
xpos = 0.5
ypos = 0.81
xscale = layer.drawing.widthf(pixelw = 200.000)
yscale = -.25
rect = (0.0, 1.0, 0.0, 0.25)

[layer4]
texture = bars.png

[layer4:fx0]
type = rock
xpos = 0.5 - .15*(1-currentRock)
ypos = 0.81
xscale = self.layer.drawing.widthf(pixelw = 200.000)*currentRock
yscale = -.25
rect = (0.0, currentRock, 0.25, 0.5)
failingoff = 1


[layer5]
texture = bars.png
xpos = 0.5
ypos = 0.75
xscale = layer.drawing.widthf(pixelw = 200.000)
yscale = -.25
rect = (0.0, 1.0, 0.5, 0.75)

[layer6]
texture = bars.png

[layer6:fx0]
type = power
xpos = 0.5-.15*(1-currentSP)
ypos = 0.75
xscale = self.layer.drawing.widthf(pixelw = 200.000)*currentSP
yscale = -.16667
rect = (0.0, currentSP, 0.75, 1.0)
failingoff = 1

[layer7]
texture = hud2back.png
xpos = 0.13
ypos = 0.5
xscale = layer.drawing.widthf(pixelw = 150.00)
yscale = -layer.drawing.widthf(pixelw = 150.000)

[layer8]
texture = hud2back.png
xpos = 0.87
ypos = 0.5
xscale = layer.drawing.widthf(pixelw = 150.000)
yscale = -layer.drawing.widthf(pixelw = 150.000)

[layer9]
texture = instruments.png
part = bass
xpos = 0.2
ypos = 0.8
xscale = layer.drawing.widthf(pixelw = 75.000)
yscale = -layer.drawing.widthf(pixelw = 75.000)*.25
rect = (0.0,1.0,.25,.5)

[layer10]
texture = instruments.png
part = drums
xpos = 0.2
ypos = 0.8
xscale = layer.drawing.widthf(pixelw = 75.000)
yscale = -layer.drawing.widthf(pixelw = 75.000)*.25
rect = (0.0,1.0,.5,.75)

[layer11]
texture = instruments.png
part = guitar
xpos = 0.2
ypos = 0.8
xscale = layer.drawing.widthf(pixelw = 75.000)
yscale = -layer.drawing.widthf(pixelw = 75.000)*.25
rect = (0.0,1.0,0.0,.25)

[layer12]
texture = instruments.png
part = vocal
xpos = 0.2
ypos = 0.8
xscale = layer.drawing.widthf(pixelw = 75.000)
yscale = -layer.drawing.widthf(pixelw = 75.000)*.25
rect = (0.0,1.0,.75,1.0)

[layer13]
text = power * 100
font = scoreFont
xpos = 0.5 - (wid*.5)
ypos = 0.15
replace = 0,O

[layer14]
text = "SP:"
font = scoreFont
xpos = 0.3
ypos = 0.15
replace = 0,O

[layer15]
text = "Rock"
font = scoreFont
xpos = 0.3
ypos = 0.09
replace = 0,O

[layer16]
text = score
font = scoreFont
xpos = 0.03
ypos = 0.375 - hgt*.5
replace = 0,O

[layer17]
text = "Score"
font = font
xpos = 0.13 - (wid*.5)
ypos = 0.32 - hgt*.5
replace = 0,O

[layer18]
text = "Streak"
font = font
xpos = 0.87 - (wid*.5)
ypos = 0.32 - hgt*.5
replace = 0,O

[layer19]
text = streak
font = scoreFont
xpos = 0.97 - wid
ypos = 0.375 - hgt*.5
replace = 0,O

[layer20]
texture = stargrey.png,starwhite.png
pos = .13, .25;.13, .25;.13, .25;.13, .25;.13, .25
scale = .35, -.35;.35, -.35;.35, -.35;.35, -.35;.35, -.35
isStars = True

[layer21]
texture = stargrey.png
filltype = circle
isPartialStars = True
pos = .13, .25;.13, .25;.13, .25;.13, .25;.13, .25
scale = .35, -.35;.35, -.35;.35, -.35;.35, -.35;.35, -.35
star_fillup_center_x = 139
star_fillup_center_y = 151
star_fillup_in_radius = 121
star_fillup_out_radius = 138
star_fillup_color = #FFF25E

[layer22]
text = stars
font = scoreFont
xpos = .13 - wid*.5
ypos = .55

[layer0:Image]
texture = hud.png
xscale = 280
yscale = 30
xpos = .5
ypos = .05

[layer1:Text]
text = "Score: %d" % score
font = loadingFont
xpos = 400
ypos = 0.15

[layer2:Text]
text = "%d Combo" % streak
font = loadingFont
xpos = 0.5
ypos = 0.70
alignment = center
condition = streak > 5

[layer3:Text]
text = "%dX" % multiplier
font = loadingFont
xpos = 0.6
ypos = 0.18
alignment = right

[layer4:Text]
text = "%d Stars" % stars
font = loadingFont
xpos = 0.5
ypos = 0.85

[layer5:Image]
texture = dots.png
xscale = .15
yscale = .15
xpos = 620
ypos = .75
alignment = right
rect = (0,1,0,.2)

[layer6:Image]
texture = dots.png
xpos = 620
ypos = .75
xscale = .15
yscale = .15
rect = (1.0 - (streak%10/10.0), 1, .2 + .2*(streak/10), .4 + .2*(streak/10))
alignment = right
condition = streak <= 40

[layer7:Image]
texture = dots.png
xscale = .15
yscale = .15
xpos = 620
ypos = .75
rect = (0, 1, .8, 1)
alignment = right
condition = streak >= 40

[layer8:Image]
texture = bars.png
xscale = 128
yscale = 24
xpos = 380
ypos = .7
rect = (0, 1, 0, .33)
alignment = left

[layer9:Image]
texture = bars.png
xscale = 128
yscale = 24
xpos = 380
ypos = .7
rect = (0, rock, .33, .67)
alignment = left

[layer10:Image]
texture = bars.png
xscale = 128
yscale = 24
xpos = 510
ypos = .7
rect = (0, 1, 0, .33)
alignment = left

[layer11:Image]
texture = bars.png
xscale = 128
yscale = 24
xpos = 510
ypos = .7
rect = (0, power, .67, 1)
alignment = left

Binary file modified data/themes/MegaLight V4/rockmeter/bars.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/themes/MegaLight V4/rockmeter/dotbase.png
Binary file not shown.
Binary file modified data/themes/MegaLight V4/rockmeter/dots.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file removed data/themes/MegaLight V4/rockmeter/hudback.png
Binary file not shown.

0 comments on commit 510b0ee

Please sign in to comment.