Search found 3 matches
- Sun May 21, 2017 11:10 am
- Forum: Support and Development
- Topic: How to use function love.keyreleased(key) in another lua file
- Replies: 4
- Views: 4207
Re: How to use function love.keyreleased(key) in another lua file
Thanks your help.I have understood it.
- Sat May 20, 2017 11:14 am
- Forum: Support and Development
- Topic: How to use function love.keyreleased(key) in another lua file
- Replies: 4
- Views: 4207
Re: How to use function love.keyreleased(key) in another lua file
thank u!You are really friendly. I know how to do this from your codes. If i want to use it in three lua file,should i have three different functions in different lua file to use it? eg: function my_keyhandlerone(key) print("key released:", key) end function my_keyhandlertwo(key) print(&qu...
- Sat May 20, 2017 5:45 am
- Forum: Support and Development
- Topic: How to use function love.keyreleased(key) in another lua file
- Replies: 4
- Views: 4207
How to use function love.keyreleased(key) in another lua file
I wanna use the love.keyreleased(key) in another lua file and require it in main.lua .
But when i do this, the love.keyreleased(key) of main.lua become unuseable.
Have any idea to solve this problem? I need some help.
But when i do this, the love.keyreleased(key) of main.lua become unuseable.
Have any idea to solve this problem? I need some help.