From 3423e4303fc61c1b9131b8709a6b95851e9459f1 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 30 Jul 2016 17:21:45 +0200 Subject: New font, 04font --- menu.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'menu.lua') 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 -- cgit v1.1