summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-21 01:21:42 +0200
committerAki <nthirtyone@gmail.com>2016-05-21 01:21:42 +0200
commita828872e5160bbc657c106b4b349c14b671498ba (patch)
tree923fa51d637901f8ae3d735c3c1a8742873493a7 /main.lua
parent01eb227519733ce149035955b1f2ede80102496a (diff)
downloadroflnauts-a828872e5160bbc657c106b4b349c14b671498ba.zip
roflnauts-a828872e5160bbc657c106b4b349c14b671498ba.tar.gz
roflnauts-a828872e5160bbc657c106b4b349c14b671498ba.tar.bz2
First move into portraits and HUD
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index 161c274..354b8ef 100644
--- a/main.lua
+++ b/main.lua
@@ -23,11 +23,10 @@ function love.load ()
w:createPlatform(290/2+140, 180/2+50, {-26,1, 26,1, 26,30, -26,30}, "assets/platform_small.png")
w:createPlatform(290/2-140, 180/2+50, {-26,1, 26,1, 26,30, -26,30}, "assets/platform_small.png")
w:createPlatform(290/2, 180/2-50, {-17,1, 17,1, 17,16, -17,16}, "assets/platform_top.png")
- w:createNaut(290/2-10, 180/2 - 80, "assets/leon.png")
- w:createNaut(290/2+10, 180/2 - 80, "assets/lonestar.png")
+ w:createNaut(290/2-10, 180/2 - 80, "leon")
+ w:createNaut(290/2+10, 180/2 - 80, "lonestar")
-- Temporary settings for second player
- w.Nauts[2].name = "Player2"
w.Nauts[2].key_left = "a"
w.Nauts[2].key_right = "d"
w.Nauts[2].key_up = "w"