Change controls
Is there any easy to change the controls for the player2? i don't have numpad. if not how to change the code?
I'm on ubuntu, and i don't really care if i have to change the .lua files, i just don't know howCamewel wrote:If you're on a mac, ControllerMate is really useful here.
Otherwise, I have no idea.
get the source, copy not_tetris_2.love (or whatever) to not_tetris_2.zip
extract that into an existing folder.
Edit the main.lua file, the love.keypressed function starts at line 751 I think.
You could use geany. Set execute command as and press F5 if you want to test.
EDIT : ok actually i think you'll have to look at gameBmulti.lua instead. main.lua only takes keypresses for menus.
Man does not tetris's code look 10x cleaner and shorter than mari0's.
extract that into an existing folder.
Edit the main.lua file, the love.keypressed function starts at line 751 I think.
You could use geany. Set execute command as
Code: Select all
love .
EDIT : ok actually i think you'll have to look at gameBmulti.lua instead. main.lua only takes keypresses for menus.
Man does not tetris's code look 10x cleaner and shorter than mari0's.
-
- Posts: 1
- Joined: 16 Mar 2012, 19:40
May I suggest to change the "erase data" button from backspace, to anything which is farther from return/enter, becouse i have erased my datas 2 times by accident so far.
It is kind of annoying to finally score 15000+ and delete it by pushing a wrong button
It is kind of annoying to finally score 15000+ and delete it by pushing a wrong button