kikito/tween.lua

Issue when running demo

DigitalSolomon opened this issue · 3 comments

I get the following error when I attempt to run the demo project. I'm on macOS High Sierra 10.13.6 using Love 11.2

Error

main.lua:73: Invalid key constant:

Traceback

[C]: in function 'isDown'
main.lua:73: in function 'update'
[C]: in function 'xpcall'

The Terminal provides this as output:

Error: main.lua:73: Invalid key constant:
stack traceback:
[string "boot.lua"]:637: in function <[string "boot.lua"]:633>
[C]: in function 'isDown'
main.lua:73: in function 'update'
[string "boot.lua"]:509: in function <[string "boot.lua"]:493>
[C]: in function 'xpcall'

Somewhere over the years since this library has been last updated love changed a few key constants. Space (previously ' ') is now space. Change it accordingly on the reported line and it should work.

I got it running in #19.