Louis Pearson
240587344d
Database now handles entities
2022-08-08 18:00:25 -06:00
Louis Pearson
a35d481b15
Improve switch node, recursive circuit eval
...
- Switches now have two possible states, stored in a u8. This is either
on/off in the case of vertical switches, or a toggle between the two
SwitchOutlets for Tee switches
- Circuit is now recursively evaluated to make sure every node was
updated after their parent node.
2022-08-08 15:50:05 -06:00
Louis Pearson
c179f234dd
Prototype switch circuitnode implementation
2022-08-08 14:39:33 -06:00
Louis Pearson
b4cc068efa
Separate sockets/plugs, fix join search function
2022-08-08 12:45:34 -06:00
Louis Pearson
8c26b29ca6
Get wires connecting
...
Unforunately this has exposed my circuit analysis is incomplete
2022-08-07 23:46:16 -06:00
Louis Pearson
020e6f3615
Read and write circuit nodes
2022-08-07 15:56:26 -06:00
Louis Pearson
c086c6d9de
Add coordinate type, formatting functions
2022-08-07 14:40:08 -06:00
Louis Pearson
2df39b45f3
Copy And code to Xor
2022-08-07 12:51:20 -06:00
Louis Pearson
37051fe1eb
Connect both inputs of And gate
2022-08-07 12:47:44 -06:00
Louis Pearson
5f6393fef7
Fix coordinate bug with circuit analyzer
2022-08-07 00:51:08 -06:00
Louis Pearson
99b49dabd4
Initial draft of circuit analysis
2022-08-07 00:16:00 -06:00
Louis Pearson
03bf16cba4
Remove debug statements
2022-08-06 01:18:55 -06:00
Louis Pearson
f5691e45f1
Import multiple levels
2022-08-06 01:15:38 -06:00
Louis Pearson
3fcd7e0942
Flesh out world data format, make parseLevel fn
2022-08-05 21:55:07 -06:00
Louis Pearson
4c51c52d05
Remove the other sources of off-by-one
2022-08-05 18:34:08 -06:00
Louis Pearson
83bd4d9aec
Attempt to solve invisible rocks
...
They are on the map, but the wrong tile is getting selected
2022-08-05 00:18:22 -06:00
Louis Pearson
e8ebe43de6
Partially fix circuits and wires
2022-08-04 22:16:33 -06:00
Louis Pearson
84b5e4cb41
Begin converting game.zig to use ldtk data
2022-08-04 17:18:34 -06:00
Louis Pearson
b5ca48e1b3
Render one-way platforms
2022-08-04 14:48:29 -06:00
Louis Pearson
0c79bfe575
Simplify world types
2022-08-04 13:11:20 -06:00
Louis Pearson
41b0846713
Fix debris
2022-08-04 02:22:34 -06:00
Louis Pearson
21f8ae7087
Succesfully load autotiles
2022-08-04 01:59:32 -06:00
Louis Pearson
f944f754b1
Write world data on build
2022-08-03 23:50:50 -06:00
Louis Pearson
2aa246f1bd
Define world data types
2022-08-03 22:06:17 -06:00
Louis Pearson
aa7a1988ba
Begin implementing LDtk import
2022-08-03 18:31:44 -06:00
Louis Pearson
61a6fc9905
Add ldtk file
2022-08-03 16:23:59 -06:00