309 Commits

Author SHA1 Message Date
Fakey McFakename 1fada4620b Update world.js (#739)
'disintigrate' -> 'disintegrate'
2025-05-23 11:33:06 -04:00
uwueric d39db9eeee Added a two-headed creature encounter (tier 1 encounter) (#741)
* Added two-headed creature encounter (tier 1) to event->encounters.js
2025-05-23 11:31:54 -04:00
Blake Grotewold e1c67e5f6f Merge pull request #662 from ClashTheBunny/main
Remove junk files
2025-02-17 23:06:57 -06:00
Blake Grotewold fe26527185 Merge pull request #708 from Quix0r/fixes/no-thumbs-db
Don't include Thumbs.db files
2025-02-17 23:06:47 -06:00
Esa Juhani Ruoho caad2ea61e Fix Candy Box url (#722)
as per https://github.com/doublespeakgames/adarkroom/issues/693 - the current Candy Box url is dead and leads to spam. This fixes the url.
2024-04-02 17:13:28 -04:00
An! 42dcfef723 resolve loadAudioFile error when query string in URL (#718)
When the URL contains a query string (e.g., "?lang=zh_cn") or is accessed with index.html, loadAudioFile fails to load the audio files. The issue has been resolved by removing that from the URL before before concatenating "src" link.
2023-12-02 11:25:22 -05:00
Michael Townsend fce8af38a8 defensing timer recall 2023-09-14 14:10:08 -04:00
Amir Rajan 4fcef234d8 Update README.md (#711)
Added link to Steam version.
2023-07-08 10:41:46 -04:00
Michael Townsend 6f67c12893 - scroll path when outfit gets long 2023-06-24 10:38:31 -04:00
Michael Townsend d6059af2b1 - put alien allow in the outfitting options
- prevent queueing up multiple explosions from the unstable automaton
2023-06-15 16:08:38 -04:00
Michael Townsend 68c5e2dfca bugs 2023-06-12 14:40:55 -04:00
Michael Townsend 9c02581b15 bugs 2023-06-12 10:36:01 -04:00
Michael Townsend 4c683dd397 bugs 2023-06-12 10:20:28 -04:00
Roland Häder 9edcd50b39 Continued:
- don't include these files, you can have them locally
2023-06-10 01:25:11 +02:00
Michael Townsend 7ee96fd108 Expansion (#707)
This additional content explores the aftermath of an event in The Ensign. A large dungeon, The Executioner, reveals the fate of one of the Wanderers’ most powerful weapons though multiple wings, each ending with a unique boss encounter. The fabricator allows the player to craft powerful items out of alien alloy, introducing new combat mechanics.
2023-06-09 12:38:16 -04:00
Michael Townsend 431b72fab8 - replace universal analytics with GA-4 2023-01-01 15:49:09 -05:00
Tadeáš Cipro 29e1e25063 Czech (cs) translation completed (#681)
* Update translation template file

- regenerated adarkroom.pot using pybabel

* Add script for POT recompilation

* Complete Czech translation (cs)

- finished czech translation
- converted into JS
- added language entry into langs.js

Co-authored-by: santen <tadeas.cipro@kinet.cz>
2021-11-29 11:25:41 -05:00
Michael Townsend 48ece588ed - added campaign to marketing link 2021-01-28 14:33:17 -05:00
Michael Townsend 7af870ab53 - fixed logo in dark mode 2021-01-28 14:02:19 -05:00
Michael Townsend bddb27131e - added link to doublespeak
- added cross-promotion event for Penrose
- removed dead Dropbox code
2021-01-28 13:54:23 -05:00
Michael Townsend f8b3c03e9b Merge pull request #667 from orsi/doublespeakgames
Major optimization of audio size and safari audio fix
2020-10-30 11:53:04 -04:00
jorsi 817decef2e remove audio preload 2020-10-12 21:59:16 -04:00
jorsi af34686c71 reduce audio file sizes by converting to mmono, lowering sample rate to 22k from 44k, and lowering bit depth to 16bit from 24bit 2020-10-12 21:50:57 -04:00
jorsi 9d8049988d fix safari audio bug where error prevents leaving worldmap locations -- reveals another safari bug where decodeAudioData doesn't return a promise to start playing music immediately 2020-10-09 12:22:06 -04:00
jorsi d0a12ac4a5 merge upstream/main 2020-10-08 12:57:21 -04:00
Michael Townsend 9e19425a9e Disable audio until bugs and hosting can be worked out 2020-10-05 12:23:08 -04:00
jorsi a601473645 We have audio! Thanks @orsi! 2020-09-10 12:45:10 -04:00
jorsi 9a7568885d Merge branch 'master' of https://github.com/doublespeakgames/adarkroom into doublespeakgames 2020-09-03 20:43:00 -04:00
jorsi c1f0e70233 fix jshint warning about leading decimals confused for dot properties 2020-09-03 20:33:07 -04:00
jorsi 371c657c08 remove god mod function 2020-09-03 20:28:49 -04:00
jorsi da51fd0dfd restore original google analytics 2020-09-03 20:12:05 -04:00
Randall Mason 9bb0caa04c Remove junk files 2020-08-29 13:56:25 -05:00
Michael Townsend d6d1c1b987 Merge pull request #660 from Jaredcscott/master
Updating description of energy cells
2020-08-16 09:03:44 -04:00
Jared Scott 9e4aa7ee05 Merge pull request #1 from Jaredcscott/Jaredcscott-patch-1
Update to description of energy cells
2020-08-15 23:32:01 -06:00
Jared Scott a5dfe8f189 Update path.js 2020-08-15 23:30:41 -06:00
jorsi e260dcfff3 fix sound turning on/off randomly on first user click due to toggleVolume call 2020-06-21 14:05:19 -04:00
jorsi 2a7f8441dd fix invalid state error in safari when trying to stop background music 2020-06-21 13:53:08 -04:00
jorsi f6b7a35a32 fix audio context resuming for browsers with no autoplay policy 2020-06-08 22:56:05 -04:00
jorsi dafc86325d normalize volume levels of sound effects that were too loud 2020-06-04 23:28:59 -04:00
jorsi 51ddd24c79 fix enableGodMode order to prevent strange behaviour 2020-06-04 19:35:28 -04:00
jorsi b099a1d122 improve encounter music 2020-06-04 19:25:57 -04:00
jorsi 2b0d1b7920 improve audio 2020-06-04 16:38:13 -04:00
jorsi dc3184e31b improve footstep sounds 2020-06-04 15:52:31 -04:00
jorsi a5c81f10e8 prevent same sound from playing multiple times 2020-06-04 15:52:15 -04:00
jorsi 54e6731748 add missing sound effects 2020-06-04 15:21:28 -04:00
jorsi ed05aee1d4 add missing event music; lower volume for space music 2020-06-03 19:12:09 -04:00
jorsi 8dea25ccd2 reorder enable god mode code to prevent duplicate area tabs 2020-06-03 18:29:30 -04:00
jorsi 031d9435e3 fix wrong function call 2020-06-03 18:26:06 -04:00
jorsi 783886b9b2 fix space music fading in when ending game by adding separate background volume function 2020-06-03 18:22:48 -04:00
jorsi 44a7552de4 fix room music playing when in another scene 2020-06-03 18:14:19 -04:00
jorsi 3b43a2754a refactor audio engine: simplified gain channels, improve fading between audio, rename functions 2020-06-03 17:44:27 -04:00
jorsi fd4fbe6bd4 preload high priority area and event audio 2020-06-03 16:39:35 -04:00
jorsi 3a2819d8af refactor functions 2020-06-03 16:39:12 -04:00
jorsi a5d81c2da7 reorganize audio library order 2020-06-03 16:27:19 -04:00
jorsi 986d76ab3d remove unused audio references 2020-06-03 16:24:50 -04:00
jorsi fa9081f6df improve fire sounds 2020-06-03 15:02:58 -04:00
jorsi 0274e9ea5d add shady builder event music 2020-06-03 15:02:51 -04:00
jorsi 20de297144 modify audio levels for village sounds 2020-06-02 22:09:29 -04:00
jorsi eae6d40be1 add google analytics for github site 2020-06-02 21:14:16 -04:00
jorsi 1c7b3fbd31 improve village sounds 2020-06-02 20:58:51 -04:00
jorsi 740204de85 lower volume as altitude increases 2020-06-02 16:02:25 -04:00
jorsi bfd8b3690e add function to get current volume 2020-06-02 16:02:12 -04:00
jorsi 28c4462ffb update space music 2020-06-02 16:01:48 -04:00
jorsi c710538db8 add plague event music 2020-06-02 16:01:35 -04:00
jorsi 4c7c5d0346 add ending music 2020-06-02 16:01:24 -04:00
jorsi 8e5f8bbae6 add space sounds 2020-06-02 14:23:33 -04:00
jorsi 956b05074d add more landmark music 2020-06-02 12:26:38 -04:00
jorsi 4f61055909 add enable god mode function 2020-06-02 10:44:00 -04:00
jorsi 0198cce7fc add several landmark loops 2020-06-01 23:52:56 -04:00
jorsi f9d42adb67 remove .wav files 2020-06-01 20:15:37 -04:00
jorsi 9109591d44 remove console.log 2020-06-01 19:42:17 -04:00
jorsi d2dae63a10 set debug false 2020-06-01 19:41:15 -04:00
jorsi 3ceb34298b cleanup 2020-06-01 19:40:40 -04:00
jorsi 46c26632e7 add outside event music; add encounter music 2020-06-01 19:36:28 -04:00
jorsi a9701124c8 add music for room events 2020-06-01 15:37:12 -04:00
jorsi 28cab1d08f add more sfx for world; add more sfx for ship 2020-06-01 13:48:24 -04:00
jorsi 793af7caed replace missing audio with placeholder beep 2020-06-01 11:12:00 -04:00
jorsi fe3f2d2fff use .flac as audio format 2020-06-01 10:50:24 -04:00
jorsi e2845c1784 lower event music volume for now -- way too loud relative to main 2020-06-01 00:47:08 -04:00
jorsi fc7b72f47b add full path to audio sources when fetching 2020-06-01 00:42:56 -04:00
jorsi 6b5acb915a make audio urls relative 2020-06-01 00:37:02 -04:00
jorsi 274f20e674 add rough outline of path and world' 2020-06-01 00:28:37 -04:00
jorsi 17b21bec08 add rough songs for outside 2020-05-31 23:29:53 -04:00
jorsi 113596fca6 rough outline for room audio 2020-05-31 19:19:36 -04:00
jorsi 1d4f48b464 fix music not starting on arrival when fire is dead 2020-05-31 14:02:23 -04:00
jorsi d3f1d9c779 prototype fire sounds 2020-05-31 13:53:43 -04:00
jorsi 3adf493a11 add audioLibrary to scripts 2020-05-31 13:53:33 -04:00
jorsi 18e8af9809 refactor audio-related code to use AudioLibrary module 2020-05-30 23:33:10 -04:00
jorsi a340584136 create AudioLibrary module to consolidate audio 2020-05-30 23:03:46 -04:00
jorsi 20132690da play music on landmark events 2020-05-30 22:35:42 -04:00
jorsi 3c6a386423 remove logging 2020-05-30 22:27:38 -04:00
jorsi 8db47cecf9 add button to turn volume on and off 2020-05-30 22:20:29 -04:00
jorsi 1d84e5f85c connect majority actions to sound effects;add more placeholder loops and effects 2020-05-30 19:48:44 -04:00
jorsi 71786c3671 add majority of sound definitions 2020-05-30 17:20:01 -04:00
jorsi 21267e383d add outline of space sounds 2020-05-29 19:13:34 -04:00
jorsi d951755f4c add outline of ship sounds 2020-05-29 19:13:28 -04:00
jorsi 221a97035c add more room sounds definitions 2020-05-29 19:04:49 -04:00
jorsi f188f45e4b add outline of ship sounds 2020-05-29 19:04:37 -04:00
jorsi c35912b3ff add more sound definitions 2020-05-29 18:47:10 -04:00
jorsi bd519404c2 add Room craft* sound effect definitions 2020-05-29 18:33:47 -04:00
jorsi 1f8dbc161c add outline of world sounds 2020-05-29 18:31:44 -04:00
jorsi 9ae1ac06f5 add outline of Path sounds 2020-05-29 18:21:57 -04:00
jorsi de9d2e6a17 add more sound effect definitions 2020-05-29 18:21:40 -04:00
jorsi 39fbd169ad add rest of sound definitions for room 2020-05-29 18:14:35 -04:00
jorsi 7df62849ea add outline of outside audio 2020-05-29 18:12:40 -04:00
jorsi 12c6559802 add basic outline of audio for room 2020-05-29 17:53:18 -04:00
jorsi 978f53d40b rough implementation for changing background music 2020-05-29 13:59:58 -04:00
jorsi 9ae328d49b initial start for audio support 2020-05-28 19:10:09 -04:00
Blake Grotewold f74515f06d Merge pull request #651 from AleksMU/master
add russian translate
2019-10-21 14:13:52 -05:00
Blake Grotewold 4cdd298a08 Merge pull request #655 from decrecementofeliz/galician-translation
Add Galician translation
2019-10-21 14:11:54 -05:00
decrecementofeliz 0e5d6a6324 add gitignore - ds_files 2019-10-08 15:12:03 +02:00
decrecementofeliz f64cc7a68d language-list: missing file from previous commit 2019-10-07 23:55:56 +02:00
decrecementofeliz 69cdc2603b Add Galician translation 2019-10-07 21:18:00 +02:00
Aleksey 5434a678ee add russian translate 2019-04-30 22:04:43 +03:00
Michael Townsend 491d461276 Merge pull request #644 from dblark/master
Update Chinese (Simplified) Translation
2019-01-28 15:38:07 -05:00
周圣杰 5d195f01d8 Update Chinese (Simplified) Translation
Update Chinese (Simplified) Translation
2019-01-28 12:51:09 +08:00
Michael Townsend 754fcd6ded Merge pull request #557 from andylizi/master
Update Chinese-Simplified translation (Resolve conflicts in #502)
2018-09-19 10:20:35 -04:00
Michael Townsend dc06cf9de6 Merge pull request #622 from youknowone/update-pot
Add missing gettext markers + Update adarkroom.pot
2018-09-19 10:18:33 -04:00
Michael Townsend 246dbcdb99 Merge pull request #632 from gitupofftheflooranddosomework/patch-1
Fixes issue in 613
2018-09-18 15:48:16 -04:00
Michael Townsend 9b699b56c8 Merge pull request #619 from mmKALLL/master
Fix for LICENSE.md preview formatting
2018-09-18 15:30:35 -04:00
gitupofftheflooranddosomework dd9fc140bb Fixes issue in 613
This is made to fix the issues in issue #613
2018-09-18 15:54:30 -03:00
Michael Townsend 06e1d5a5db Merge pull request #626 from Roarez/master
Fix buying maps causing crashes #515
2018-09-17 11:04:19 -04:00
Roarez d498a13177 Fix buying maps causing crashes
Fixes the applyMap function that could not uncover single points of map on the top and left borders and thus was causing an infinite loop crash
2018-09-11 00:43:49 +01:00
Jeong YunWon c36ad262a5 Update adarkroom.pot 2018-06-09 23:47:04 +09:00
Jeong YunWon 99f28877e8 Add missing messages to gettext 2018-06-09 23:47:04 +09:00
mmKALLL db42a9053c Improved LICENSE.md asterisk formatting. 2018-04-23 02:28:10 +09:00
mmKALLL 8101b7c6b7 Fixed LICENSE.md asterisk formatting. 2018-04-23 02:27:16 +09:00
mmKALLL c64421cccc Merge branch 'master' of https://github.com/doublespeakgames/adarkroom 2018-04-23 02:05:29 +09:00
Michael Townsend 15ddf72e43 Merge pull request #593 from silence44/localization
Added missing translations and small fixes for ru and uk
2017-12-17 11:51:31 -05:00
Michael Townsend b978b71e49 Merge pull request #603 from hun0975/patch-1
Update strings.po
2017-12-17 11:47:30 -05:00
Michael Townsend 5eb4241a8b Merge pull request #602 from hun0975/master
Change Hangul(ko) expression
2017-12-17 11:47:15 -05:00
Michael Townsend 2800b51d96 Merge pull request #608 from hun0975/patch-5
jshint warning ('cur' is already defined)
2017-12-17 11:43:16 -05:00
Michael Townsend d46f414a41 Merge pull request #609 from hun0975/patch-6
Remove unused variables
2017-12-17 11:42:47 -05:00
Michael Townsend bba2af9844 Merge pull request #610 from hun0975/patch-7
jshint warning(missing semicolon)
2017-12-17 11:41:28 -05:00
hun0975 4122805484 jshint warning(missing semicolon)
missing semicolon!
So just add a semicolon
2017-12-04 15:54:18 +09:00
hun0975 639e9960d8 Remove unused variables
line 114
the 'c1' variables is not used
so i remove
2017-12-04 15:46:21 +09:00
hun0975 4e37103171 jshint warning ('cur' is already defined)
The "cur" variable is defined twice in each for loop.
So I pulled out the definition part of the "cur" variable.
2017-12-04 15:35:00 +09:00
hun0975 6228a89af4 Update strings.po 2017-11-26 23:39:26 +09:00
hun0975 4e8c0d8e9f Change Hangul(ko) expression
Existing expression does not match Korean grammar.
"동굴 넓고 어두운 아가리를 벌리고 있다" -> "동굴의 입구는 넓고 어두웠다."
2017-11-12 21:09:45 +09:00
Denys Lishchenko 9af04ebc1a Added missing translations and small fixes for ru and uk 2017-10-03 00:51:04 +02:00
Michael Townsend 36f5a82e20 Merge pull request #552 from DeeNewcum/master
bug -- doubleTime is harmful during space.js, so disable it
2017-09-11 17:12:54 -04:00
andylizi 8dfed2531d Update Chinese-Simplified translation
Merge remote-tracking branch 'ldzhangyx/master'
2017-08-01 14:23:30 +08:00
Blake Grotewold 67188cb5f4 Merge pull request #555 from djuretic/master
Complete Esperanto translation
2017-07-28 10:34:53 -05:00
Dušan Juretić ba8c794e18 Updated string.js 2017-07-21 08:53:37 -04:00
AetherSeed fed46fa749 Esperanto translation update
Fixed the use of "po"
2017-07-21 08:52:11 -04:00
Dušan Juretić 971b007387 Esperanto .js file updated 2017-07-20 19:37:00 -04:00
AetherSeed 08c87fe03f Esperanto translation review
Think I have everything now. Something might have slipped through, but this is as far as I go.
2017-07-20 07:21:05 -04:00
AetherSeed c87c9f2816 More Esperanto translations 2017-07-14 00:13:20 -04:00
AetherSeed 7ce3f93a41 More Esperanto translations 2017-07-14 00:12:28 -04:00
AetherSeed a93b0d5ea0 More Esperanto translations 2017-07-13 07:21:44 -04:00
AetherSeed 0521823617 More Esperanto translations 2017-07-13 07:20:19 -04:00
AetherSeed 11a6b46ffa More Esperanto translations 2017-07-12 22:29:47 -04:00
AetherSeed e08ac0e1f6 Pli da tradukaĵoj - More translations 2017-07-12 14:44:36 -04:00
Dušan Juretić 87bb841c5a Minor changes and updated eo/strings.js 2017-07-11 21:52:57 -04:00
Dušan Juretić abf1ecf749 Merge remote-tracking branch 'aetherseed/AetherSeed-patch-2' into master
Conflicts:
	lang/eo/strings.po
2017-07-11 21:47:57 -04:00
AetherSeed 35d3776d80 Tradukaĵeto
Eĉ pli da tradukaĵoj.
2017-07-10 19:33:25 +12:00
AetherSeed 67ee05609a Kaj denove pli!
Nu, ne finite, sed plikomplete!
2017-07-10 12:51:20 +12:00
Dušan Juretić 127c378168 More Esperanto sentences 2017-07-09 11:25:23 -04:00
AetherSeed 826d34467e Kaj pli da tradukaĵoj
Mi plie tradukis. Eble iom da la "bat"aj vortoj devas esti kontrolotaj.
2017-07-09 19:30:07 +12:00
Dušan Juretić 309aebb701 Merge remote-tracking branch 'upstream/master' 2017-07-08 12:43:49 -04:00
AetherSeed b1ee57246c Pli da tradukaĵoj
Mi tradukis iome la netradukitajn aferojn.
2017-07-04 17:22:17 +12:00
Dee Newcum 7548e8cced doubleTime is harmful during space.js, it makes it much harder 2017-06-16 15:22:42 -05:00
Michael Townsend 9e3874bc8e Merge pull request #548 from BAirborne/master
New event in the village
2017-05-18 11:15:00 -04:00
Chris Farrow f0edb8f6d5 Moved the shady builder to the room module 2017-05-18 10:11:18 -05:00
Chris Farrow 1156df4693 got rid of an accidental comma 2017-05-13 15:15:31 -05:00
Chris Farrow 878e83d631 adjusted some of the text for the shady builder event 2017-05-13 15:11:36 -05:00
Chris Farrow 59c79b686d Made an event where a shady builder would enter the village and either build a house or steal some wood 2017-05-12 16:23:15 -05:00
Michael Townsend 2798cbd679 Merge pull request #546 from hasantayyar/patch-1
Po metadata fixed for Turkish translation
2017-05-02 10:29:43 -04:00
Hasan Tayyar BEŞİK 4c9945bf9f Po metadata fixed for Turksih translation
and added some missing Turkish translations
2017-05-02 09:33:39 +02:00
Michael Townsend d72fba341d Merge pull request #545 from Yrlish/close_app_dialog
Added the option to close the 'get app' dialog
2017-05-01 10:11:56 -04:00
Dennis 84336b06a3 Added the option to close the 'get app' dialog 2017-04-30 10:57:31 +02:00
Michael Townsend 90011d652b Add missing comma
Closes #544.
2017-04-27 10:15:04 -04:00
Michael Townsend 1cb6dd6fb3 Merge pull request #541 from VacuumSPP/master
Added strings.js file for Lithuanian language
2017-04-20 10:28:02 -04:00
Eimis Karpicius b909cbe2ec Added strings.js file for Lithuanian language
Accidentally forgot to add the strings.js file in my commit.
2017-04-20 00:38:28 +01:00
Michael Townsend c0ebe80d41 Merge pull request #540 from VacuumSPP/master
Complete Lithuanian Translation
2017-04-18 20:41:34 -04:00
Eimis Karpicius 32b8dc2a17 Fixed Lithuanian entry 2017-04-19 00:15:25 +01:00
Eimis Karpicius 13cfbea718 Fixed Lithuanian line 2017-04-19 00:14:49 +01:00
Eimis Karpicius 6949fdaaf9 Update README.md 2017-04-19 00:13:58 +01:00
Eimis Karpicius 99a44d37f6 Added Lithuanian
Added a selection for the Lithuanian language
2017-04-19 00:13:20 +01:00
Eimis Karpicius e75b46f8fd Added Lithuanian
Added line 13 - 'lt':'lietuvių'
2017-04-19 00:11:29 +01:00
Eimis Karpicius b91ed2adec Lithuanian translation
Added full Lithuanian language translation.
2017-04-19 00:09:59 +01:00
Dušan Juretić 21a9fe2838 More translations 2017-04-05 17:20:03 -03:00
Dušan Juretić dae2cc46f7 More translations and fixed some typos 2017-04-02 10:50:42 -03:00
Dušan Juretić b3c4b68cf4 Merge pull request #1 from spagy/master
Further Esperanto Translation
2017-04-02 10:38:00 -03:00
Spagy cf8a4ca927 Revert Dropbox to Dropboks 2017-04-02 12:28:06 +01:00
Spagy 65bbbdbb3c Further Esperanto Translation 2017-04-02 11:32:00 +01:00
Dušan Juretić d3bb96c347 Updated string.js 2017-04-01 10:30:00 -03:00
Frigorifico9 f22b8a8253 Update strings.po 2017-04-01 01:39:46 -05:00
Dušan Juretić 714cc422a2 First version of Esperanto 2017-03-31 21:59:25 -03:00
Michael Townsend 1db603fd08 Merge pull request #539 from julianAkkaya/patch-1
Fixed some translation mistakes
2017-03-30 10:51:23 -04:00
julianAkkaya 2ef34f6895 Fixed some translation mistakes 2017-03-30 16:45:49 +02:00
Michael Townsend 9856060f15 Merge pull request #534 from Clonewayx/master
start of czech translation
2017-03-19 13:44:50 -04:00
Michael Townsend 9a6f752e26 Merge pull request #535 from Torelli/improving-ptbr-translaction
Small translaction correction
2017-03-19 13:44:18 -04:00
Michael Townsend 0a66d0f946 Merge pull request #536 from bkRyusim/master
I translated some missing words.
2017-03-19 13:43:38 -04:00
Michael Townsend 65f1c1a0f2 Merge pull request #537 from Wafflenaut/master
Complete Latvian Translation, Minor Swedish Updates
2017-03-18 10:15:55 -04:00
Wafflenaut 02e3fccf83 Added full Latvian translation. 2017-03-16 20:55:39 -04:00
백승윤 70bda18b37 I translated some missing words. 2017-03-15 00:55:08 +09:00
Torelli 35d456aa98 Small translaction correction
Small translaction correction
2017-03-12 00:35:25 -03:00
Clon eab4153bf4 start of czech translation 2017-03-11 11:09:30 +01:00
Wafflenaut 23d26deb51 Updated Swedish Translation - Issue Ticket 490
Fix four missing swedish entries mentioned in Issue 490 - still 213/772
translations to be completed
2017-02-25 20:05:29 -05:00
Michael Townsend be5deb9a38 Merge pull request #525 from RDDDIB/master
Completed Spanish translation
2017-02-05 11:20:12 -05:00
Roland Baumann ad8ffd29db Completed Spanish translation 2017-02-05 03:58:16 -05:00
Michael Townsend 52983348d1 Merge pull request #501 from lucasloisp/jshint-compliance
Improved JSHint compliance in the code
2017-02-04 12:15:23 -05:00
Lucas Lois fb9e39bbaf Merge branch 'master' into jshint-compliance 2017-01-25 11:44:18 -03:00
Esa Koskinen c8c71e945a Merge pull request #1 from doublespeakgames/master
Update fork to latest head
2017-01-20 11:27:24 +02:00
Michael Townsend efe44ba3a7 Merge pull request #522 from yangzeon/master
update Chinese translation
2017-01-04 10:08:29 -05:00
yangzeon 99643972a4 update zh_CN.po
>_<
2017-01-04 15:00:10 +08:00
yangzeon 37d6da02cf Merge remote-tracking branch 'refs/remotes/doublespeakgames/master' 2017-01-04 12:52:33 +08:00
Michael Townsend 040cc74a5f Merge pull request #521 from StivArts/patch-1
Added more translations (ES)
2016-12-31 11:01:05 -05:00
Jaime Arancibia Soto 5be6694c4a Added more translations (ES)
I added some translations that were not, greetings
2016-12-31 05:47:14 -03:00
Continuities 5f13d94cdf Marketing stuff, mostly 2016-12-17 14:53:21 -05:00
Michael Townsend b0c202d5a3 Merge pull request #519 from jgblight/move-tooltip
tooltip on top near bottom of store and trading post
2016-12-11 15:06:17 -05:00
Jennifer 3ae7ee16cc tooltip on top near bottom of store and trading post 2016-12-10 21:09:18 -08:00
Michael Townsend 0f50adc7aa Merge pull request #518 from salzix/translation-pl-update-1
Added missing PL translations, some fixes to existing ones
2016-12-09 14:16:40 -05:00
Tomasz Wegrowski bc3d9d02b9 Added missing PL translations, fixed some, replaced 'hut' translation with more proper for village building 'chata' 2016-12-09 11:30:17 +01:00
Michael Townsend 21d0d7df93 Merge pull request #517 from joyceambrosio/master
Improved pt-br translation
2016-12-08 10:38:40 -05:00
joyceambrosio 834b8eb4b4 Improved translation to pt-br language 2016-12-08 07:46:08 -02:00
joyceambrosio 2b44f49974 Improved pt-br translation 2016-12-08 07:35:42 -02:00
Michael Townsend d028790c86 Merge pull request #500 from heptocat/master
de: update string.js
2016-11-20 11:22:49 -05:00
Michael Townsend d03ed0c9e3 Merge pull request #498 from burunduk/patch-1
Update Ukrainian
2016-11-20 11:22:11 -05:00
Michael Townsend 0916f78736 Merge pull request #507 from vankasteelj/master
update french localization
2016-11-20 11:21:33 -05:00
Michael Townsend 549fcc9f93 Merge pull request #511 from SongyuWang/master
update zh_cn
2016-11-02 10:21:26 -04:00
Michael Townsend 56ff564630 Merge pull request #512 from davidduewel/master
Changed one word in Indonesian
2016-11-02 10:20:32 -04:00
davidduewel 35053247da Merge pull request #1 from davidduewel/davidduewel-patch-1
Updated One Word in Indonesian
2016-11-02 09:55:05 +00:00
davidduewel 02ec5ab53b Updated One Word in Indonesian 2016-11-02 09:51:00 +00:00
wangsongyuf 16337ab8b9 update zh_cn
This is the first time I try to contribute opensource project. I just
wanna have a taste of the process and hope I did not mess it up. If this
works, I will try to edit more thing next time.
2016-11-01 20:40:02 -04:00
Michael Townsend 8fab454a63 Merge pull request #510 from doug2k1/pt-br-lang
Fix some errors in pt-br translation
2016-10-29 19:59:26 -04:00
Douglas Matoso 8981d332f0 Fix some errors in pt-br translation 2016-10-29 21:16:31 -02:00
Michael Townsend b3520a6247 Merge pull request #509 from Superari15/patch-1
Added link to Android app
2016-10-28 11:41:37 -04:00
Arihant Tripathy 0e23bc12b9 Added link to Android app 2016-10-28 21:00:06 +05:30
vankasteelj b150caff07 update french localization 2016-10-16 19:35:47 +02:00
Blake Grotewold 1a6b41c2a1 Don't save carryables if they haven't been found yet. 2016-10-11 02:29:41 -04:00
Lucas Lois 69267045a8 Made events/room.js and state_manager.js jshinthint compliant 2016-10-02 18:07:02 -03:00
Lucas Lois 36b01a78b6 Made scoring.js, space.js and world.js jshint compliant 2016-10-02 17:57:17 -03:00
Lucas Lois c1ce1a89d9 Made room.js jshint compliant 2016-10-02 17:52:39 -03:00
Lucas Lois 05edb2a98a Made path.js jshint compliant 2016-10-02 17:52:22 -03:00
Lucas Lois a903a1c9fe Made outside.js jshint compliant 2016-10-02 17:45:09 -03:00
Lucas Lois 8370eac8aa Made events.js jshint compliant 2016-10-02 17:40:54 -03:00
Lucas Lois 4ced5337da Made engine.js jshint compliant.
Error on /script/engine.js at 775:128 was ignored
2016-10-02 17:22:32 -03:00
Lucas Lois 90aa1ca4fd Made Button.js jshint compliant 2016-10-02 17:00:57 -03:00
Lucas Lois b5276f7f83 Made translate.js jshint compliant 2016-10-02 16:48:27 -03:00
hep cat d156a6a810 de: update string.js
corrected existing translations
- typos
- added missing spaces which were very annoying since the words were then together
- minor changes according design guide lines https://github.com/doublespeakgames/adarkroom/wiki/Design-Guide#narrative
     - since nouns are capitalized in German, previous translators must have accidentally left some words capitalized, which was inconsistent with the rest
     - light fire -> "feuer entfachen" instead of "feuer machen", which is consistent with the same use of the word "light" in other situations
     - sammel holz -> holz sammeln, since the player should not be adressed directly with an imperative, and none of the other buttons (like feuer schüren) had the imperative (which would then be schüre feuer)
2016-10-01 19:13:45 +02:00
Michael Townsend 5a99e22b64 Fixing bugs 2016-09-23 11:39:07 -04:00
Michael Townsend 8a80f7c164 Fixing bugs 2016-09-23 11:32:34 -04:00
Michael Townsend fbc91a3756 Disable pause button until I have time to rework/fix it
The pause button displays weirdly and doesn't appear to work properly. Disable it until it can be reworked.
2016-09-23 11:16:08 -04:00
Michael Townsend a5f5f0f8dc Create main.css 2016-09-22 11:22:22 -04:00
Olexandr Nesterenko 9d2c4fc125 Update Ukrainian 2016-09-21 18:31:36 +03:00
Blake Grotewold 8d9c4a1a92 Merge remote-tracking branch 'origin/master' 2016-09-17 15:18:22 -04:00
Michael Townsend 1fc1836a95 Merge pull request #463 from AndySky21/Take-everything-bug
Take-everything bug
2016-09-01 11:15:34 -04:00
Michael Townsend 559022cb80 Merge pull request #492 from erdifr/fix-mix
Fix mixed-content warning.
2016-09-01 10:10:33 -04:00
erdifr 2f9448174f Fix mixed-content warning.
Use https:// instead of http:// to load jQuery and Google Analytics. Now
Google Chrome will load jQuery and Google Analytics instead of blocking
the scripts and throwing a mixed-content warning.
2016-08-31 19:37:34 -04:00
Michael Townsend 947d51ff04 Merge pull request #491 from pratnala/master
Updating the app download links
2016-08-21 13:08:33 -04:00
Pratyush Nalam 678daa1cde Editing image sizes 2016-08-21 12:59:02 -04:00
Pratyush Nalam de79622d24 Update App Store image and added Google Play link 2016-08-21 12:50:48 -04:00
Continuities a988d962f1 Add link to Google Play 2016-07-08 18:41:10 -04:00
Michael Townsend f4fa4e4ae8 Merge pull request #486 from doublespeakgames/revert-485-patch-1
Revert "Fix message typo."
2016-05-12 13:53:07 -04:00
Michael Townsend e1b1ed28b1 Revert "Fix message typo." 2016-05-12 13:53:01 -04:00
Michael Townsend 8150d47513 Merge pull request #485 from jimt/patch-1
Fix message typo.
2016-05-12 11:10:20 -04:00
Jim Tittsler cc1e658144 Fix message typo. 2016-05-12 23:59:38 +09:00
Blake Grotewold 0fbb713e17 fix merge conflict error 2016-03-19 15:17:32 -04:00
Blake Grotewold 9438d2c30b Merge pull request #471 from code-kit/master
More Weapons/Tools Information on Path Tab
2016-03-19 15:01:01 -04:00
Blake Grotewold 7871f47776 Merge #469 2016-03-19 15:00:32 -04:00
Blake Grotewold 9a45ad1380 Merge pull request #467 from AndySky21/setHeal
Set heal
2016-03-19 14:56:36 -04:00
Blake Grotewold f410af90b3 Merge pull request #465 from AndySky21/missing-lines
Missing lines
2016-03-19 14:56:19 -04:00
Blake Grotewold 5b870244f5 Merge pull request #464 from AndySky21/StoreZero-bug
StoreZero bug
2016-03-19 14:56:10 -04:00
Blake Grotewold cc18daa111 Merge pull request #463 from AndySky21/Take-everything-bug
Take-everything bug
2016-03-19 14:55:55 -04:00
Blake Grotewold 3d8e07510f Merge pull request #462 from AndySky21/mapBug
Map bug fix
2016-03-19 14:55:42 -04:00
Blake Grotewold 984cc1abca Merge pull request #461 from AndySky21/Supplies-bug
Supplies bug
2016-03-19 14:55:26 -04:00
Elizabeth Donohew 41293d48a8 Rewrote a couple of the descriptions that I added before for the tools. 2016-02-24 00:03:28 -06:00
Elizabeth Donohew 9083a9582c Hovering over a tool on the path tab now gives a small description on how the tool can be used. 2016-02-23 22:40:04 -06:00
Elizabeth Donohew 4d9890f2ef Renamed total to currentBagCapacity in the updateOutfitting method and extracted some functionality into a method called updateBagSpace. 2016-02-23 21:07:21 -06:00
Elizabeth Donohew 7efe142637 Shows the damage that a weapon deals only when hovering over a weapon on the path tab. 2016-02-23 20:46:19 -06:00
Andrea Rendine a3b1fea424 Method and property fix
World.testMap() sets World.seenAll. The latter is true when the whole map has been explored.
World.testMap() is called:

* on world init
* on return home (when the map is updated)
* on applyMap() (when the map is bought from the scout)
2016-02-20 13:17:45 +01:00
Andrea Rendine 5129756455 Translation fix
Shorter and clearer for "see farther"
2016-02-19 01:29:11 +01:00
Andrea Rendine 276dd64068 Minor translation fix 2016-02-19 01:27:28 +01:00
Andrea Rendine 189af75c31 Correct changes
Limited subset of commits:
* unified function for healing (Events.doHeal);
* unified function for attacks (Events.damage);
* check if health is max, and disable healing buttons (Events.setHeal and related calls)
* grouping buttons (attackButtons, healButtons and exitButtons for weapon attacks, meat & meds, continue/leave)
2016-02-17 15:22:13 +01:00
Andrea Rendine 368529f024 Reverted changes
Revert to previous version (no pause)
2016-02-17 15:07:26 +01:00
Andrea Rendine 68732ce0d9 Reverted changes
Revert to previous version
2016-02-17 14:16:39 +01:00
Andrea Rendine 7ba7f2247e Reverted changes
Reverted to previous version.
2016-02-17 14:08:41 +01:00
Andrea Rendine 131e5c1140 Reverted changes
Revert to previous version (no pause)
2016-02-17 14:06:09 +01:00
Andrea Rendine df63ccb651 Switch cooldown
Easy way to switch cooldown on pause button according to new button option
2016-02-17 10:27:38 +01:00
Andrea Rendine ac34b717d3 Forcing cooldown
Added an option.
Button.cooldown(btn, X) where X is a number, forces a one-time cooldown of X seconds for btn.
2016-02-17 10:19:32 +01:00
Andrea Rendine e4bb616a93 Legends
Text set by data-legend attribute
2016-02-17 01:55:53 +01:00
Andrea Rendine 07998376e7 Several changes
As some of them are related to each other, this commit involves a lot of updates.

* Autopause on blur. This is an idea I took from Gridland (!), if window loses focus the fight pauses (timed check courtesy of the enemy), and it restarts when the window has focus again (if the pause button is clicked, then the player must click again in order to resume).
* Delayed start for fights. This will allow players to read the description without the player attacking them. No way to cheat, buttons are not enabled. I used Events._LEAVE_COOLDOWN as cooldown time, not for laziness, but because I guess the two durations have the same purpose: to allow (force) the player to read stuff.
* Take everything and leave just by name. If the player can just take something, the text is "take all you can", if they can take everything but there are several options it's "take everything", if the option is only one the text is "take everything and X", where X is the verb of the only possible option (note: in the latter case, the button cools down together with the option itself).
* success/failure mechanics no longer relies upon try/catch, but on a simple mechanism: a variable taking a bool value, set to true when one of the end conditions happens. The precedence goes to the enemy (if the player kills and dies the fight is lost).
2016-02-17 01:53:21 +01:00
Andrea Rendine aae770c5a1 Timing for winning and efficiency 2016-02-16 11:02:10 +01:00
Andrea Rendine 24e744a27e Heal when necessary
Events.setHeal() enables/disables eatMeat and useMeds buttons depending on player's HP.
The check is done in 4 cases:

* when a fight starts
* after an attack
* after healing
* in the loot screen
2016-02-16 03:02:45 +01:00
Andrea Rendine aa62b7f9be Buttons positioning 2
The last 2 remainings from original structure
2016-02-16 02:58:51 +01:00
Andrea Rendine bf7472ba37 Buttons positioning
Residual structure fixed.
2016-02-16 02:56:44 +01:00
Andrea Rendine def892953a Cooldown time from graphics
Not a problem of precision, but a width measurement issue. Fixed and restored to previous precision level.
2016-02-16 00:27:44 +01:00
Andrea Rendine 091929cf90 Cleanup
Events.damage method now groups all common lines for Events.animateRanged and Events.animateMelee.
Balance between success and failure is now determined by Events.lost. It is set to "true" when the player is killed and prevents Events.winFight() altogether.
Events.endFight() groups the 2 consistent actions in winFight and loseFight, i.e., pause unsetting and stopping the enemy.
Completely renewed trap method: instead of relying on a separate counter, enemy.data('stunned') now returns the number of remaining seconds of stunning. Enemy's timed attack decreases this value by the attack delay time (the enemy fights for its freedom).
2016-02-16 00:26:23 +01:00
AndySky21 6ace681a91 Pause during fight
This commit adds a pause button during the fight. It relies upon the new
Events.paused property: when set to true, no buttons will work except
the pause button itself, and cooldown on attack/healing buttons is
interrupted.
This commit also groups event buttons in different groups (attack,
healing, scene), so that the position of "eat meat" and "use meds" does
not depend on how many scene buttons are present (sometimes 1, other
times 2)
2016-02-15 21:04:02 +01:00
Andrea Rendine 59e71232d4 Minor fixes
For code consistency: in updateSupplies, num is forced to never be greater than have, so the "greater or equal" comparison is pointless
Increase buttons reactivate when total store quantity is greater than supplies.
Also, removed useless nesting of Math.min.
2016-02-15 10:41:42 +01:00
AndySky21 5a618be261 Po update and IT notifications
PO files updated with current POT version. Italian translation of event
notifications.
2016-02-15 03:07:50 +01:00
Andrea Rendine 4bd00fa328 No check on null stores
Unlike other stuff, stores in the side box never disappear during the game when they reach 0, once they've been "seen" (i.e., once State stores[store] has been set). But on reload they appear only if the quantity is positive.
For the sake of consistency, now null stores are visible on load (see what you're missing, bro).
2016-02-14 21:24:43 +01:00
Andrea Rendine d295ca9aa5 Take all and what?
The change is somehow linguistic, rather than anything else.
"Take everything and leave" changes name and becomes "Take everything and X", where X is the verb of the command it impersonates.
This way after completing mines e.g. it is "Take everything and continue", acting like "continue" button.
It now also cools down if it impersonates a "leave" button (leave buttons cool down. IDK why).
2016-02-14 21:00:04 +01:00
Andrea Rendine 28cdca6003 Update world map on return
World.seenAll must be updated only when committing state changes (i.e., on return home safe), not during exploration.
2016-02-14 16:09:15 +01:00
Andrea Rendine 3b66f5cad5 Buy map when needed
Buy map button availability depends on the fact that there are still unexplored parts of the map.
2016-02-14 15:54:59 +01:00
Andrea Rendine bee221093e Apply useful maps
Maps cost! Let's apply them where necessary.
World.testMap() checks if there's still something to explore.
World.seenAll is true when everything has been seen. It is updated by uncoverMap().
World.applyMap() chooses a random center, with the conditions that 

1. there's still something to explore
1. the center itself is an undiscovered area.

Buy Map is active only when a map is still useful.
2016-02-14 15:47:38 +01:00
Andrea Rendine f1656f9a4f Buy map when needed
Maps cost! And casual gamers could possibly forget whether they've explored everything.
The Buy map button is now disabled if the whole map has been seen (yes, even a single uncovered tile is enough).
2016-02-14 13:46:26 +01:00
Andrea Rendine 3e51471b0b Remove State outfit on death
Supplies are not removed from state when embarking, so they remain in place in case the game is closed during exploration. So it now happens in case of death, along with Path.outfit reset.
2016-02-14 11:53:29 +01:00
Andrea Rendine 2c2490290c Leave outfit in place
It seems counterintuitive for players that, if the game is closed while exploring, everything remains unchanged but supplies are lost. I had to choose between cooling down Embark, thus making it explicit that it's as if the player had died, or leave supplies in place. I chose the latter.
2016-02-14 11:48:27 +01:00
Andrea Rendine 0f8a2ccfb6 Outfit update on Income
A very easy fix indeed. When Path is active, the outfit is updated on Income event. This way the "available" tooltip is reliable, increment/decrement buttons are activated/deactivated correctly and there is no risk of phantom resources.
2016-02-14 02:39:49 +01:00
Andrea Rendine 4032738d57 Code style
Tab in place.
2016-02-14 02:31:41 +01:00
Andrea Rendine e3d5e25b94 Merge pull request #19 from doublespeakgames/master
Update 2016-02-11
2016-02-11 14:23:04 +01:00
Andrea Rendine 239735f487 Merge pull request #18 from doublespeakgames/master
Update 2015-09-20
2015-09-20 14:41:47 +02:00
Andrea Rendine e95cb5235e Merge pull request #17 from doublespeakgames/master
Update 2015-06-29
2015-06-29 16:29:08 +02:00
Andrea Rendine 128f1341a0 Merge pull request #16 from doublespeakgames/master
Massive update 2015-06-27
2015-06-27 18:19:09 +02:00
Andrea Rendine c0864c27f3 Merge pull request #14 from doublespeakgames/master
Update 2015-05-29
2015-05-29 17:43:00 +02:00
Andrea Rendine 66f351faeb Merge pull request #13 from doublespeakgames/master
Update 2015-05-29
2015-05-28 23:16:55 +02:00
175 changed files with 55572 additions and 26682 deletions
+5
View File
@@ -2,3 +2,8 @@
*.TODO
*.mo
*.swp
.idea
lang/.DS_Store
.DS_Store
node_modules
img/Thumbs.db
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>A Dark Room</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
+4 -1
View File
@@ -35,7 +35,7 @@ Mozilla Public License Version 2.0
means any form of the work other than Source Code Form.
1.7. "Larger Work"
means a work that combines Covered Software with other material, in
means a work that combines Covered Software with other material, in
a separate file or files, that is not Covered Software.
1.8. "License"
@@ -258,6 +258,8 @@ end user license agreements (excluding distributors and resellers) which
have been validly granted by You or Your distributors under this License
prior to termination shall survive termination.
```
************************************************************************
* *
* 6. Disclaimer of Warranty *
@@ -299,6 +301,7 @@ prior to termination shall survive termination.
* limitation may not apply to You. *
* *
************************************************************************
```
8. Litigation
-------------
+5 -1
View File
@@ -35,9 +35,13 @@ a minimalist text adventure game for your browser
<td><a href="http://adarkroom.doublespeakgames.com/?lang=uk">Ukrainian</a></td>
</tr><tr>
<td><a href="http://adarkroom.doublespeakgames.com/?lang=vi">Vietnamese</a></td>
<td><a href="http://adarkroom.doublespeakgames.com/?lang=lt_LT">Lithuanian</a></td>
<td><a href="http://adarkroom.doublespeakgames.com/?lang=gl">Galician</a></td>
</tr>
</table>
or play the latest on [GitHub](http://doublespeakgames.github.io/adarkroom)
[![app store](http://i.imgur.com/M6jlJQH.png)](https://itunes.apple.com/us/app/a-dark-room/id736683061)
<a href="https://itunes.apple.com/us/app/a-dark-room/id736683061"><img src="http://i.imgur.com/DMdnDYq.png" height="50"></a>
<a href="https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom"><img src="http://i.imgur.com/bLWWj4r.png" height="50"></a>
<a href="https://store.steampowered.com/app/2460660/A_Dark_Room/"><img src="https://i.imgur.com/yz6cnU0.png" height="50"></a>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
+18 -1
View File
@@ -52,6 +52,14 @@ div#stores {
border: 1px solid #EEE;
}
div#blueprints:before {
background: #272823;
}
div#blueprints {
border: 1px solid #EEE;
}
div#weapons:before {
background: #272823;
}
@@ -173,10 +181,19 @@ body.noMask #buttons > .button {
color: black;
}
.endGame {
.endGame, .outro {
color:#272823;
}
#wait-btn {
border-color: black;
color: black;
}
#theEnd {
color: #272823;
}
.logo-icon > path {
stroke: white;
}
+36
View File
@@ -0,0 +1,36 @@
div#fabricateButtons {
position: relative;
top: 5px;
left: 0;
}
div#fabricateButtons::before {
content: attr(data-legend);
position: relative;
top: -5px;
}
div#blueprints::before {
content: attr(data-legend);
position: absolute;
top: -13px;
background-color: white;
}
div#blueprints {
position: absolute;
top: 0px;
right: 237px;
border: 1px solid black;
cursor: default;
padding: 5px 10px;
width: 200px;
}
div.blueprintRow {
position: relative;
}
div.blueprintRow .row_key {
float: none;
}
+69 -7
View File
@@ -46,9 +46,9 @@ div#wrapper {
}
div#saveNotify {
position: absolute;
top: 20px;
right: 0px;
position: fixed;
top: 10px;
right: 20px;
background: white;
opacity: 0;
}
@@ -64,6 +64,21 @@ div#header {
height: 20px;
}
.logo {
position: fixed;
left: 10px;
bottom: 0;
z-index: 10;
}
.logo-icon {
height: 40px;
}
.logo-icon > path {
stroke: black;
}
.menu {
position: fixed;
right: 10px;
@@ -132,7 +147,7 @@ span.customSelectOptions {
}
div.headerButton {
font-size: 18px;
font-size: 17px;
cursor: pointer;
float: left;
border-left: 1px solid black;
@@ -546,6 +561,53 @@ body.noMask #description {
margin-left: -50%;
}
.fighter.shield > .label::before {
content: '(';
position: absolute;
left: -8px;
}
.fighter.shield > .label::after {
content: ')';
position: absolute;
right: -8px;
}
.fighter.energised > .label {
font-size: 2em;
font-style: bold;
}
.fighter.meditation > .label {
font-size: 1.5em;
opacity: 0.3;
}
@keyframes exploding {
0% { transform: translate(0, 0); }
25% { transform: translate(-10px, 0); }
75% { transform: translate(10px, 0); }
100% { transform: translate(0, 0); }
}
.fighter.exploding > .label {
animation: exploding 200ms linear infinite;
}
.fighter.venomous > .label {
font-size: 1.5em;
font-style: bold;
}
.fighter.enraged > .label {
font-size: 1.5em;
font-style: italic;
}
.fighter.boost > .label {
font-style: italic;
}
#description .bullet {
padding: 0px 20px 0px 20px;
bottom: 25px;
@@ -563,12 +625,12 @@ body.noMask #description {
#lootButtons {
padding-bottom: 0px !important;
margin: 20px 0 0 5px;
margin: 20px 0 5px 0;
position: relative;
}
#lootButtons:before {
content: "take:";
content: attr(data-legend);
position: absolute;
top: -25px;
left: 0px;
@@ -586,7 +648,7 @@ body.noMask #description {
}
#dropMenu:before {
content: "drop:";
content: attr(data-legend);
border-bottom: 1px solid black;
display: block;
margin-bottom: 5px;
+10 -1
View File
@@ -6,7 +6,7 @@
padding: 5px 10px;
}
div#outfitting:before ,div#perks:before {
div#outfitting:before, div#perks:before {
content: attr(data-legend);
position: absolute;
top: -13px;
@@ -57,3 +57,12 @@ div.perkRow {
div.perkRow .row_key {
float: none;
}
#pathScroller {
padding-top: 10px;
position: relative;
top: -10px;
max-height: 660px;
width: 475px;
overflow-y: auto;
}
+20
View File
@@ -137,6 +137,19 @@
padding-top:10%;
}
.outroContainer {
padding-top:10%;
width: 800px;
margin: 0 auto;
}
.outro {
font-size: 1.5rem;
color: #FFF;
opacity: 0;
margin-bottom: 40px;
}
.endGame {
font-size:48px;
color:#FFFFFF;
@@ -152,3 +165,10 @@
.endGameOption:hover {
text-decoration: underline;
}
#wait-btn {
border-color: #fff;
color: #fff;
margin: 0 auto;
opacity: 0;
}
+8
View File
@@ -0,0 +1,8 @@
import express from 'express';
const PORT = 8080;
const app = express();
app.use(express.static('.'));
app.listen(PORT, () => console.log(`Listening on port ${PORT}`));
+24 -16
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/CreativeWork">
<html itemscope itemtype="https://schema.org/CreativeWork">
<head>
<meta charset="UTF-8"/>
<!--
@@ -7,7 +7,7 @@
==================
A minimalist text adventure by Michael Townsend and all his friends.
Inspired by Candy Box (http://candies.aniwey.net/)
Inspired by Candy Box (https://candybox2.github.io/candybox)
Contribute on GitHub! (https://github.com/doublespeakgames/adarkroom/)
-->
<title>A Dark Room</title>
@@ -16,8 +16,7 @@
<meta itemprop="name" property="og:title" content="A Dark Room" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="image_src" href="img/adr.png" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="https://www.dropbox.com/static/api/dropbox-datastores-1.1-latest.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>
if(!window.jQuery) {
document.write('<script src="lib/jquery.min.js"><\/script>')
@@ -48,18 +47,20 @@
</script>
<script src="script/Button.js"></script>
<script src="script/audioLibrary.js"></script>
<script src="script/audio.js"></script>
<script src="script/engine.js"></script>
<script src="script/state_manager.js"></script>
<script src="script/header.js"></script>
<script src="script/notifications.js"></script>
<script src="script/events.js"></script>
<script src="script/dropbox.js"></script>
<script src="script/room.js"></script>
<script src="script/outside.js"></script>
<script src="script/world.js"></script>
<script src="script/path.js"></script>
<script src="script/ship.js"></script>
<script src="script/space.js"></script>
<script src="script/space.js"></script>
<script src="script/fabricator.js"></script>
<script src="script/prestige.js"></script>
<script src="script/scoring.js"></script>
<!-- Event modules -->
@@ -67,7 +68,9 @@
<script src="script/events/room.js"></script>
<script src="script/events/outside.js"></script>
<script src="script/events/encounters.js"></script>
<script src="script/events/setpieces.js"></script>
<script src="script/events/setpieces.js"></script>
<script src="script/events/marketing.js"></script>
<script src="script/events/executioner.js"></script>
<script type='text/javascript'>
var oldIE = false;
@@ -82,18 +85,18 @@
<link rel="stylesheet" type="text/css" href="css/path.css" />
<link rel="stylesheet" type="text/css" href="css/world.css" />
<link rel="stylesheet" type="text/css" href="css/ship.css" />
<link rel="stylesheet" type="text/css" href="css/space.css" />
<link rel="stylesheet" type="text/css" href="css/space.css" />
<link rel="stylesheet" type="text/css" href="css/fabricator.css" />
<script src="script/localization.js"></script>
<!-- Google Analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-606P6J79WH"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
ga('create', 'UA-41314886-1', 'doublespeakgames.com');
ga('send', 'pageview');
gtag('config', 'G-606P6J79WH');
</script>
</head>
@@ -107,6 +110,11 @@
</div>
</div>
</div>
</div>
</div>
<a class="logo" href="https://www.doublespeakgames.com" alt="doublespeak games" target="_blank">
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 41.75 32.84375" class="logo-icon">
<path d="m 18.024533,28.5722 c 2.532365,-2.243 5.064679,-4.4861 7.596993,-6.7292 4.907813,0 9.815625,0 14.723438,0 0,-6.8136 0,-13.6272 0,-20.4408 -12.976656,0 -25.953312,0 -38.9299676,0 0,6.8136 0,13.6272 0,20.4408 3.2917905,0 6.5835811,0 9.8753716,0 -0.643311,2.2431 -1.286622,4.4861 -1.9299604,6.7292 2.5323644,-2.243 5.0646784,-4.4861 7.5969924,-6.7292 0.999066,0 1.998131,0 2.997197,0 -0.643345,2.2431 -1.286691,4.4861 -1.930064,6.7292 z" style="stroke-width:1.0;fill:none;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none"></path>
</svg>
</a>
</body>
</html>
+848 -714
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
.button{width: 100px !important;}
#outsidePanel .button{width: 115px !important;}
.eventPanel .button {width: 122px !important;}
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More