Reactive Extensions for LÖVE
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
dragAndDrop.lua
pong.lua
rx-love.lua
rxlove-0.0.1-1.rockspec

README.md

RxLove

Turn Love2D events into reactive streams:

require 'rx'
require 'rx-love'

love.keypressed
  :filter(function(key) return key == ' ' end)
  :subscribe(function()
    print('You pressed the space bar')
  end)

See dragAndDrop.lua and pong.lua for more examples. Requires RxLua. See Reactive Extensions for more info.

License

MIT, see LICENSE for details.