scriptorum / flaxen

Haxe game engine with entity component system
MIT License
26 stars 2 forks source link

Add some typical, useful systems and components #25

Closed scriptorum closed 9 years ago

scriptorum commented 9 years ago

You have a MovementSystem and Velocity there with as an example, but fledge it out with Immutable checking. You've got Friction (drag) but no FrictionSystem. Add components and systems so you can do more basic physics out of the box: gravity, angular velocity, forces.

Also, add enough parts to put together an in-ECS particle system as a substitute for HaxePunk's Emitter when you want greater control. Examine some particle engines to get an idea of what else to implement and put together a particle emitter demo, or implement an importer, maybe from Particle Designer.

Consider moving the default activated systems to their own system.default subfolder, or move non-default systems into a system.opt folder.

scriptorum commented 9 years ago

Added FrictionSystem and gravity support. Too many other changes specified in this issue, split it up.