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 drhayes

First off, great work on the engine and congrats on it's release!

I've been scanning the documentation but haven't figured out how to do what I want. Imagine a Lemmings-style game mixed with tower defense. There is no entity that the player directly controls. Instead, the implacable enemies proceed from a generator and the player must set up defenses to stop them from reaching her base.

Setting up tiles and entities makes total sense... but how do I give the player control of the viewport if the map is bigger than what the player can see? If it's in the API and I'm blind then I apologize. ( =

1 decade ago by Alex

You can make an invisible player entity, that can go through walls and everything. How to make 'camera' always follow player is in the demo.

1 decade ago by Hareesun

To be more specific, it's on line 35 to 39 of the Jump'n'Run demo's main.js

1 decade ago by drhayes

Awesome! Thanks for the help!
Page 1 of 1
« first « previous next › last »