Alexander Yakovlev
c83bb0f8d6
Merge branch 'master' into 1.5
2016-09-26 11:58:58 +07:00
Alexander Yakovlev
7948ce94b5
Automated testing for rooms and units
2016-09-26 11:58:32 +07:00
Alexander Yakovlev
07201b4f79
Don't push the tests to NPM
2016-09-26 11:49:08 +07:00
Alexander Yakovlev
5caaa22220
Functional testing
2016-09-26 11:48:27 +07:00
Alexander Yakovlev
6788157334
Location check, master onClick merge
2016-09-26 11:46:51 +07:00
Alexander Yakovlev
06cbd1ce23
[Merge] Support theming for erase and save links
...
Theming is when you switch the page layout completely, destoying the
blocks. So this way you still can have save and restart buttons.
2016-09-23 15:22:49 +07:00
Alexander Yakovlev
439ddaa679
Save and restart clicks now support theming.
2016-09-23 10:31:59 +07:00
Alexander Yakovlev
65f8efb986
DRY code cleanup
2016-09-21 20:22:55 +07:00
Alexander Yakovlev
7a00f4db62
Changed the view constructor
2016-09-21 19:30:17 +07:00
Alexander Yakovlev
2886a53a4d
More buggy code! Tested in JsFiddle: it works.
2016-09-21 19:06:26 +07:00
Alexander Yakovlev
2ac3b085f7
More animation fixes
...
It's not working in one of the games, so I can't ship it yet.
2016-09-20 22:53:27 +07:00
Alexander Yakovlev
e8c7255a70
Animations!
2016-09-20 22:04:25 +07:00
Alexander Yakovlev
205d9f66db
New animation code WIP
2016-09-20 15:19:07 +07:00
Alexander Yakovlev
a1a1469c51
Many fixes
...
- No querying scroll animations anymore
- The module is minified into ES5 now
- Fixed the transient Markdown-style links (see undum)
- Fixed the scrolling
- The choices in writeChoices() now correctly get the index to l()
localizing function
2016-09-19 22:15:16 +07:00
Alexander Yakovlev
23e2be646f
Removed the pathfinding and pictureTag from core
2016-09-16 19:57:45 +07:00
Alexander Yakovlev
375ee4c0f8
Bug fixes in canExit and inventory drop()
2016-09-16 19:15:28 +07:00
Alexander Yakovlev
0a259527e4
Fixed the diceString method in RNG.
2016-09-16 17:06:40 +07:00
Alexander Yakovlev
eb1f8df89a
Renamed $ to jQuery for compatibility
2016-09-16 15:50:13 +07:00
Alexander Yakovlev
d948536f64
Fixed the canExit flag.
2016-09-16 15:02:27 +07:00
Alexander Yakovlev
5ff4550c22
Proper changing rooms
2016-09-16 14:30:04 +07:00
Alexander Yakovlev
dcec69177a
Separated the supporting functions into a new file
2016-09-16 14:07:21 +07:00
Alexander Yakovlev
5788fc9ffd
Alternate error message + preliminary room check
2016-09-13 12:45:40 +07:00
Alexander Yakovlev
f17d6ba476
Don't save actions inside rooms we don't save in
2016-09-12 16:22:50 +07:00
Alexander Yakovlev
5403c65167
Lots of small fixes, mostly in loading
2016-09-12 14:42:59 +07:00
Alexander Yakovlev
784ca8609f
JS minification using closure-compiler
...
The compiler should be in your PATH.
2016-09-12 12:23:18 +07:00
Alexander Yakovlev
faf0797b21
typo fix
2016-09-12 10:03:03 +07:00
Alexander Yakovlev
c0c6465a62
Skip through the repeating rooms on loading
2016-09-12 09:57:18 +07:00
Alexander Yakovlev
b55cc8fcac
Don't init the game when autoload if off
2016-09-12 09:38:11 +07:00
Alexander Yakovlev
8a85f9975d
Game Loading API: get a savefile
2016-09-12 09:32:40 +07:00
Alexander Yakovlev
2e6e009c8c
Autoload option
2016-09-12 09:25:07 +07:00
Alexander Yakovlev
e18f2bbed2
version bump
2016-09-11 18:34:58 +07:00
Alexander Yakovlev
8913aa7131
Small unit bugfix
2016-09-11 18:31:40 +07:00
Alexander Yakovlev
aa49676306
semver version
2016-09-11 17:50:53 +07:00
Alexander Yakovlev
e03c9372cd
Made "salet" a global object
2016-09-11 17:48:13 +07:00
Alexander Yakovlev
757c12e2dd
Internationalization
2016-09-10 12:48:33 +07:00
Alexander Yakovlev
9e7a3f0f1c
typo fix
2016-09-10 11:36:23 +07:00
Alexander Yakovlev
b8a536832c
version bump
2016-09-10 11:25:09 +07:00
Alexander Yakovlev
70c8d2c705
Fast PRNG instead of the slow Mersenne Twister
2016-09-10 11:24:08 +07:00
Alexander Yakovlev
961b0a936a
package.json
2016-09-10 10:58:55 +07:00
Alexander Yakovlev
9a2f780cb4
Mersenne-Twister random submodule
2016-09-10 08:44:27 +07:00
Alexander Yakovlev
84f4502e44
fixed the startup
2016-09-10 08:20:44 +07:00
Alexander Yakovlev
08bc68670e
exports to window object
2016-09-09 17:26:58 +07:00
Alexander Yakovlev
bcf84bf95b
NPM module (WIP)
2016-09-09 17:18:53 +07:00
Alexander Yakovlev
bda0b84260
The whole #page can have "once" links
2016-09-03 20:42:36 +07:00
Alexander Yakovlev
070ac093a0
No alert for an inventory
2016-09-03 20:16:07 +07:00
Alexander Yakovlev
c99ba45b39
"character.sandbox" is deprecated
2016-08-25 14:45:25 +07:00
Alexander Yakovlev
81de4b833c
Interactive mode flag fix
2016-08-16 10:27:09 +07:00
Alexander Yakovlev
868b6173f6
Don't clear the screen on game load; useful for keeping the intro.
2016-08-16 10:23:16 +07:00
Alexander Yakovlev
5d86979c71
Save on goTo() functions
2016-08-16 10:18:42 +07:00
Alexander Yakovlev
b910cf8a66
Scroll fix
2016-08-15 18:39:52 +07:00