Not that I know of. But why couldn't you just use Love itself AS the key logger? In the corner of my code it even displays how many times space has been pressed.
B.T.W.: If you end up using my code you can press delete to clear all of the text if you don't want to press backspace a bunch.
Search found 1154 matches
- Wed May 08, 2013 3:36 am
- Forum: General
- Topic: help with the focus function
- Replies: 17
- Views: 6837
- Wed May 08, 2013 12:55 am
- Forum: Games and Creations
- Topic: Slime Ball
- Replies: 35
- Views: 19908
Re: Slime Ball
Never mind. Now it works for some reason...
Do you mind telling me how you did that?
Do you mind telling me how you did that?
- Wed May 08, 2013 12:34 am
- Forum: Games and Creations
- Topic: Slime Ball
- Replies: 35
- Views: 19908
Re: Slime Ball
I could do some investigation if you'd like. Just tell me where to look!
- Wed May 08, 2013 12:33 am
- Forum: General
- Topic: help with the focus function
- Replies: 17
- Views: 6837
Re: help with the focus function
Okay, since I gave you such a bad first answer (sorry about that :P ) I felt obliged to put more thought into it... And I thought: why not have the program act as where they log the translation? So I put some thought into it, and came up with this: function love.load() love.graphics.setBackgroundCol...
- Wed May 08, 2013 12:19 am
- Forum: Games and Creations
- Topic: Slime Ball
- Replies: 35
- Views: 19908
Re: Slime Ball
I honestly have no idea. It just wasn't displaying it. I didn't look into it too much.
- Tue May 07, 2013 9:46 pm
- Forum: Support and Development
- Topic: Player collision (with other player)???
- Replies: 8
- Views: 2995
Re: Player collision (with other player)???
2 questions: 1) Wow, did that actually work? 2) I used a for loop, by making a table/array/whateveryouwanttocallit for each player. This stores each player's individual x and y positions and should update it when they move. By the way, #[insert name here] gives the length of the table. In the player...
- Tue May 07, 2013 6:54 pm
- Forum: Support and Development
- Topic: Player collision (with other player)???
- Replies: 8
- Views: 2995
Re: Player collision (with other player)???
I know that this is supposed to be a simple game, but have you investigated using for loops ? They could help you out in harder codes later on... shoot.lua player = {} num_of_players = 0 function player:draw() for i = 0, #player do love.graphics.rectangle( "fill", player[i].x, player[i].y,...
- Tue May 07, 2013 5:57 pm
- Forum: Games and Creations
- Topic: Slime Ball
- Replies: 35
- Views: 19908
Re: Slime Ball
For some reason mine doesn't store the high scores... Otherwise a great game! Um, did you get the newest update? I fixed the highscore table. I see your most recent update was as of April 25th. I played it on May 5th, and it did not work. Maybe it's just a problem with my computer, since I have a w...
- Mon May 06, 2013 8:54 pm
- Forum: General
- Topic: help with the focus function
- Replies: 17
- Views: 6837
Re: help with the focus function
yes i have that function, and when it runs then it will only count the space bar only when the program in focus. i want the program to run i the back gound. When the program is done it should count the number of times one hits a key (or if i can a word) and then print the amout of times its pushed....
- Mon May 06, 2013 2:53 am
- Forum: General
- Topic: help with the focus function
- Replies: 17
- Views: 6837
Re: help with the focus function
A couple things: 1) Have you examined putting a love.focus in your main.lua ? function love.focus(bool) --Run if mouse goes in or out of window end What this does is checks if your mouse is in or out of the window. (Bool is short for boolean, a true or false conditional. See more here: http://en.wik...