Zarkonnen
d4034fe244
Fixed hospital never occurring in city.
2013-07-10 15:10:43 +02:00
Zarkonnen
bb953de92b
Finished first version of medicine feature.
2013-07-10 12:53:28 +02:00
Andrew Ardill
255bdd68fc
world.js: Improve road drawing algorithm
...
Instead of drawing an 'L' shape road to the village, find the closest road,
outpost or village and draw the road to it. Care is taken to ensure that a
road is drawn if you are standing on top of an outpost, as the outpost may be
created before the tile it stands on is connected to the road network.
2013-07-10 20:52:18 +10:00
Andrew Ardill
26b955fee8
world.js: Increase functionality of getDistance
...
Allow passing 'from' and 'to' positions to getDistance to find the distance
between them.
2013-07-10 20:52:18 +10:00
Andrew Ardill
c4afe143a9
world.js: Introduce World.VILLAGE_POS
...
This constant gets reused in a few places, so extract it out. Work will be
required to migrate existing code away from hard coding World.RADIUS in places
where we are talking about the village location.
2013-07-10 20:52:18 +10:00
Andrew Ardill
b97f5d9914
world.js: Introduce function to copy positions
2013-07-10 20:52:17 +10:00
Michael Townsend
05fef5664d
Merge pull request #27 from toofarapart/fade_to_black
...
(SPOILERS) A nice fade to black...
2013-07-09 19:47:45 -07:00
Michael Townsend
f56697d9d0
Merge pull request #25 from toofarapart/persistent_stores_view
...
Stores panel now persists on all non-world/non-space views.
2013-07-08 14:25:20 -07:00
Matt Rasmus
eaf2fcdfbb
Keep showing the weapons panel while in the Path screen.
2013-07-08 13:58:16 -07:00
Matt Rasmus
de2ad91053
Weapons panel hides when not in Room.
2013-07-08 13:10:49 -07:00
Michael Townsend
b8dd1125d4
Merge pull request #21 from Zarkonnen/master
...
Converted zero/max buttons to +-10 buttons
2013-07-08 12:45:01 -07:00
Zarkonnen
4334f36e57
Bugfixes.
2013-07-08 21:39:28 +02:00
Zarkonnen
4641b0b145
Initial medicine implementation. Needs more events.
2013-07-08 19:16:16 +02:00
Matt Rasmus
0b6144660f
Fixed a bug in which the share/restart buttons would disappear in certain situations.
2013-07-07 13:25:30 -07:00
Matt Rasmus
4326b2aa2a
Game fades to black at the end, and stays that way until the player clicks restart.
2013-07-07 11:41:51 -07:00
Michael Townsend
54cea31db9
Merge pull request #26 from dhutty/patch-1
...
spelling
2013-07-07 09:09:42 -07:00
Michael Townsend
53ff72d218
Merge pull request #24 from jvantuyl/master
...
a grammar fix
2013-07-07 09:07:38 -07:00
dhutty
aeedc5d10c
spelling
2013-07-07 10:18:59 -04:00
Matt Rasmus
8dabee851d
Stores panel now persists on all non-world/non-space views.
2013-07-06 14:56:27 -07:00
Jayson Vantuyl
536f09dce3
a grammar fix
...
"bundle of sticks", not "bundle of stick"
2013-07-06 13:53:33 -07:00
Michael Townsend
12258689e8
Merge pull request #22 from engstrom/master
...
Moved EatMeatButton to beginning of combat UI
2013-07-06 09:53:24 -07:00
Michael Townsend
95fddcbb2c
Merge pull request #20 from evilDave/swipes
...
Added swipe support
2013-07-06 09:51:54 -07:00
Jayson Vantuyl
b14ad39c5a
minor spelling fix
2013-07-05 23:43:43 -07:00
engstrom
fa655aef1c
Moved EatMeatButton to beginning of combat UI
2013-07-05 18:41:22 -06:00
David Clark
e9679b3f26
Add swipe support. Modules can implement swipeLeft (etc). Swipes control movement in the World module (map).
2013-07-05 22:36:49 +10:00
Zarkonnen
ae044376db
Converted min/max buttons to +-10 buttons. Also made code shorter.
2013-07-05 13:47:23 +02:00
Michael Townsend
98719ccf0c
Merge pull request #13 from Zarkonnen/master
...
Max/zero buttons
2013-07-04 07:50:07 -07:00
Michael Townsend
6a7df4d17c
Fixed non-combat meat eating
2013-07-04 07:28:19 -07:00
Zarkonnen
6d99cb7c3a
Added max/zero buttons to worker assignment and expedition supply packing to prevent eg having to click 50x to fill food supplies.
2013-07-04 16:15:29 +02:00
Michael Townsend
cab220a5ac
Merge pull request #10 from dmnd/master
...
Add an 'eat meat' button to the loot screen
2013-07-04 06:59:09 -07:00
Desmond Brand
a86c61aaf0
Add an 'eat meat' button to the loot screen
...
When I played this, I would often madly try to click the 'eat meat' button
after I won a fight, only to have the 'leave' button appear in its place,
causing me to lose my chance at both healing and looting.
This patch adds an 'eat meat' button to the loot screen to avoid this UI
problem.
2013-07-04 02:56:54 -07:00
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
19abccfcc4
Adding ADR to Github
2013-07-03 07:56:13 -07:00