Commit Graph

827 Commits

Author SHA1 Message Date
0673747e5e Move UI controls to the right side of the window for smaller screens 2014-06-27 23:24:46 -07:00
63269c5bd0 nearestWalkableTile would sometimes return Number() members and not Int 2014-06-27 23:21:35 -07:00
30ecceaf1e Playing with the light values 2014-06-27 23:01:31 -07:00
cc25f7ca0c Close #13 : Brightness of the map now follows the clock 2014-06-27 22:46:34 -07:00
429e4398f5 Close #12 : UI now shows a timer that counts from 8 pm to 5 am 2014-06-27 21:41:57 -07:00
9709a87fb0 AI returns to their origin when they cant move and are in wandering state. AI gets their facing state from the map. Guards can re-encounter you while traveling back to the origin. 2014-06-27 18:04:34 -07:00
6873a1ba53 Removed phaser build, I only needed the minified js 2014-06-27 08:18:10 -07:00
0bf03be51d Reorganize index page, turn off drawing view and path rectangles 2014-06-26 23:47:07 -07:00
a1fb550c64 Close #3 : Hunt / Search behavior works as expected 2014-06-26 23:39:32 -07:00
4f8a09581d Added audio and brightness controls, also added some crappy UI graphics to the index page 2014-06-26 21:55:58 -07:00
b1587926ab #3 : Hunting behavior partially implemented, character wanders around inside a box looking for the player. Needs to stop/turn, and for some reason the state never ends. 2014-06-26 07:54:27 -07:00
26c0ceb1ed Fix #25 (for real this time) 2014-06-26 07:50:16 -07:00
4e5ec4b0ae AI Sprite's path_tween speed should match their movement state for that tween 2014-06-26 07:39:52 -07:00
76b4cfd1bd AISprite turn faster or slower in turnUnseenDirection depending on state 2014-06-26 07:22:15 -07:00
5ac3159e38 Refactor away from '== null' checks towards isSet 2014-06-26 07:15:38 -07:00
e0f236c5c0 Refactored a little, AISprites now keep track of where their state changed 2014-06-26 07:05:10 -07:00
b90869a0b5 Close #25 : Fix out of bounds on gridWithAISpriets 2014-06-25 21:56:10 -07:00
ed070b360e Close #19 : Player lightmeter bases off the ambient light of the world 2014-06-25 07:56:22 -07:00
d3b178176d Moved index_debug to index 2014-06-22 17:38:41 -07:00
ef7415e108 jquery was missing 2014-06-22 17:36:01 -07:00
d6bbf4b074 Add a mob to the map 2014-06-22 17:25:07 -07:00
2bb7344305 Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:52:12 -07:00
d6dc3bffe4 Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:45:27 -07:00
b11491400f Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:44:24 -07:00
f7aac0b3ea Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:41:42 -07:00
4d88653a06 Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:38:18 -07:00
a6fcc6f0c2 Reporting townspeople should send the guard to the player's last known locatio n - more than once 2014-06-22 16:37:32 -07:00
16374a312b Reporting townspeople should send the guard to the player's last known location 2014-06-22 14:05:55 -07:00
cd12fb4320 Reporting townspeople should send the guard to the player's last known location 2014-06-22 14:04:47 -07:00
97b0b89dce Reporting townspeople should send the guard to the player's last known location 2014-06-22 14:03:43 -07:00
22cbd2849a Face a random direction when you stop at a light 2014-06-22 13:54:53 -07:00
e8d61086ef Face a random direction when you stop at a light 2014-06-22 13:53:50 -07:00
74e9931bba Face a random direction when you stop at a light 2014-06-22 13:51:55 -07:00
f619134b64 Face a random direction when you stop at a light 2014-06-22 13:50:50 -07:00
9591646aa0 Pathfind AROUND AISprites instead of through them 2014-06-22 13:41:58 -07:00
b75ec6d5a5 Reset target to null when you lose someone 2014-06-22 13:32:23 -07:00
0f47a31988 Reset target to null when you lose someone 2014-06-22 13:29:45 -07:00
801b50bf16 Pathfind AROUND AISprites instead of through them 2014-06-22 13:26:29 -07:00
cc03e96970 People keep chasing the guards even after touching the light - busted logic re: seeing the target 2014-06-22 12:21:52 -07:00
e9bcefcff6 People keep chasing the guards even after touching the light - fix bad checks for undefined 2014-06-22 11:57:58 -07:00
1298489935 People keep chasing the guards even after touching the light 2014-06-22 11:53:01 -07:00
e1130e0c84 People keep chasing the guards even after touching the light 2014-06-22 11:51:21 -07:00
1e2424e427 People keep chasing the guards even after touching the light 2014-06-22 11:46:18 -07:00
664a14d192 People keep chasing the guards even after touching the light 2014-06-22 11:44:12 -07:00
f0446cb164 Guards don't contact the player anymore and people continue chasing the guards 2014-06-22 11:30:55 -07:00
6feaad410e Guards don't contact the player anymore and people continue chasing the guards 2014-06-22 10:55:30 -07:00
9680208556 Guards don't contact the player anymore and people continue chasing the guards 2014-06-22 10:52:48 -07:00
30d5906129 Guards don't contact the player anymore and people continue chasing the guards 2014-06-22 10:51:09 -07:00
898b6f4885 Guards don't contact the player anymore and people continue chasing the guards 2014-06-22 10:48:00 -07:00
967a5a85a2 Fixed lingering static references to tiles in map.json 2014-06-22 10:34:42 -07:00