Mods, guides how to use and install mods go right in here.
-
aerhx
- Posts: 51
- Joined: 02 Apr 2012, 00:13
-
Contact:
Post
» 07 Apr 2012, 16:50
I'm working on a mod, and I need to add a new key, where do I do this?
/me fails
-
trosh
- Posts: 1594
- Joined: 03 Feb 2012, 08:36
Post
» 07 Apr 2012, 17:01
it depends on what the key does. I didn't check in a while but some love.keyboard.isDown(key) checks are made in game.lua, and some in menu.lua I think. These should be made in a love.update() context of course.
-
Camewel
- Posts: 2996
- Joined: 02 Feb 2012, 21:32
Post
» 07 Apr 2012, 19:45
Just search for all instances of "run" and you'll find the appropriate places.