Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Ardill 6fb7f248f7 world.js: Trigger movement with clicks on the map
Clicking on the map in different quadrants will move you in that direction.
Clicks are measured relative to the centre of the current location centre of
the map. Click above the player to move up, click below to move down etc.

This should enable better gameplay on touch devices.
2013-07-04 16:13:30 +10:00
Andrew Ardill d0a171e95b world.js: Refactor move commands out of keyDown
In order to better handle move commands, refactor them out of the keyDown
event handler. This will enable using other input methods to trigger a move
command, such as mouse clicks or touch events.
2013-07-04 14:49:21 +10:00
Michael Townsend 9327358008 Merge pull request #1 from daturkel/patch-1
Added a note to mobileWarning about arrow keys
2013-07-03 10:46:45 -07:00
Dan Turkel a37bb40c81 Added a note to mobileWarning about arrow keys
An HN commenter noted that he ignored the mobilewarning and tried the game and found it worked. That is, until he got to the Embark stage and found himself arrow key-less. This warning is slightly more verbose to avoid similar situations.
2013-07-03 13:44:45 -04:00
Michael Townsend 19abccfcc4 Adding ADR to Github 1.2 2013-07-03 07:56:13 -07:00
Michael Townsend 9616c79816 Create LICENSE.md 2013-07-03 10:38:16 -04:00
Michael Townsend 2bb3dfb9fb Create README.md 2013-07-03 10:32:07 -04:00