1
0
Fork 0
Commit Graph

330 Commits

Author SHA1 Message Date
Pabloader 8b3da34d8c Refactor js exports 2026-05-05 15:47:29 +00:00
Pabloader 5f0480a974 Remove old invalid reference to console_log 2026-05-05 15:32:24 +00:00
Pabloader 3e2d088848 Fix native access errors 2026-05-05 15:31:15 +00:00
Pabloader 738272f2d4 Optimize text display 2026-05-05 14:41:40 +00:00
Pabloader 7956d2bb51 Sort by absolute position 2026-05-05 11:27:34 +00:00
Pabloader 0c10347c78 Dungeon crawl 2026-05-05 11:25:34 +00:00
Pabloader 17e34d5ba2 Add width/height to textdisplaysystem 2026-05-05 09:14:32 +00:00
Pabloader 5796f914e3 Text display viewport 2026-05-05 09:11:40 +00:00
Pabloader 7cc1d5f504 BSP dungeon generator 2026-05-05 07:19:34 +00:00
Pabloader 925b3aabaa Obstacle is visible in the fov circles 2026-05-04 18:16:33 +00:00
Pabloader 0077def410 Shadow cast algorithm 2026-05-04 15:57:53 +00:00
Pabloader 3bc89af23b Add the explicit breaker option instead of .next(true) protocol. 2026-05-04 14:52:18 +00:00
Pabloader 96d85d3164 Fix wasm plugin & proxy the env 2026-05-04 14:26:24 +00:00
Pabloader 85a264eed3 Circle drawing 2026-05-04 14:09:03 +00:00
Pabloader f955dc6d05 A* 2026-05-04 12:28:26 +00:00
Pabloader 8a4d9dc13f Bresehnam line 2026-05-04 12:28:08 +00:00
Pabloader 3f1be9a24c Some refactor 2026-05-04 08:47:28 +00:00
Pabloader f6bb3f19df SeededRandom 2026-05-03 15:40:03 +00:00
Pabloader e951317ddd Improve text rendering system 2026-05-03 15:39:32 +00:00
Pabloader b1bceb9ffc Canvas rendering system 2026-05-03 15:38:54 +00:00
Pabloader 4a5f0b3757 BrickDisplay system 2026-05-03 15:38:40 +00:00
Pabloader 32927d5623 Make display public 2026-05-03 11:04:43 +00:00
Pabloader 90bac08e0b Move the logic to mainloop 2026-05-03 08:57:31 +00:00
Pabloader 1c22edaac1 Stabilize resources 2026-05-02 20:19:47 +00:00
Pabloader 1d3882e954 Remove log 2026-05-02 18:39:22 +00:00
Pabloader 2fe3fb1763 Complete refactor text-dungeon to new ECS architecture. 2026-05-02 18:38:18 +00:00
Pabloader 762feba096 Anonymous components 2026-05-02 09:00:27 +00:00
Pabloader a340c50f57 Component tags 2026-04-30 21:05:52 +00:00
Pabloader 6568e1e8d9 Move component decorator to all decorators 2026-04-30 16:27:42 +00:00
Pabloader b549193a3b Add TextDisplay with canvas 2026-04-30 15:25:22 +00:00
Pabloader 6b3c0c77a1 Namespace variables by component 2026-04-30 13:08:00 +00:00
Pabloader 43da1388e4 Factions 2026-04-30 11:24:45 +00:00
Pabloader cc8f4a562f Aray - record for inventory & equipment 2026-04-30 10:55:24 +00:00
Pabloader 561ffb1d7e Add stacking rules to effect 2026-04-29 18:12:40 +00:00
Pabloader d7a3830740 Remove async actions 2026-04-29 17:54:59 +00:00
Pabloader 6d5cd0b2cc Tests 2026-04-29 16:01:52 +00:00
Pabloader 693b078144 Subscribe quests 2026-04-29 13:27:39 +00:00
Pabloader 30531bcd52 XP 2026-04-29 12:24:29 +00:00
Pabloader cb2d1a099f Effects 2026-04-29 12:24:20 +00:00
Pabloader f766aee071 Equipment 2026-04-29 12:24:11 +00:00
Pabloader 26e1fb2675 Cooldown 2026-04-29 12:24:00 +00:00
Pabloader c2e9a597fa Infinite inventory 2026-04-29 12:23:49 +00:00
Pabloader 8b93a732a7 Add linter 2026-04-29 09:28:17 +00:00
Pabloader b866e0a5de RPG engine improvements: caching, cloning, versioning, query overloads
- Condition parse cache: each unique string parsed once (Map<string, ParsedCondition>)
- executeAction: throw on missing type/malformed action/missing action; warn-only on
  destroyed entity (legitimate mid-flight case)
- World.query() overloads for 2 and 3 component types: query(A, B) → [Entity, A, B]
- World.once()/off() consistency: #onceWrappers map lets off(event, original) correctly
  remove handlers registered via once()
- World.cloneEntity(source, newId?): deep-clones all components via structuredClone,
  onAdd() fires normally on the new entity
- isEntityContext() type guard alongside isEvalContext()
- Inventory.getVariables() cache: invalidated on add()/remove()
- QuestLog.getVariables() cache: invalidated on any status transition or _advance()
- QuestLog.entries() explicit Generator return type
- Variables JSDoc: clarifies when to use Variables vs typed Component<TState>
- @component({ name?, version? }) object overload in registry
- registerMigration(name, from, to, fn): chained migrations run automatically on
  deserialize when saved version < current version
- Serialization wire format: ComponentData carries version, WorldData carries
  schemaVersion; mismatched schemaVersion throws a descriptive error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 09:28:05 +00:00
Pabloader 066271205a QoL Improvements for actions and context 2026-04-29 08:16:18 +00:00
Pabloader 9bec7701e0 Serialization 2026-04-29 07:28:16 +00:00
Pabloader ad1da396e6 Add warning to variables 2026-04-28 21:47:40 +00:00
Pabloader 5dec0901ac Pass context to all actions 2026-04-28 21:46:28 +00:00
Pabloader f6b3b5b66e Refactor the inventory 2026-04-28 21:06:01 +00:00
Pabloader b7bba137a1 Reworked inventory 2026-04-28 20:24:12 +00:00