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 litenjacob

Hey!

I'm thinking of making a split screen game where 2-4 players can play simultaneously in a 2d platform game where a part of the screen follows each player. Has anyone else done anything like this before?

I'm just happy to get any pointers on where to start and what to use!

Thanks

1 decade ago by Neeko

Going to resurrect this one!

I'm curious if split-screen cameras is possible as well. I don't see anything in the documentation that would allow you to change a screen's viewport size.

1 decade ago by Joncom

It sure sounds possible. Basically you&039;d have to tweak the #draw function of any relevant classes (ig.BackgroundMap comes to mind for sure), and instead of using 0 to ig.system.width/height as your defined "valid" draw areas, you&039;d use instead your custom definition. You'd also have two instances of #ig.game.screen, one for each camera/view.

Edit:

For anybody to visits this thread in the future, please see this thread.
Page 1 of 1
« first « previous next › last »