Page 1 of 1

BUMP - an input library

Posted: Fri May 22, 2009 11:48 am
by bartbes
BUMP's goal is to greatly simplify keymapping, both for end-users and developers, if you want to see how, check out the example.

BUMP:
BUMP.lua
0.5
22 May 2009
(4.35 KiB) Downloaded 240 times
BUMPtest (example):
BUMPtest.love
0.5
(3.47 KiB) Downloaded 275 times
Be sure to check out the keymap in BUMPtest.
If you think you understand, make the X axis of the mouse update the value x as well. (HINT: like the joystick) WAIT WHAT?! It works?!

KNOWN BUGS:
  • Inconsistencies in handling of axes
  • Mouse movements are not scaled 0-1
Comments are planned, not yet added.
New releases on request (or when I get inspiration).

Have fun coding (and playing, of course)!

Re: BUMP - an input library

Posted: Fri May 22, 2009 11:49 am
by thelinx
bump

Re: BUMP - an input library

Posted: Fri May 22, 2009 11:50 am
by bartbes
:ehem:

Re: BUMP - an input library

Posted: Fri May 22, 2009 4:57 pm
by qubodup
bartbes wrote:
TheLinx wrote:
bartbes wrote:BUMP
bump
:ehem:
LOLOLOLOLOLOL

So what is BUMPTEST supposed to do? It freezes when I press enter I think and goes to lua_debug... Might have to do with the audio trouble I have had of late since starting using pulseaudio though.

Re: BUMP - an input library

Posted: Fri May 22, 2009 5:26 pm
by Flesh Gregor
wut?

Re: BUMP - an input library

Posted: Fri May 22, 2009 5:29 pm
by bartbes
qubodup wrote:So what is BUMPTEST supposed to do? It freezes when I press enter I think and goes to lua_debug... Might have to do with the audio trouble I have had of late since starting using pulseaudio though.
It doesn't freeze when you press enter (or at least, it shouldn't), and it should go to debug when you press d, however if your keycodes are messed up (possible, of course) enter "cont" in the lua_debug console. To see what it's supposed to do (not much, I'm afraid) check the keymap. X is controlled by joystick and mouse.

EDIT: @Flesh Gregor: what do you want to know?

Re: BUMP - an input library

Posted: Sat May 23, 2009 8:50 pm
by Flesh Gregor
sorry, my post was directed at qubodup, I didn't get what was funny, it all seemed fairly straightforward.