Permalink
Browse files

F11 info, KERNING KERNING KERNING

  • Loading branch information...
mbs6597 committed Mar 17, 2012
1 parent 89fdd52 commit 3e17cc74e6a07e2760741e536adab566217b3b60
View
@@ -2,7 +2,7 @@ local makeMode = function()
local mode = {
static = false,
i = 1,
- baseTime = 1.5,
+ baseTime = 2,
modTime = 1,
games = {},
@@ -46,7 +46,7 @@ local makeMode = function()
end,
setResults = function(self, res)
- self.i = math.random(#self.games)--(self.i % #self.games)+1
+ self.i = math.random(#self.games*100)%#self.games+1
self.static = not self.static
end,
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -59,6 +59,7 @@ local initState = function()
base.keytime = 0
base.keyed = false
base.key = ""
+ base.keyaccel = 0
base.nselected = 0
@@ -109,13 +110,17 @@ local initState = function()
local color = self.nselected==0 and 60 or 255
love.graphics.setColor(color,color,color)
- love.graphics.print("PRESS ENTER TO CONTINUE", 15, ny+50)
+ love.graphics.print("Press Enter To Continue", 15, ny+50)
+ love.graphics.setColor(255,255,255)
+ love.graphics.print("Press F11 for Fullscreen", love.graphics.getWidth()/2, ny+50)
end
base.keypressed = function(self, key)
self.keyed = true
self.key = key
- self.keytime = keyrep
+ self.keytime = keyrep-self.keyaccel
+ self.keyaccel = self.keyaccel +0.01
+ if self.keyaccel >0.1 then self.keyaccel = 0.1 end
if key == 'up' then
self.currentPosition = ((self.currentPosition -2) % #self.listOfGames)+1
@@ -154,6 +159,7 @@ local initState = function()
base.keyreleased = function(self, key)
self.keyed = false
+ self.keyaccel = 0
end
framework.mode = framework.modes.chooser
View
@@ -13,7 +13,8 @@ listOfGames = {
"waste the ink",
"WaveAtTheTour",
"jet pack man",
- 'gun or umbrella'
+ 'gun or umbrella',
+ "fix the kerning"
}
return listOfGames

0 comments on commit 3e17cc7

Please sign in to comment.