Fen Dweller
a919b98331
Separate the most recent log entry from the rest; darken older text slightly
5 years ago
Fen Dweller
5311056b65
Add info block to stories+tags for tooltips; force body to be the screen size
This causes things to overflow in-game. Will work on that next.
5 years ago
Fen Dweller
a36d966d3f
Stop passing the state around manually
It was a nice idea to explicitly pass state to everything,
but it didn't really provide any benefits (we only ever have one
game going at once), the rule was already violated (some places
used the global instance of state), and it added a lot of clutter.
Also removed the unused entity.js file.
5 years ago
Fen Dweller
cd71bbfd0c
Version number bump
5 years ago
Fen Dweller
e2e0afb37c
Add random print function, plus a use in fen-snack
6 years ago
Fen Dweller
6810672d2d
Consolidate info update into one function; add area info
6 years ago
Fen Dweller
83c2457576
Fixed wrong version number
6 years ago
Fen Dweller
2f6e27bd1e
Audio can be preloaded before the game begins
6 years ago
Fen Dweller
24208832d2
Added new sounds
6 years ago
Fen Dweller
46320b87be
Fixed some properties not resetting on quit
6 years ago
Fen Dweller
083ee3bfa3
Removed unnecessary check
6 years ago
Fen Dweller
79dc66f1ec
Move buttons are no longer re-created every time the game refreshes
6 years ago
Fen Dweller
0e0a601ac4
Added tags to each story
6 years ago
Fen Dweller
3ee4c9a4cb
Added a function to introduce the story
6 years ago
Fen Dweller
9715a6c272
Significantly improved the fen-snakck story
6 years ago
Fen Dweller
1b451e853b
Made stats more generic
6 years ago
Fen Dweller
4d1208af7d
Added background color control.
6 years ago
Fen Dweller
454b4b7627
Cleaned up timers; stories have a setup function. Added digestion to the fen-snack story
6 years ago
Fen Dweller
bae70b9663
Timers can be associated with rooms or ids now
6 years ago
Fen Dweller
64cf846ea2
Added a basic timer system
6 years ago
Fen Dweller
6f641eac69
Worked on the Fen story. Moves have descriptions. Added exit function equivalents for exits themselves
6 years ago
Fen Dweller
d96dc56004
Sounds stop, log clears, and state resets when quitting
6 years ago
Fen Dweller
b996b09ce6
Game starts at a place defined by the story
6 years ago
Fen Dweller
7498f68148
Added a menu system
6 years ago
Fen Dweller
1ed8da9abb
Made the load screen a bit nicer
6 years ago
Fen Dweller
dbd3a5afc4
Created a very basic story selector
6 years ago
Fen Dweller
b8b9f836ff
Some more info. Moving triggers a refresh
6 years ago
Fen Dweller
f886af0873
updateRoom just takes the state, which has a location. Working on game logic
6 years ago
Fen Dweller
76a82d3ab2
Log scrolls, has pretty scrollbar
6 years ago
Fen Dweller
db1121d989
Audio information is included with each game. Reorganized a bit.
6 years ago
Fen Dweller
08865498f4
Added hooks for room exits
6 years ago
Fen Dweller
664325b3c2
World is chosen at the start. Can have multiple worlds
6 years ago
Fen Dweller
14753dc3e2
Actions are described
6 years ago
Fen Dweller
d5bd4b50aa
Worked on actions.
6 years ago
Fen Dweller
b3cb1c60b8
Added print fn, replaced innerText w/ textContent, worked on more conditions
6 years ago
Fen Dweller
6e8fb9b8d0
Worked on conditional exits
6 years ago
Fen Dweller
7e144db282
Added a basic demo of sound
6 years ago
Fen Dweller
d1819f3876
Set up a caching system
6 years ago
Fen Dweller
1f5d09247c
Began work on the audio framework
7 years ago