Eevee (Evelyn Woods)
5f80e880c2
Add shortcuts to zoom in/out and reset the zoom
2024-04-22 09:07:55 -06:00
Eevee (Evelyn Woods)
3a9e7c1cd8
Split the adjust tool into rotate/adjust
...
It was trying to do too many things. Also, the adjust tool is now free
to operate on actors, and can toggle the form of a number of them.
- Rearranged the palette to put colored tiles in canonical key order,
finally
- Expanded the size of the SVG overlay slightly so hover effects don't
get cut off at the level border
- Fixed some MouseOperation nonsense by simply using the same object
when the same operation is bound to both mouse buttons
- Added a verb and preview to the adjust tool, in the hopes of making it
slightly more clear what it might do
- Enhanced the adjust tool to place individual thin walls and frame
arrows
2024-04-22 00:24:07 -06:00
Eevee (Evelyn Woods)
abbda898c7
Add support for gray buttons to the adjust tool
2024-04-21 03:53:57 -06:00
Eevee (Evelyn Woods)
1170c5970e
Fix blank circuit blocks? Although they seemed to work already?
2024-04-21 03:51:44 -06:00
Eevee (Evelyn Woods)
39f0f20dc6
Update implicit button connections when editing, I hope
2024-04-21 02:30:34 -06:00
Eevee (Evelyn Woods)
04d6b3dddb
Refactor circuit-tracing to be more in algorithms
...
This should make it more usable in the editor.
2024-04-21 00:39:23 -06:00
Eevee (Evelyn Woods)
c45ebe60e1
Run replays in reverse order, in the hopes of a teeny speedup
2024-04-21 00:38:34 -06:00
Eevee (Evelyn Woods)
b360fa3998
Change sand slowdown from 100% to 50%, and give it the gravel sound
2024-04-20 03:34:14 -06:00
Eevee (Evelyn Woods)
29fbb56c88
Update grass description
2024-04-20 03:29:29 -06:00
Eevee (Evelyn Woods)
a31c8b8a86
Update icon to the new (current) palette
2024-04-20 03:28:22 -06:00
Eevee (Evelyn Woods)
3dfa9bd361
Continue to fuck around with the color scheme a bit at a time
2024-04-20 03:27:11 -06:00
Eevee (Evelyn Woods)
43d5d65366
Fix loading of c2g zips, oops
2024-04-20 02:56:47 -06:00
Eevee (Evelyn Woods)
0098660d7b
Change editor export to use fragments
2024-04-20 02:13:05 -06:00
Eevee (Evelyn Woods)
cd2d28dedd
Switch to using fragment; support direct linking to packs and levels
...
That includes direct loading from GliderBot, though there is no UI for
this at the moment, and the URL is also not updated live.
2024-04-20 01:46:01 -06:00
Eevee (Evelyn Woods)
b6f38f835d
Enable zlib compression of exported levels
2024-04-20 01:45:25 -06:00
Eevee (Evelyn Woods)
b44da28020
Try fruitlessly to make c2g parsing more tolerant of mistakes
2024-04-20 01:44:32 -06:00
Eevee (Evelyn Woods)
06ceb827f3
Don't let the player get stuck in an inactive red teleporter
2024-04-19 21:51:34 -06:00
Eevee (Evelyn Woods)
17f4e77054
Fix force-proof players to still bonk on force floors
...
Fixes the replay of Chaos to Metastable, my white whale!
2024-04-19 21:41:57 -06:00
Eevee (Evelyn Woods)
939c71aab7
Don't die to a monster that was just hooked
...
This interaction sounds ridiculous but it is real CC2 nonsense. Fixes
the Hoopla replay!
2024-04-19 00:24:58 -06:00
Eevee (Evelyn Woods)
af57e8a33e
Remove the raft from the editor
2024-04-18 02:08:55 -06:00
Eevee (Evelyn Woods)
e3d8a0f669
Fix the floodfill tool
2024-04-18 02:08:17 -06:00
Eevee (Evelyn Woods)
3cf81b53ad
Improve the connection tool somewhat; show implicit connections
...
For example, you can now make connections with the connection tool.
Remarkable.
Unfortunately, implicit connections aren't updated as you edit the level
yet.
Also came with some refactors for searching a level and whatnot.
2024-04-18 00:56:20 -06:00
Eevee (Evelyn Woods)
5e2dfdd926
Allow clicking green buttons in the editor; move cursor into MouseOperation
2024-04-17 20:30:23 -06:00
Eevee (Evelyn Woods)
c624964b76
Oops! Fix calls to blocks_leaving
2024-04-17 19:46:50 -06:00
Eevee (Evelyn Woods)
e9650db4d8
Hardcode green toggles a bit less, and shrink the undo size
2024-04-17 19:46:29 -06:00
Eevee (Evelyn Woods)
5aeeb8a974
Touch up some tile tooltips; rearrange experimental tiles
2024-04-17 03:52:39 -06:00
Eevee (Evelyn Woods)
e11a5956bd
Make hearts and mines transmogrify into each other
2024-04-17 03:51:47 -06:00
Eevee (Evelyn Woods)
618f292ec9
Add an xray view and a "matching button" sprite for the sokoban blocks
2024-04-17 03:51:11 -06:00
Eevee (Evelyn Woods)
849010fc75
Add some saturation to the palette
...
Opinions are mixed, but not mine. I like this.
2024-04-17 03:50:19 -06:00
Eevee (Evelyn Woods)
2439048f59
Fix transforming selection + add more transforms
2024-04-17 02:24:06 -06:00
Eevee (Evelyn Woods)
ed5f76221b
Add support for subtracting from the selection
2024-04-17 01:22:45 -06:00
Eevee (Evelyn Woods)
eaa3bf6965
Spruce up the editor toolbar
...
Ditch the textured backgrounds (hard to read), add some icons for the
controls, and recolor the icons themselves to the new tentative palette.
2024-04-17 01:09:55 -06:00
Eevee (Evelyn Woods)
ba11e48c7d
Highlight the most interesting button in a dialog
2024-04-16 23:58:47 -06:00
Eevee (Evelyn Woods)
7e0c1b0337
Improve the editor's selection tool (slightly WIP)
...
It now supports arbitrary regions! The tool itself still makes
rectangles, but you can shift-drag to add to the selection.
It also distinguishes visually between a floating selection and not, is
more easily visible against certain tile backgrounds and at small zoom
levels, and, I don't know, probably some other stuff.
2024-04-16 23:55:35 -06:00
Eevee (Evelyn Woods)
48482b2a65
Recolor the whole thing to pinkish-orange
...
You know. Lexy colors. Seems to make sense.
Also fixed several places I just hated the color scheme, such as the
hover color in popup menus and the title bar in dialogs. Woohoo.
2024-04-16 23:44:28 -06:00
Eevee (Evelyn Woods)
e1e99e73e7
Fix circuit blocks; distinguish floor wiring from black button wiring
2024-04-16 21:09:46 -06:00
Eevee (Evelyn Woods)
3802b10956
Visually indicate when a floor is in an odd wiring state
...
This distinguished a regular crossed floor from what you get when
blowing up e.g. a blue or red teleporter.
Fixes #60 .
2024-04-16 20:48:50 -06:00
Eevee (Evelyn Woods)
bef5550a95
Make mouse operations always exist, not only while clicking
...
This allows for multi-eyedrop (where right-clicking the same cell cycles
through everything in that cell) to finally work.
Also fixes #72 , I think.
2024-04-16 05:23:56 -06:00
Eevee (Evelyn Woods)
933d20d559
Factor out the list of pushable tiles
2024-04-13 22:06:00 -06:00
Eevee (Evelyn Woods)
cddc274701
Don't let key repeat interfere with the restart timer
2024-04-12 19:03:24 -06:00
Eevee (Evelyn Woods)
fe4c111fa9
Thread the bulk tester
...
Four threads makes it twice as fast. Go figure.
2024-04-12 18:29:49 -06:00
Eevee (Evelyn Woods)
a06f53af29
Emit wire pulses in reverse reading order
...
Fixes the replay for CC2LP1 #67 Before My Very Eyes.
2024-04-12 04:00:37 -06:00
Eevee (Evelyn Woods)
52bc2bdf8e
Show the entire blast radius of dynamite
2024-04-12 01:08:16 -06:00
Eevee (Evelyn Woods)
f7b8d3c7bc
Whoops I meant to spice up the score, not the label
2024-04-12 00:07:07 -06:00
Eevee (Evelyn Woods)
01dd4eb1a8
Show best score on the level overlay; touch up scorecard and mobile CSS a bit
2024-04-11 23:49:18 -06:00
Eevee (Evelyn Woods)
a3b283b51e
Allow holding R (for one second) to restart the level
2024-04-11 23:41:48 -06:00
Eevee (Evelyn Woods)
1df89884ed
Implement MS-style instant movement for some reason
2024-04-11 03:50:58 -06:00
Eevee (Evelyn Woods)
2b35dd5bce
Swap turntable colors to sort of match teleporters; increase gate margins
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
ebe848ec99
Fix trap timing on Lynx
...
CC2's goofy `on_stand` on arrival behavior made them extra extra fast,
which is too fast.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
9bf418258f
Convert several uses of on_begin to on_ready
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
65664bba7b
Simplify dynamite spawn code
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
d7e1b969e8
Fix this errant comma and shame myself
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
fd590f8353
Slightly reduce memory usage (?) for undoing transmutation
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
f417162f6f
Refactor bombs to use on_stand instead of on_begin
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
25cb6f2f05
Outdent the messy push-handling block in can_actor_enter_cell
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
f422b4b395
Add a compat flag for pushing a sliding block
...
The default is now what I /think/ is the Lynx behavior: try to push the
block first, and only give it a pending direction if the push fails.
CC2 always uses the pending mechanism.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
f896e1bdfd
Fix Lynx's no-backwards-overriding; remove the force-floor-on-arrive flag
...
Not sure the latter one is even correct at all; it completely breaks
ICEHOUSE, for one. I guess it made more sense with the previous hacky
implementation of force floors applying at the start of the game.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
80edfa1ae9
Clear the pending flags in more sensible places
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
64ca8f008c
Restore standing on arrival
...
A few CC2LP1 replays desynced, so, I guess this is right actually.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
2ee86b50d2
Remove slide_automatically
...
Since sliding happens either on cell arrival or in the actor's idle
phase, the actor will always have a pending slide by the end of a tic,
so this code doesn't actually do anything.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
f140804713
Don't on_stand() on arrival; fix the CC1 force-floor compat flag
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
a1f357f317
Make sliding be the tiles' responsibility
...
This seems to simplify things and also explain the CC2 semantics: force
floors activate while being stood on (which happens, I guess, during
idle), so it applies to objects that start the level on force floors.
This was probably done to make force floor flipping work, too. On the
other hand, ice still only activates when being stepped on.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
7ba261c7d9
Fix some style nits; add some comments
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
7a9e3a6eb1
Check forced movement when stepping on a cell, not during movement
...
This does simplify things a bit, and it also fixes the replay for CC2LP1
level 160, Sneak Around. It breaks three Voting replays, unfortunately,
but doesn't break anything else, so I'm inclined to call it better.
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
b0650e7d6e
If you select exactly the compat flags matching a ruleset, highlight that button
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
6d6f4f7c47
Add CCLP5
2024-04-11 02:24:34 -06:00
Eevee (Evelyn Woods)
15a8be1c15
Play sounds very near the player at full volume, but spatialize chip pickups
2021-12-22 23:58:14 -07:00
Eevee (Evelyn Woods)
a088e50b3b
Fix a typo; add a suggestion about hard refreshing a broken game
2021-12-22 22:31:37 -07:00
Eevee (Evelyn Woods)
1e02c6aa6f
Complete the pgchip ice block emulation ( fixes #34 )
2021-12-22 22:30:59 -07:00
Eevee (Evelyn Woods)
2c95c7eacd
Update MS compat so bugs and walkers still avoid fire ( fixes #69 ) (nice)
2021-12-22 22:09:13 -07:00
Eevee (Evelyn Woods)
b4ebdf069d
Add a MegaZeux-like ambient animation to ice tiles
2021-12-22 21:37:46 -07:00
Eevee (Evelyn Woods)
45dbeacc4a
Support the old Web Audio API for Firefox's sake
2021-12-22 21:34:30 -07:00
Eevee (Evelyn Woods)
6d580af817
Use the inactive tile for electrified floors by default ( fixes #67 )
2021-12-22 21:25:01 -07:00
Eevee (Evelyn Woods)
bcbb536bdc
Fix a couple bugs with drawing double-size tiles
2021-12-22 21:13:19 -07:00
Eevee (Evelyn Woods)
c8de4edfff
Add spatial audio and sound effect captions
2021-12-22 20:55:15 -07:00
Eevee (Evelyn Woods)
77afca5799
Fix handling of blocked diagonal movement ( fixes #86 )
...
I had it mostly right based on experimentation, but had the conditions
inside-out, which allowed this case to slip through the cracks. This
makes the Settlement of Arrakis replay sync.
2021-12-03 07:16:59 -07:00