da1nerd / crash Goto Github PK
View Code? Open in Web Editor NEWAn entity-component-system framework
Home Page: https://crash-api.netlify.com/
License: MIT License
An entity-component-system framework
Home Page: https://crash-api.netlify.com/
License: MIT License
Every time you fetch a component from an entity you have to cast it. We could use a macro to collect a list of component types and then generate a list of getter methods that are typed correctly.
Rather than having to define nodes for fetching a list of entities, let's just use the components.
e.g. the engine has a get_node_list
which is basically a mapping of entities. We could instead have a get_entities
method that takes in a list of components and returns the entities.
The ComponentMatchingFamily
is a utility used to match based on a node. We'll need to update this to use the components instead.
Take a look at how https://github.com/spoved/entitas.cr does this. A matcher could be passed in to get_entities
and stored in a list of matchers that will receive events.
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.