diff --git a/foundation.md b/foundation.md index 4f9f0dd..515928b 100644 --- a/foundation.md +++ b/foundation.md @@ -1,62 +1,64 @@ -foundation: - * platform - * viewer system ?? - * camera - * game - * debug ui - * packet utils - * arch - * input - * profiler - * renderer - * signal handling - * zpl options - * gen/textgen -> assets - * items - * inventory - * crafting - * notifications - * tooltips - * chunk - * blocks - * tiles (and chunk baker) - * systems (core systems) - * components - * net - * packets (but add custom messaging, and security) - * compression - * world - * wrold_view - * entity_view +## Foundation: + * platform + * viewer system ?? + * camera + * game + * debug ui + * packet utils + * arch + * input + * profiler + * renderer + * signal handling + * zpl options + * gen/textgen -> assets + * items + * inventory + * crafting + * notifications + * tooltips + * chunk + * blocks + * tiles (and chunk baker) + * systems (core systems) + * components + * net + * packets (but add custom messaging, and security) + * compression + * world + * wrold_view + * entity_view +## Components ------- -app - thing that runs game -game - the game stuff, includes client and server -packet - structure that has data written/read by client/server -asset - structure that describes tile/block/object/entity, something that can be visualized -module - a thing that uses a set of ecs components and systems to create a self-contained ecs module +* app - thing that runs game +* game - the game stuff, includes client and server +* packet - structure that has data written/read by client/server +* asset - structure that describes tile/block/object/entity, something that can be visualized +* module - a thing that uses a set of ecs components and systems to create a self-contained ecs module ------------ -world - a map of chunks within the game world -world-view - a representation of the world recreated by the client +* world - a map of chunks within the game world +* world-view - a representation of the world recreated by the client ---------- -tile - basic thing that makes up the chunks -block - 2nd level of things that make up the chunk -chunk - entity that contains set of tiles and blocks -object - an grid-independant static entity that can exist in the world -entity - a dynamic object that can change position within the world -item - an entity in the world, that can have a different state when its picked up +* tile - basic thing that makes up the chunks +* block - 2nd level of things that make up the chunk +* chunk - entity that contains set of tiles and blocks +* object - an grid-independant static entity that can exist in the world +* entity - a dynamic object that can change position within the world +* item - an entity in the world, that can have a different state when its picked up -zpl.eco - foundation - sandbox - survival +## Naming -prefix: efd_ +* zpl.eco + * foundation + * sandbox + * survival +* prefix: efd_ - -entity +## Objects +* entity * objects * players * nps