Update foundation.md

efd/v1
Vladyslav Hrytsenko 2023-02-13 10:15:46 +02:00 committed by GitHub
parent 1a5ef9e8fc
commit 17951f329f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 50 deletions

View File

@ -1,4 +1,4 @@
foundation: ## Foundation:
* platform * platform
* viewer system ?? * viewer system ??
* camera * camera
@ -30,33 +30,35 @@ foundation:
* entity_view * entity_view
## Components
------- -------
app - thing that runs game * app - thing that runs game
game - the game stuff, includes client and server * game - the game stuff, includes client and server
packet - structure that has data written/read by client/server * packet - structure that has data written/read by client/server
asset - structure that describes tile/block/object/entity, something that can be visualized * 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 * 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 - a map of chunks within the game world
world-view - a representation of the world recreated by the client * world-view - a representation of the world recreated by the client
---------- ----------
tile - basic thing that makes up the chunks * tile - basic thing that makes up the chunks
block - 2nd level of things that make up the chunk * block - 2nd level of things that make up the chunk
chunk - entity that contains set of tiles and blocks * chunk - entity that contains set of tiles and blocks
object - an grid-independant static entity that can exist in the world * object - an grid-independant static entity that can exist in the world
entity - a dynamic object that can change position within 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 * item - an entity in the world, that can have a different state when its picked up
zpl.eco ## Naming
foundation
sandbox
survival
prefix: efd_ * zpl.eco
* foundation
* sandbox
* survival
* prefix: efd_
## Objects
entity * entity
* objects * objects
* players * players
* nps * nps