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 dr0w

Hi everyone!

I just started using Impact (its great ^_^) and am using box2d. I have a projectile entity to which I apply an impulse every time the player fires his weapon. Problem is, though I can get it running perfectly on my desktop, when I use Ejecta and compile for the iPhone, the sprite for the bullet is not actually rendering (even though you can still see the other bodies being impacted by the it). I've already tried varying the speed of the projectile to ensure that this was not to do with the body just being too fast.

Has anyone encountered this problem before? Any help/advice would be appreciated!

1 decade ago by dominic

Can you draw the spritesheet if you just load it as an ig.Image and draw it directly in your Game&039;s #draw() method? Maybe there's something wrong with the image file. Do you see any error message in the console?

Or maybe the App still uses an old version of your sprite sheets. Try a clean build: Product ยป Clean

1 decade ago by dr0w

Thanks dominic, that fixed it. The spritesheets were of a different size.
Page 1 of 1
« first « previous next › last »