Showcase your libraries, tools and other projects that help your fellow love users.
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Sun Sep 08, 2013 6:04 pm
OOhh YEAH !!!
Finaly someone fixed that, AWESOME
setKeyRepeat ? I didn't even knew that that command existed, I think that wasn't fixed because no one really knew how to do it xP
But finally it is FIXED ! Thank you so much man
Changelog
Version 1.2.5 (Not Official) by Eamonn
We now have repetitive keyboard behavior, AWESOME
Version 1.2.4 (Not Official) by Ranguna259
Added a new functionality that jumps you to the last output in the conole when you provide a command
Version 1.2.3 (Not Official) by Walz.
Version 1.2.2 (Not Official) by Ranguna259
Added a new functionality that enables you to jump right to the bottom of the console by pressing the middle mouse button.
Version 1.2.1 (Not Official) by Qcode
Added a new functionality that autocompletes the variable to the current proposal by pressing tab
Version 1.2 (Not Official) by Qcode
Added a new functionality that enables you to change the 'f8' key to what you want by changing the _lovedebugpresskey='the key you want'
Version 1.1.5
Added Shift + F8 console opening, the old one still remains (Thank you miko)
Everything except for settings (which has its own global table) is now put into the local table _Debug (Thank you tentus)
Version 1.1
Fixed the console to be hidden at the start
Added _OverlayColor to global settings (see _Settings() for a list of settings) Changed location as of 1.1.5 to _DebugSettings.Settings()
Version 1.0
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
bekey
Party member
Posts: 255 Joined: Tue Sep 03, 2013 6:27 pm
Post
by bekey » Sun Sep 08, 2013 7:59 pm
-snip-
Last edited by
bekey on Fri Jan 24, 2014 2:14 am, edited 1 time in total.
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Mon Sep 09, 2013 1:06 am
Try putting the very first line of code in the lovedebug to comments (add "--" at the beginning of the line) and try it again.
to
Code: Select all
--love.keyboard.setKeyRepeat(true)
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
bekey
Party member
Posts: 255 Joined: Tue Sep 03, 2013 6:27 pm
Post
by bekey » Mon Sep 09, 2013 11:44 am
-snip-
Last edited by
bekey on Fri Jan 24, 2014 2:14 am, edited 1 time in total.
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Mon Sep 09, 2013 1:55 pm
Are you sure it's this console that's causing the problem ? Try removing it and test your game
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
bekey
Party member
Posts: 255 Joined: Tue Sep 03, 2013 6:27 pm
Post
by bekey » Mon Sep 09, 2013 4:17 pm
-snip-
Last edited by
bekey on Fri Jan 24, 2014 2:14 am, edited 1 time in total.
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Mon Sep 09, 2013 4:34 pm
This is fucked up, but I hereby contribute the next version:
Changelog
Version 1.2.6 (Not Official) by Robin
Removes keyRepeat, because that shit's evil.
Fixes "double click" bug.
Fixes indentation.
Version 1.2.5 (Not Official) by Eamonn
We now have repetitive keyboard behavior, AWESOME
Version 1.2.4 (Not Official) by Ranguna259
Added a new functionality that jumps you to the last output in the conole when you provide a command
Version 1.2.3 (Not Official) by Walz.
Version 1.2.2 (Not Official) by Ranguna259
Added a new functionality that enables you to jump right to the bottom of the console by pressing the middle mouse button.
Version 1.2.1 (Not Official) by Qcode
Fixed some bugs
Added a new functionality that autocompletes the variable to the current proposal by pressing tab
Version 1.2 (Not Official) by Qcode
Converted to LÖVE 0.8.0
Added a new functionality that enables you to change the 'f8' key to what you want by changing the _lovedebugpresskey='the key you want'
Version 1.1.5
Added Shift + F8 console opening, the old one still remains (Thank you miko)
Everything except for settings (which has its own global table) is now put into the local table _Debug (Thank you tentus)
Version 1.1
Fixed the console to be hidden at the start
Added _OverlayColor to global settings (see _Settings() for a list of settings) Changed location as of 1.1.5 to _DebugSettings.Settings()
Version 1.0
Attachments
lovedebug.lua
(12.66 KiB) Downloaded 125 times
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Mon Sep 09, 2013 4:58 pm
Aww, is it really that evil ? because it's kinda needed, it's a pain the need to repeatedly press the backspace button and the arrow keys
Ah so that was the problem, I wonder what that part of the code was doing there.
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Mon Sep 09, 2013 5:25 pm
Ranguna259 wrote: Aww, is it really that evil ? because it's kinda needed, it's a pain the need to repeatedly press the backspace button and the arrow keys
You can enable it in the game itself, but it seems like a really bad idea to enable it in lovedebug, because you're gonna get really strange bugs if you depend on keyRepeat being off in your game, without realising it.
If you really want it, you could whip up a simulation of keyRepeat by using love.keyboard.isDown and a timer. That way it won't interfere with the game.
Ranguna259
Party member
Posts: 911 Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you
Post
by Ranguna259 » Mon Sep 09, 2013 5:34 pm
isDown and a timer ? Would that work with the current Debug code ?
LoveDebug - A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping
Check out my
twitter .
Users browsing this forum: No registered users and 1 guest