Jump to content

  • Log In with Google      Sign In   
  • Create Account


BeerNutts

Member Since 27 Jun 2001
Online Last Active Today, 05:04 PM
*****

Topics I've Started

Entity Component System for Javascript

21 March 2014 - 12:44 PM

Hi All,

 

I'm thinking about trying my hand at some javascript/html5 programming.  It just seems to make sense to run things in a browser, something everyone has access to.  I'm also probably going to use the phaser framework to support my game.

 

However, I was wondering if anyone out there have used any Entity-Component Systems for JavaScript.  I realize I can probably make a pretty simple one to get started, but if someone has some experience in this area, I'd love to get some recommendations.

 

Thanks!


New Entity System for C++, like Artemis...

17 July 2012 - 10:59 PM

Hi All,

I've been back looking into Entity Component Systems, and I've create a new system that's a lot like the Artemis System, which is for Java.

I've detailed it in my journal

If you just want to see the source, you can see it here. The includes directory is what's public to users.

I'm totally open to comments and criticism. I plan on using this for my next game, but I wanted to share it to see how i can improve it.

Thanks!

My Component Based Entity System...

24 December 2011 - 08:56 AM

Hi Guys,

There's been a lot of talk about different Component Based Entity Systems(CBES) here, and I decided to give it a shot and implement my own.

I ported my previous game (SmashPC, downloadable here: SmashPC, coverage of me initially developing it can be found in my old blog (in my sig)) to a CBES. I realize I didn't have to; SmashPC is a simple game and certainly didn't need this system change, but I wanted to give it a shot, and experience it.

You can find my commentary on my CBES on my dev journal: 2D Game Making

Later.

New Dev Blog, currently going over Component Based Entity System...

23 December 2011 - 04:13 PM

My Development journal, 2D Game Making is currently going over how I moved my last game over to a Component Based Entity System. Just wanted to share it with the people here.

C++ template member function question...

01 December 2011 - 10:38 AM

I fear I know the answer to this, but I wanted to be sure since I'm still not 100% sure about templates.

I have a class, and I want to be able to store and retrieve some data of any type, but I don't want to have to re-declare my class as a template since this is a minor piece of the class.

So, I'd have this
class MyClass
{
public:
  MyClass() {}
  ~MyClass() {}

  template <class T> 
  void SetData(T &Data);

  template <class T>
  void GetData(T&Data);

private:
  T &mData;
}

I'm pretty sure it's not possible to do it the way i want, but are there other options I haven't looked it?

Thanks

PARTNERS