summaryrefslogtreecommitdiffhomepage
path: root/menu.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-07-30 17:21:45 +0200
committerAki <nthirtyone@gmail.com>2016-07-30 17:21:45 +0200
commit3423e4303fc61c1b9131b8709a6b95851e9459f1 (patch)
tree3162f53775c9bf52e9df97955391ad995d42927f /menu.lua
parent1657ac4ddb5e223dd492d13d13fb114c232b7271 (diff)
downloadroflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.zip
roflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.tar.gz
roflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.tar.bz2
New font, 04font
Diffstat (limited to 'menu.lua')
-rw-r--r--menu.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/menu.lua b/menu.lua
index e315ed4..597415f 100644
--- a/menu.lua
+++ b/menu.lua
@@ -130,7 +130,7 @@ function Menu:draw()
love.graphics.printf("ROFLNAUTS2",(w/2)*scale,(32+dy)*scale,336,"center",(angle*5)*math.pi/180,scale,scale,168,12)
-- footer
love.graphics.setFont(Font)
- love.graphics.printf("Use W,S,A,D,G,H or Arrows,Enter,Rshift or Gamepad\n\nA game by Awesomenauts Community\nSeltzy, ParaDoX, MilkingChicken, Burningdillo, Bronkey, Aki\nBased on a game by Jan Willem Nijman, Paul Veer and Bits_Beats XOXO", (w/2)*scale, (h-42)*scale, 336, "center", 0, scale, scale, 168, 4)
+ love.graphics.printf("Use W,S,A,D,G,H or Arrows,Enter,Rshift or Gamepad\n\nA game by Awesomenauts Community\nSeltzy, ParaDoX, MilkingChicken, Burningdillo, Bronkey, Aki, 04font\nBased on a game by Jan Willem Nijman, Paul Veer and Bits_Beats XOXO", (w/2)*scale, (h-42)*scale, 336, "center", 0, scale, scale, 168, 4)
end
-- Upadte
@@ -186,12 +186,18 @@ function Menu:assignController(controller)
end
function Menu:controllerPressed(control, controller)
+ -- assign to character selection
if control == "attack" then
local selector = self:getSelectorsInactive()[1]
if selector ~= nil then
selector:assignController(controller)
end
end
+ -- map selection chaos!
+ if control == "left" then
+ end
+ if control == "right" then
+ end
end
-- It just must be here