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 ansimuz

I want to spawn the player in a different location if it comes back from previous level. Think of link coming back from another screen.

Right now i am using a void entity but i am having issues when using loadleveldeferred. Its there a better way to accomplish this.

Thanks.

1 decade ago by Joncom

All entities are removed and then re-added every time you do a loadLevel or loadLevelDeferred.

Meaning if you want to remember the player&039;s position before changing areas, or define where the player should be spawned in the new level, consider defining this data in #ig.game ( main.js ). There it will be persistent.

1 decade ago by drhayes

I tried to lay out my strategy in my current game in this post.

Let me know if it makes sense.
Page 1 of 1
« first « previous next › last »