Commit Graph

9 Commits

Author SHA1 Message Date
csd4ni3l
f51260d94f Create a whole new system, with Scratch-like drag and drop mechanism, remove bezier, connections, and use pyglet shapes which are even faster. Nothing works yet. Add trigger, for loops and move most IFs to triggers. 2025-12-06 23:35:40 +01:00
csd4ni3l
15bb259a4f Fix connected component giving a single edge, add backtracking for rulesets, add previous property, add a better default ruleset, fix trash only working on hover and not intersection, fix dragging, update play.py a bit to be more compatible 2025-12-06 13:40:08 +01:00
csd4ni3l
9df46b2ab6 fix rule ui not being removed, remove background from trash bin 2025-12-05 22:29:42 +01:00
csd4ni3l
937c8b332c Add trash can to remove elements, remove old rule loading code, make generate_rule modular, make connection_between have straight at the start, moveComparisonBox to RuleBox, add extra buttons, add get_connection_pos, add connections and dragging 2025-12-05 22:22:50 +01:00
csd4ni3l
741f81b198 Improve filemanager layout and positioning, dont check mouse events unless in simulation, work more in rules, not working fully yet, of course. but convert it to a space where rules have pairs, and move the logic from straight rulesets 2025-12-04 16:32:28 +01:00
csd4ni3l
44f2f3bf51 Update requirements.txt, add saving and loading, add file manager, convert each UI group to a category controlled by buttons at the bottom, fix crash induced by non shape_action if rules not getting shape_type 2025-12-02 20:24:01 +01:00
csd4ni3l
6a318ebe67 use ruleset instead of rule for naming, make rules editable by rebuilding the rulesets, make rule button have simple and advanced rule options, fix key input, fix mouse motion input 2025-11-23 23:41:14 +01:00
csd4ni3l
daa13e5814 add a better rule system, and part of the functionality works now. 2025-11-23 14:50:32 +01:00
csd4ni3l
9106a5887b Add a general rule framework with constants and UI that can add rules 2025-11-22 14:43:11 +01:00