eco2d/foundation.md

67 lines
1.5 KiB
Markdown
Raw Normal View History

2023-02-13 08:15:46 +00:00
## 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
2023-02-13 08:12:32 +00:00
2023-02-13 08:15:46 +00:00
## Components
2023-02-13 08:12:32 +00:00
-------
2023-02-13 08:15:46 +00:00
* 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
2023-02-13 08:12:32 +00:00
------------
2023-02-13 08:15:46 +00:00
* world - a map of chunks within the game world
* world-view - a representation of the world recreated by the client
2023-02-13 08:12:32 +00:00
----------
2023-02-13 08:15:46 +00:00
* 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
2023-02-13 08:12:32 +00:00
2023-02-13 08:15:46 +00:00
## Naming
2023-02-13 08:12:32 +00:00
2023-02-13 08:15:46 +00:00
* zpl.eco
* foundation
* sandbox
* survival
* prefix: efd_
2023-02-13 08:12:32 +00:00
2023-02-13 08:15:46 +00:00
## Objects
* entity
2023-02-13 08:12:32 +00:00
* objects
* players
* nps
* vehicles
* items