Hi Andreas,
I've taken a closer look at Phoenix (ver. 2009-5-11) and I'm looking at entities and sprites. Do you envision, that all the behavior of a sprite should be defined through behavior plugins?
For instance I want to define characters in my game. characters are simply sprites with a life counter and a collisionbody. So I have the decision to make a character behavior (TPHXEntityBehavior) or a new character class inheriting from a TPHXSprite. Which would you choose? Are your idea with entity behaviors to totally drop inheritance and simply use has-a relationships for the specific implementation of a given sprite?
Btw. it would be nice if you could check which behaviors a entity has. I couldn't find any way to do that in the current release.
Bookmarks