Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

Reactive Extensions for LÖVE

Resources

License

Packages

No packages published

Languages