Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by alexr

I'm thinking of splurging on ImpactJS and have a couple of questions:

1. addChild: how do I create a hierarchy of entities? Not possible? road mapped at all?

2. entity rotations: I see that I'd have to set that via Animation. This seems counterintuitive. A tile centric engine limitation (collision checking problems) maybe, but did you roadmap this?

That's all I can see for now. Impact JS looks goood.

Thanks
Alex

1 decade ago by dominic

1. You're correct. There's no built-in method to have hierarchies or groups of entities yet. You are of course free to build this yourself. E.g. I quickly hacked something together for X-Type.

Support for grouping/hierarchies is not planned for 1.x

2. Since all collisions are still detected and resolved with axis aligned bounding boxes, rotation is a purely visual effect at the moment. That's why it's set for the animations, not for the entity itself.

You can use the Box2D plugin if you want to have "real" rotation, an .angle property for your entities and more accurate collisions and physics.

1 decade ago by alexr

Thanks Dominic. Grouping is quite important for what I had in mind. I guess one could extend Entity, but the rest is beyond me at this point, given I haven't checked out the docs in depth.
Page 1 of 1
« first « previous next › last »