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 congwang0517

i don't want to kill the entity,just let it can't be see.

1 decade ago by congwang0517

I know a stupid way: pos.x = pos.y = -10000;

1 decade ago by dominic

Set the entites .currentAnim to null.

1 decade ago by Graphikos

You'd probably need to deal with collisions also... yea?

.checkAgainst = ig.Entity.TYPE.NONE;
.collides = ig.Entity.COLLIDES.NEVER;

1 decade ago by congwang0517

Quote from dominic
Set the entites .currentAnim to null.


Thanks, it work.
Page 1 of 1
« first « previous next › last »