ukendio / jecs Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Line 376 in 6c2f47b
We need to add comprehensive documentation to our GitHub repository to help new contributors understand the project, its structure, and how to contribute. Proper documentation will also assist users in understanding how to use the project effectively.
Documentation should include:
Overview
Installation
Usage
Contributing
FAQs
License
Additional Notes:
Tasks:
--TODO: Move this into world constructor
Line 277 in 517dbb9
The coverage over the codebase is pretty poor and a lot of potential edge cases have not been found yet. This is something we can add incrementally!
-- TODO: should traverse linked component records to pairs including entityId
Line 438 in 6c2f47b
Line 376 in 6c2f47b
Queries should be able to have wildcard terms that can match multiple instances of a relationship
A lot of the computations in the queries are very expensive, e.g. populating the compatible archetypes in the world, caching indices to the the columns and unpacking the entity ID's for flags + low and high IDs for indexing and relations.
All of this overhead can be paid once up front for each system. This similar to how Matter's runtime queries work right now.
When an entity is deleted, World.__iter
tries getting the archetype of a non-existent sparse array record.
local world = jecs.World.new()
local entity = world:entity()
world:delete(entity)
for e in world do -- jecs:839: attempt to index nil with 'archetype'
end
Non-movable components, that when inserted goes into the sparse set storage. The sparse component itself does not need to be moved to the destination archetype during insertion.
Benefits
Drawbacks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.