0
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet-module.git synced 2024-06-26 03:50:49 +03:00
Commit graph

136 commits

Author SHA1 Message Date
Alexander Yakovlev 8488ed83c8 Now you can use animateBlock on its own 2016-11-04 20:31:23 +07:00
Alexander Yakovlev 01ad80aae0 Don't publish the cakefile to NPM. 2016-09-27 10:43:54 +07:00
Alexander Yakovlev e1d52d8f67 Sane default class names for transitions 2016-09-26 16:00:55 +07:00
Alexander Yakovlev f5eb230c79 Transition fix 2016-09-26 14:10:21 +07:00
Alexander Yakovlev aeb58cc8a2 Compilcation with no minify 2016-09-26 14:10:08 +07:00
Alexander Yakovlev 8825afb183 Transitions microtest 2016-09-26 13:54:23 +07:00
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