Iโve been doing some remaking of my flash framework lately, and when I make about one game a month, the idea of โโusing reusable components to quickly create prototypes seems really attractive to me.
The factor that holds me back is how the game state extracts information from the entities themselves.
For example, centering the camera on the player is usually quite simple: camera.x = player.x; but I'm not sure how you would do something similar with component based objects.
Any ideas or links to systems where you can easily pull such data?
source share