Commit graph

182 commits

Author SHA1 Message Date
David Thompson
d68b5d0491 Speed up wipe effect.
Also, handle when user spams the undo key better.
2024-05-23 16:41:11 -04:00
David Thompson
bed3604685 Adjust emitters to not produce side-effects in 'wire-state' method. 2024-05-23 16:34:06 -04:00
David Thompson
a5e9011678 Add moon and eye to credits map. 2024-05-23 16:34:06 -04:00
Juliana Sims
13aa8606a9 Implement interval logic for emitters 2024-05-23 16:28:53 -04:00
David Thompson
65076c40f3 Add sound effects for switched emitters. 2024-05-23 15:08:03 -04:00
Juliana Sims
ade893c45a Minor fix for credits tiles 2024-05-23 14:45:25 -04:00
Juliana Sims
c9f737ef28 Add comment clarifying logic gate index increment 2024-05-23 14:30:12 -04:00
Juliana Sims
73ffad19f0 Implement orientation for logic gates
Note that orientation is called "direction" because it's named according to the
direction of electron flow.
2024-05-23 14:20:15 -04:00
David Thompson
7803eaba1c Slow down credits scroll now that I'm done testing. 2024-05-23 14:08:02 -04:00
David Thompson
4ec1666a1d Add end-game credits sequence. 2024-05-23 14:05:24 -04:00
Juliana Sims
91ba2fab66 Refactor logic gates to reduce code duplication 2024-05-23 13:19:20 -04:00
Juliana Sims
50b6c67db8 Add ^switched-emitter, test in level 4 2024-05-23 12:35:50 -04:00
David Thompson
aa8a302fcb Add simple wipe effect for undo. 2024-05-23 12:06:42 -04:00
David Thompson
98ae464ab9 Add script scheduler and pre/post visual effects system. 2024-05-23 11:44:24 -04:00
Christine Lemmer-Webber
67c25d93cb
Update level to have eye and moon 2024-05-23 10:14:59 -04:00
Christine Lemmer-Webber
b2d6d71b6a
Make new wall corners brickz 2024-05-23 10:14:52 -04:00
Christine Lemmer-Webber
02c331fa53
Slight tweak to star stuffs 2024-05-23 10:12:50 -04:00
Christine Lemmer-Webber
2273002d91
Use stars for background 2024-05-23 10:11:30 -04:00
Christine Lemmer-Webber
c658a7b783
My god. It's full of stars! 2024-05-23 10:11:17 -04:00
Christine Lemmer-Webber
124de08764
Use the new corner tiles 2024-05-23 09:53:00 -04:00
Christine Lemmer-Webber
0cd4b3e4b8
New corner tiles 2024-05-23 09:52:47 -04:00
David Thompson
2b6afada4d Add emitter sound effect. 2024-05-23 09:10:25 -04:00
David Thompson
0aa32798ae Add floor switch sound effect. 2024-05-23 09:01:47 -04:00
David Thompson
d4065aa2bf Add gate and warp sound effects. 2024-05-23 07:48:53 -04:00
David Thompson
a24d737bc7 Allow any actor to push an event to the UI. 2024-05-22 22:00:48 -04:00
David Thompson
bcb235bd82 Allow the same sound effect to be played many times simultaneously. 2024-05-22 21:30:06 -04:00
David Thompson
e09efb46a0 Add media.ended binding. 2024-05-22 21:29:50 -04:00
David Thompson
111eb33429 Spawn ghost gems where gems used to be. 2024-05-22 18:34:29 -04:00
David Thompson
2dc354229d Draw player dead sprite. 2024-05-22 18:21:45 -04:00
David Thompson
9b88cb19c0 Add electron warp terminals. 2024-05-22 17:40:23 -04:00
Christine Lemmer-Webber
747a1d285a
bookshelf attempt 2024-05-22 16:59:44 -04:00
Christine Lemmer-Webber
97d272160f
Remove background on terminal 2024-05-22 16:29:07 -04:00
Christine Lemmer-Webber
96dfcca15a
Give it a bit of shadow 2024-05-22 16:27:54 -04:00
Christine Lemmer-Webber
547cc78cc9
Ground wire terminal point 2024-05-22 16:25:08 -04:00
Christine Lemmer-Webber
143559ad01
Bombs? Lamp oil? It's yours my friend... 2024-05-22 15:21:50 -04:00
Juliana Sims
311c4c2ed8 Ensure player cannot walk on electric switches 2024-05-22 15:07:20 -04:00
Juliana Sims
815c3c809a Render background and electron for logic gates 2024-05-22 14:43:40 -04:00
David Thompson
793a9ef027 Reduce size of exported maps. 2024-05-22 14:22:27 -04:00
David Thompson
f1afd9e177 Player always ticks first. 2024-05-22 13:36:32 -04:00
Juliana Sims
6b9edbca25 Add or gate, update level 4 to use all logic gates 2024-05-22 13:32:37 -04:00
Christine Lemmer-Webber
c749f22fe8
off/on clock 2024-05-22 12:41:38 -04:00
Christine Lemmer-Webber
fabdc3bfa7
basic walls 2024-05-22 12:33:04 -04:00
Christine Lemmer-Webber
3008c61678
New "dead" tile and new "you collected this gem already" tile 2024-05-22 12:33:04 -04:00
Juliana Sims
a49808d70d Add xor and level 4 2024-05-22 12:08:23 -04:00
David Thompson
dc05a9cd05 Reindent some stuff. 2024-05-22 10:35:27 -04:00
Christine Lemmer-Webber
582eb6309d
New floor tiles, update boxes -> pallets, put bg behind stairs 2024-05-22 10:34:03 -04:00
David Thompson
71d62e596e Kill player when gate closes on them. 2024-05-22 09:29:44 -04:00
David Thompson
68b427e387 Remove some pks. 2024-05-22 08:01:14 -04:00
David Thompson
5756844161 Add basic AND gate and electric switch. 2024-05-22 08:00:39 -04:00
David Thompson
ff242fd1a5 Fix some slowness; clock emitters emit immediately. 2024-05-22 06:52:36 -04:00