Skip to content

bjornbytes/RxLove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages