hawkthorne / hawkthorne-journey

Digital Estate Planning: The Game
https://projecthawkthorne.com
1.09k stars 454 forks source link

Update inputcontroller to LÖVE >0.9.2 space key #2562

Closed skovsgaard closed 8 years ago

skovsgaard commented 8 years ago

As of LÖVE 0.9.2, the KeyConstant for spacebar is no longer " " but "space".

This was causing a fresh boot of the game to not register spacebar inputs on Linux (tested from Fedora 24 with LÖVE 0.10.0).

A workaround was to reset the controls from the controls menu. This just isn't very obvious as the controls menu already says "space/enter" for jump, even when space is unresponsive.

I figured since Hawkthorne targets LÖVE 0.10.0, it would be fitting to upgrade to the new space constant.

8bitgentleman commented 8 years ago

I don't use Fedora but this worked find on Ubuntu 16.04. If no one has any objections I say go ahead and merge.