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 Donzo

Hi.

If my character picks up a power up,
he gets a halo, which makes the image file's Y larger.

Consequently, he is offset into the ground.
Is there a way to change the offset properties of my
player entity without spawning a new entity,

or should I just spawn a new entity?

1 decade ago by dominic

Yes, sure. You can always change the entity&039;s #.offset and .size properties.
this.offset.y = 4;

1 decade ago by Donzo

Thanks.
That's helpful.
Page 1 of 1
« first « previous next › last »