Commit graph

31 commits

Author SHA1 Message Date
TakeV ebd0f3d956
Move entity-map to a dedicated module 2024-05-25 00:30:08 -04:00
TakeV 0fa32d9df2
Move logging to its own module 2024-05-25 00:30:08 -04:00
TakeV c8948660b0
Add logging capability 2024-05-25 00:30:08 -04:00
TakeV 07e8e0a9e9
Fix system-manager constructor 2024-05-25 00:30:08 -04:00
TakeV 234f1343ad
Add game-objects.scm 2024-05-24 17:38:39 -04:00
TakeV dd5f0ef6f3
Fix hitbox record 2024-05-24 17:38:39 -04:00
TakeV 610f8597aa
Cleanup components 2024-05-24 17:38:39 -04:00
TakeV 992dea61a4
Make all operations which modify components immutable 2024-05-24 16:38:56 -04:00
TakeV f8bbf6bdcb
Add ihashtable
We will back entities' components with this.
2024-05-24 16:21:30 -04:00
TakeV 9d2c5184b8
Reformat level component 2024-05-24 01:10:55 -04:00
TakeV d088e52400
Add hitbox component 2024-05-24 00:29:54 -04:00
TakeV 3718c7050c
Add mechanism to create-entitites 2024-05-23 23:41:56 -04:00
TakeV e1be1a6400
Add html-canvas-renderer 2024-05-23 23:31:08 -04:00
TakeV 9e294b88d7
Expose global entity-manager and system-manager parameters 2024-05-23 23:31:08 -04:00
TakeV e99af4512d
Add mechanism to delete entities from an entity manager 2024-05-23 23:31:08 -04:00
nephryte 26f22c248e Add level, room, and game-object 2024-05-23 22:34:20 -04:00
TakeV 8daadcefd5
Rename renderer to sprite-renderer as it will be part of a subsystem 2024-05-23 15:54:07 -04:00
nephryte c37a70886a Add tilemap and tilemap-renderer 2024-05-22 18:41:35 -04:00
TakeV e291da7b8a
Add system pre-process functionality 2024-05-22 17:19:10 -04:00
TakeV 0827ed328f
Add method for rendering to perform a batched render 2024-05-22 17:03:19 -04:00
TakeV 2664bf3788
Add mechanism for systems to execute a final step after the usual entity
processing.

This is intended mostly for systems which have side effects that need
batching, such as rendering.
2024-05-22 16:58:19 -04:00
TakeV 81ee10a2d1
Add keyboard-input system and inputs component 2024-05-22 05:18:41 -04:00
TakeV 7ac6b70e60
Add console logging extern 2024-05-22 03:26:50 -04:00
TakeV dc7f555bfd
Add renderer system 2024-05-22 02:30:39 -04:00
TakeV 4b19617ce7
Add ability to check if an entity has any components. 2024-05-22 02:11:48 -04:00
TakeV 12205afa02
Make the 'get-components' proceedure a little more intuitive 2024-05-22 01:36:57 -04:00
TakeV 45c4dcecd5
Add mechanism to access the entity-manager and system-manager 2024-05-22 01:01:59 -04:00
TakeV bb06bf2cd2
Add CES to game
Add initial components

Add player component

Add system scaffolding

Add entity-manager

Add game-core

Redo entities so their components are stored in a searchable hashtable

Make systems thunk-based

Add system-manager

Create game-core
2024-05-21 04:13:04 -04:00
David Thompson 6ddf0853df Remove comment. 2024-05-07 15:30:47 -04:00
David Thompson 28d049b4ca Switch to define-module syntax. 2024-04-30 09:52:01 -04:00
David Thompson 7fc5f0aa54 First commit! 2024-04-26 14:30:59 -04:00