Eevee (Evelyn Woods)
019f6a78bc
Move hook-pulling code to fix several ordering issues
2020-12-24 09:29:25 -07:00
Eevee (Evelyn Woods)
7b54f88981
Let dynamite blow up even wired floor
2020-12-24 09:20:14 -07:00
Eevee (Evelyn Woods)
d3067173d6
Don't search for an exit direction from the red teleporter you entered
2020-12-24 08:01:43 -07:00
Eevee (Evelyn Woods)
afe68e1b20
Fix fire to not kill ghosts, again
2020-12-24 07:57:18 -07:00
Eevee (Evelyn Woods)
1727df4e38
Allow ghosts to pass through chip sockets at any time
2020-12-24 07:08:12 -07:00
Eevee (Evelyn Woods)
effa166c67
Prevent bestowal of red keys
2020-12-24 07:06:04 -07:00
Eevee (Evelyn Woods)
0e1e577281
Allow doppelgangers to also erase animations
2020-12-24 07:03:26 -07:00
Eevee (Evelyn Woods)
d567a2553e
Disallow pulling unpushable blocks; play a sound on bowling ball collision
2020-12-24 06:55:50 -07:00
Eevee (Evelyn Woods)
1a7dc3e737
Implement a couple more compat flags and fix some typos with the dialog
2020-12-24 06:30:22 -07:00
Eevee (Evelyn Woods)
1968420027
Improve the pack handling experience somewhat
...
- Include links for the stock packs
- Show completion amount and total time for played packs
- Expose a list of all other packs the player has played
- Allow forgetting a pack
- Jump to the current level when reopening a pack
- Highlight the current level in the level browser, and scroll to it
2020-12-24 05:36:57 -07:00
Eevee (Evelyn Woods)
a8800838d4
Add a loading and error screen; also include compat CSS oops
2020-12-24 03:38:13 -07:00
Eevee (Evelyn Woods)
756a563135
Add a (working!) compatibility dialog, and a ruleset dropdown to the bulk tester
2020-12-24 01:51:27 -07:00
Eevee (Evelyn Woods)
2381bd38b9
Add compat switches for using the CC2 timing and update order
...
Other gameplay changes/fixes that crept in:
- Ghosts no longer pick up red keys
- Doppelgangers now read their movement directly from players, so no
intermediate variables are necessary
- Spring mining is no longer possible
- Push recursion is detected and prevented
- Bowling balls will also blow up anything that runs into them
2020-12-23 04:30:10 -07:00
Eevee (Evelyn Woods)
1aa406fc7b
Move sliding effects to decision time
2020-12-21 03:50:03 -07:00
Eevee (Evelyn Woods)
bf743caee5
Fix regression with dropping items on force floors
2020-12-21 00:34:31 -07:00
Eevee (Evelyn Woods)
6ea46c238c
Fix doppelganger moves lingering after a player switch/transmog
2020-12-21 00:29:14 -07:00
Eevee (Evelyn Woods)
42dd4b9ce6
Make ghosts with fire boots erase fire and blobs not move between canopies
2020-12-21 00:21:32 -07:00
Eevee (Evelyn Woods)
151f66a0fb
Make blobs spread slime onto floor
2020-12-21 00:05:12 -07:00
Eevee (Evelyn Woods)
b0aeee6ff0
Allow swapping and cycling even while sliding
2020-12-21 00:04:51 -07:00
Eevee (Evelyn Woods)
077a809168
Possibly fix update rate to be more consistent
2020-12-20 20:23:59 -07:00
Eevee (Evelyn Woods)
74eaab3fde
Allow disabling undo for circuitry, too
2020-12-19 21:21:28 -07:00
Andrew Ekstedt
8986a497fd
Disable undo during bulk testing
...
Undo generates a lot of garbage. Faster not to.
CC1 bulk test on my laptop:
Firefox 77 speeds up from 61s to 41s
Chrome barely moves, from 34s to 28s
2020-12-19 19:12:28 -08:00
Eevee (Evelyn Woods)
99af6025ee
Fix ice blocks to play an animation when destroyed by fire
2020-12-19 19:50:20 -07:00
Eevee (Evelyn Woods)
53838cbdd5
Fix ghosts to ignore force floors too
2020-12-19 19:44:57 -07:00
Eevee (Evelyn Woods)
a413d1afc2
Fix bowling balls to start rolling immediately
2020-12-19 19:25:32 -07:00
Eevee (Evelyn Woods)
296d1a356b
Fix wired cloner rotation to be permanent
2020-12-19 19:17:14 -07:00
Eevee (Evelyn Woods)
9391052011
Fix a typo and make Cerise block players
2020-12-19 18:48:45 -07:00
Eevee (Evelyn Woods)
86c4561647
Add a basic implementation of the hook
2020-12-19 18:43:30 -07:00
Eevee (Evelyn Woods)
f6bf33274f
Fix some collision issues with ghosts and timing of dynamite
2020-12-19 18:24:30 -07:00
Eevee (Evelyn Woods)
78800214d0
Rovers can pick up items and push blocks
2020-12-19 17:39:20 -07:00
Eevee (Evelyn Woods)
aa0bb5cbc2
Bowling balls still blow up actors when sliding
2020-12-19 17:33:26 -07:00
Eevee (Evelyn Woods)
148beb7d74
Implement all-players-exit behavior; touch up locks, buttons, logic gates; fix demo saving
2020-12-19 17:16:50 -07:00
Eevee (Evelyn Woods)
78f59b38c1
Rewrite wiring code and fix basically all issues with it; faster, undoable, etc.
2020-12-18 19:58:12 -07:00
Eevee (Evelyn Woods)
48f085d0df
Remove Level.cells in favor of linear_cells
2020-12-17 15:51:57 -07:00
Eevee (Evelyn Woods)
2fa35336cb
Allow running in debug mode automatically when run from localhost
2020-12-17 14:47:30 -07:00
Andrew Ekstedt
cf90c7ac67
Minor quality of life improvements for the bulk tester
...
- Jump to result by clicking on the progress bar
- Include level titles in the progress bar hover text
Makes it a little easier to navigate lengthy test results.
2020-12-16 21:51:14 -08:00
Eevee (Evelyn Woods)
afec553961
Flame jets only kill actors that aren't moving
2020-12-16 21:25:01 -07:00
Eevee (Evelyn Woods)
7e262feeb6
Delete some old code
2020-12-16 21:24:03 -07:00
Eevee (Evelyn Woods)
6aed1fa38e
Improve rotation of frame blocks on railroads
2020-12-16 21:23:37 -07:00
Eevee (Evelyn Woods)
4d5c1b4332
Flame jets destroy anything on them when turned on
2020-12-16 21:01:47 -07:00
Eevee (Evelyn Woods)
cace6d4180
Allow CC2 actions anytime the player can move, including on force floors
2020-12-16 20:53:42 -07:00
Eevee (Evelyn Woods)
c3889399fd
Add support for wired transmogrifiers
2020-12-16 20:19:38 -07:00
Eevee (Evelyn Woods)
d4da572940
Fix rovers once and for all; make helmet work more often; rename some stuff; simplify attempt_step
2020-12-16 20:05:36 -07:00
Eevee (Evelyn Woods)
7cf92f7841
Set slide mode twice, to handle the obscure case of grabbing cleats on ice
2020-12-16 14:59:40 -07:00
Eevee (Evelyn Woods)
408e4cd9f6
Yellow tanks give up if blocked
2020-12-16 14:28:11 -07:00
Eevee (Evelyn Woods)
2eb7c4cff9
Fix some bugs in rover collision (and let them go on dirt/gravel); very very close now
2020-12-16 14:18:00 -07:00
Eevee (Evelyn Woods)
b42b091181
Fix yellow tank timing; make ghosts go through doors, not stamp dirt
2020-12-16 14:15:32 -07:00
Eevee (Evelyn Woods)
6587cbf7f0
Fix detecting presses of action keys, again
2020-12-16 01:39:17 -07:00
Eevee (Evelyn Woods)
af7d2c741b
Give the bulk tester a category for early exit
2020-12-16 01:38:45 -07:00
Eevee (Evelyn Woods)
a91d7f24a1
Fix when we remember the player's move
2020-12-16 01:14:49 -07:00
Eevee (Evelyn Woods)
1021f30fb8
Partially fix rendering of crossed wires
2020-12-16 00:21:28 -07:00
Eevee (Evelyn Woods)
f0e702e397
Fix display of errored levels in bulk tester
2020-12-16 00:12:43 -07:00
Eevee (Evelyn Woods)
e48c2ed457
Doppelgangers block other doppelgangers, and cannot exit
2020-12-16 00:09:45 -07:00
Eevee (Evelyn Woods)
1273843f26
Add CC2's single-frame delay after a light switch is pressed
2020-12-15 23:43:21 -07:00
Eevee
341296dc3f
Merge pull request #11 from magical/grade
...
Add grade report to the bulk tester
2020-12-15 23:00:56 -07:00
Eevee (Evelyn Woods)
55f0d51e1c
Borrow some comments from magical's PR that they did at the same time
2020-12-15 23:00:22 -07:00
Eevee (Evelyn Woods)
62eb1a86e4
Fix some minor wire bugs: NOT/counter/pink button power drawing, circuit block motion, nested wire tunnels
2020-12-15 22:57:32 -07:00
Eevee (Evelyn Woods)
3790e0f07e
Allow wired cloners to try other directions
2020-12-15 21:27:58 -07:00
Eevee (Evelyn Woods)
daa3581be0
Fix pressing CC2 actions while moving
2020-12-15 21:14:38 -07:00
Andrew Ekstedt
55bf250c63
Add grade report to the bulk tester
2020-12-15 20:08:35 -08:00
Eevee (Evelyn Woods)
eec7ab2e1a
Fix rover behavior at last; lesson 5 now syncs
2020-12-15 17:50:13 -07:00
Eevee (Evelyn Woods)
25b4b32f94
Add teleport overriding and seriously clean up teleport code
2020-12-15 16:44:37 -07:00
Eevee (Evelyn Woods)
7c82a4cdf9
Only do CC2 actions per press, not per held tic
2020-12-15 01:07:02 -07:00
Eevee (Evelyn Woods)
0f02e270f2
Catch level parse errors in the bulk test dialog
2020-12-15 00:55:40 -07:00
Eevee (Evelyn Woods)
07c9a83f75
Fix crash with teeth and Cerise
2020-12-15 00:48:28 -07:00
Eevee (Evelyn Woods)
bf81738e19
Partly implement helmet; get rover very close to correct (?)
2020-12-15 00:44:07 -07:00
Eevee (Evelyn Woods)
55abe8b53a
Allow the bowling ball to slide normally
2020-12-15 00:26:00 -07:00
Eevee (Evelyn Woods)
f858668ca8
Clumsily teach bowling balls to destroy actors
2020-12-15 00:10:23 -07:00
Eevee (Evelyn Woods)
2d7df413ee
Allow ghosts to pass through thin walls
2020-12-14 23:59:38 -07:00
Eevee (Evelyn Woods)
dae66de160
Thieves will, however, take bribes from anyone
2020-12-14 23:49:47 -07:00
Eevee (Evelyn Woods)
8b60a44b09
Fix loading of the initial entry direction for railroads
2020-12-14 23:39:07 -07:00
Eevee (Evelyn Woods)
2103c649f6
Implement a few quirks of ghost movement
2020-12-14 23:35:11 -07:00
Eevee (Evelyn Woods)
6d4326fe5b
Thieves only steal from the player
2020-12-14 23:29:05 -07:00
Eevee (Evelyn Woods)
3e18e38f15
Add rough implementations of dynamite and bowling ball
2020-12-14 23:25:48 -07:00
Eevee (Evelyn Woods)
9ade84c6fe
Generally only lose if the real player dies, not a doppelganger
2020-12-14 23:20:46 -07:00
Eevee (Evelyn Woods)
bf3c501353
Fix yellow tank behavior to be faux simultaneous
2020-12-14 23:14:31 -07:00
Eevee (Evelyn Woods)
a529414e42
Cycle an RFF after a failed override; move slide turnaround to move phase
2020-12-14 22:06:42 -07:00
Eevee (Evelyn Woods)
e4ab7dde86
Fix loading custom floors with junk in their modifier's high nybble
2020-12-14 22:06:01 -07:00
Eevee (Evelyn Woods)
a865647eae
Non-players move instantly while sliding
2020-12-14 17:52:59 -07:00
Eevee (Evelyn Woods)
f02fa1a9bb
Split up the wiring updates
2020-12-14 17:42:31 -07:00
Eevee (Evelyn Woods)
fea93aa9ec
Fix wire tool only working in the upper-left quadrant
2020-12-14 17:32:48 -07:00
Eevee (Evelyn Woods)
00ac94ac8c
Add a further hack atop the cooldown delay hack to fix adjacent trap release
2020-12-14 17:25:15 -07:00
Eevee (Evelyn Woods)
c34aaadf06
Attempt, unsuccessfully, to implement ice block melting
2020-12-14 17:07:35 -07:00
Eevee (Evelyn Woods)
efd25294ac
Restore the notion of an out-of-turn move
...
This fixes a lot of replay sync issues with cloners; in CC2, actors
advance only one frame (1/3 tic) at a time, so when a cloned object
happens to get a turn later in the same tic that it was cloned, it only
ends up 1 frame ahead of everything else. Since actors can only begin
moves on tic-aligned frames, even though it does get where it was going
sooner, it has to wait for a frame before moving, so the advantage
doesn't change anything.
The problem is that LL counts movement in tics, not frames, so that kind
of bonus turn puts the clone an entire tic ahead which can gum things
up.
This is still not perfect, but it's much closer.
2020-12-14 17:05:01 -07:00
Eevee (Evelyn Woods)
beb5a5c743
Change the debug mode trigger to a regular click
2020-12-14 17:02:14 -07:00
Eevee (Evelyn Woods)
f3f73a5e41
Move input handling into Level and clean it up a ton; add a bulk test gizmo
2020-12-14 17:02:14 -07:00
Eevee (Evelyn Woods)
189ab96e3c
C2G strings can be empty
2020-12-13 23:56:13 -07:00
Eevee (Evelyn Woods)
16f11f3a9b
Exits block CC1 blocks
2020-12-13 22:22:22 -07:00
Eevee (Evelyn Woods)
c8ed4b9fba
Fix the spelling of Chuck Sommerville's name lol whoops
2020-12-13 20:43:01 -07:00
Eevee (Evelyn Woods)
1c9dee1213
Add support for recording replays, with a bunch of refactoring along the way
2020-12-13 20:36:12 -07:00
Eevee (Evelyn Woods)
85a81878cc
Add a button to download a level from the editor
2020-12-13 16:23:45 -07:00
Eevee (Evelyn Woods)
df14b62b94
Auto-grow the map save buffer when necessary; do less slicing
2020-12-13 16:09:04 -07:00
Eevee (Evelyn Woods)
5e6784c235
Fix encoding and decoding of swivels
2020-12-13 15:56:24 -07:00
Eevee (Evelyn Woods)
0f5b8098f6
Split teleporting into its own pass, like Lynx
2020-12-13 02:23:14 -07:00
Eevee (Evelyn Woods)
93954135d2
Set splash delay back to 6; is correct after all I guess
2020-12-13 01:54:52 -07:00
Eevee (Evelyn Woods)
90008c3a89
Make the player push blocks at decision time
...
It turns out the player explores all their decisions in a very physical
way, which is the real source of block slapping and also means the
player can push blocks before anything else can move, regardless of
actor order.
This fixes at least half a dozen CC1 replays, which is just
mindboggling.
2020-12-13 00:39:36 -07:00
Eevee (Evelyn Woods)
bd4c04c1d8
Fix wiring order; relax player/monster collision
2020-12-12 21:00:28 -07:00
Eevee (Evelyn Woods)
f95913b6d8
Teeth chase the player's apparent position
2020-12-12 20:24:28 -07:00
Eevee (Evelyn Woods)
3a04b6276c
Go back to toggling green objects instantly
2020-12-12 19:22:04 -07:00
Eevee (Evelyn Woods)
4d23acb27e
Add on_approach; use it to erase animations and fix popdown floors
2020-12-12 19:00:58 -07:00