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 igr

Hi,
I used the camera code provided by Dominic here:
http://impactjs.com/forums/help/screen-scrolling

And it works fine until after my Hero is killed and spawned. Then the scrolling stops (camera stops following the hero).

There is surely a simple solution, which I cannot figure out((

1 decade ago by igr

Got it. Had to apply ig.game.getEntityByName/getEntitiesByType in main update-function in addition to loadLevel function.
Page 1 of 1
« first « previous next › last »