nkholski Posted March 27, 2016 Share Posted March 27, 2016 I couldn't resist the urge to create a two-player co-op mode to my Metroid clone and needed a camera that could follow both players. This feature was surprisingly easy to add to Phaser's Camera.js. I put a demo and source code for anyone interested on my Metroid dev-blog: http://metroid.niklasberg.se/2016/03/27/two-player-support/ I haven't tested things such as deadzone and the code is not checking for parents because it's not needed in my specific case, so the code is not fit for a PR on GitHub. However, I guess it would be trivial to test it and add the missing functionality if there is a demand. drhayes 1 Link to comment Share on other sites More sharing options...
Recommended Posts