Jump to content
  • Advertisement

Black Knight

Member
  • Content count

    1186
  • Joined

  • Last visited

Community Reputation

769 Good

About Black Knight

  • Rank
    GDNet+

Personal Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. just saw gravity omg
  2. Black Knight

    Understanding Component-Entity-Systems

    The link to the follow up article is broken.
  3. The question of whether computers can think is just like the question of whether submarines can swim. -- Edsger W. Dijkstra
  4. Hey all, I just wanted to take the time to let everybody know that my startup is releasing our first product -- NodeBB, a forum built on Node.js, Redis, and Web sockets. http://www.nodebb.org https://github.com/designcreateplay/NodeBB The best part is the entire thing is open sourced from the start, so if this piques your interest, check out the code and jump right in! We're also raising money through a crowdfunding round at our Indiegogo page. Built on Node.js and Redis, we aim to tackle existing forums (almost all of which are built on LAMP stacks), and offer a product that aims to be an improvement on almost all levels... responsive design, two-way server-client communication, etc. Thanks!
  5. Black Knight

    Understanding Component-Entity-Systems

    How would systems operate on a collection of components? And what would be a good way to store components? As I undersand from the article components derive from an interface and are stored under entities. This leads to me something like :       class IComponent{}; class Position : public IComponent { public: float x,y; }; class Velocity: public IComponent { public: float x,y; }; class Entity { public: std::vector<IComponent*> components; };       Afterwards a Physics system operates on the components of entities to add velocity to the position of these entities but how does that system work and decide if a component is a specific type(dynamic casts?virtual functions in the IComponent?). Would it be better to store components like so :       class Entity { public: std::map<std::string,IComponent*> components; };   So you can give names to components and access them with those names.   I think it could be nice to have a pt2 which goes a bit into implementation details.
  6. Lol Chriz Metzen trolling at sony event.
  7. ???????????????????????? ??????????????????????? ????????????????????? ????????????????????
  8. Thanks for inventing a new programming paradigm Andrew Rodrigues! "object disoriented programming" All Hail ODP!
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!