BUMP - an input library

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

BUMP - an input library

Post 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 230 times
BUMPtest (example):
BUMPtest.love
0.5
(3.47 KiB) Downloaded 264 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)!
Last edited by bartbes on Fri May 22, 2009 1:14 pm, edited 2 times in total.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: BUMP - an input library

Post by thelinx »

bump
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: BUMP - an input library

Post by bartbes »

:ehem:
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: BUMP - an input library

Post 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.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Flesh Gregor
Prole
Posts: 9
Joined: Thu May 07, 2009 9:30 pm

Re: BUMP - an input library

Post by Flesh Gregor »

wut?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: BUMP - an input library

Post 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?
User avatar
Flesh Gregor
Prole
Posts: 9
Joined: Thu May 07, 2009 9:30 pm

Re: BUMP - an input library

Post by Flesh Gregor »

sorry, my post was directed at qubodup, I didn't get what was funny, it all seemed fairly straightforward.
Post Reply

Who is online

Users browsing this forum: rabbitboots and 134 guests