GithubHelp home page GithubHelp logo

nidorx / ecs-lib Goto Github PK

View Code? Open in Web Editor NEW
189.0 9.0 11.0 7.63 MB

Tiny and easy to use ECS (Entity Component System) library for game programming

License: MIT License

JavaScript 6.72% TypeScript 88.62% HTML 4.33% GLSL 0.33%
ecs ecs-framework game game-engine entity-component-system threejs gameloop game-development gamedev entity-component

ecs-lib's People

Contributors

dependabot[bot] avatar douglasduteil avatar nidorx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecs-lib's Issues

Iterating two lists from a system

How would I check two entity sets against each other? As a specific example having items that can be picked up by a player. So I have a system that iterates all the pickable items and checks their distance against the players, if the player is in range the item gets picked up and added to their inventory.

example use in node.js app

Hello,

I tried to get the ECS running within a node.js app. I build a simple example with a LoggerSystem similar to the one from the browser example.

However the System never gets updated in my example. It seems the ECS won't start properly. How it is supposed to be used in a node js application. Should the ECS be running in some kind of loop within the app? Or are there any possiblities to debug the ECS?

Some tipps would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.