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 blakmetall

hi everybody, this is my question, again, i couldnt find
about this in the Docs.

Is there a way to do this??

--------------------------
also Im having a problem with an entity.
when I detect some input,
I add vel.x to one entity, it works well if I use vel.x = 20 or 50,
but if I use accel = 500 or vel=500, the speed and movement
of my entity looks really slow like if the velocity were 20 or 50.

what is the problem, i need to use that Box2D libraries or somethin?

1 decade ago by neogope

Hi, what is the maxVel of your entity? I also ran into this in the last days: I had an entity, which should move with a vel.y of 1000 but the maxVel.y was on 100 by default.

Take a look here:

http://impactjs.com/documentation/class-reference/entity#maxvel-x-maxvel-y

1 decade ago by blakmetall

checking,

1 decade ago by dominic

Entities should be created with the Game's .spawnEntity method.
Page 1 of 1
« first « previous next › last »