skeddles Posted October 23, 2018 Share Posted October 23, 2018 Trying to figure out how to make a simple split screen game. I've tried to do it with pixi-viewport, but it seems you have to add all the elements to the viewport in order to render it. I'm not even sure how to render the viewport to only part of the screen as it seems to fill the renderer. Does anyone know what the best method for doing this would be? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 23, 2018 Share Posted October 23, 2018 Multi-camera is a big problem. Even Phaser3 doesnt have it. Best way: write your own stage with your own camera. Requires serious knowledge about pixi scene tree. I had a fork with that ability: https://gameofbombs.github.io/pixi-bin/index.html?s=camera&f=mirror.js&title=2 bunnies 2 cameras That's based on pixi-v3 and changes were very big. Another way: store your own scene independently and create pixi trees according to camera position. Quote Link to comment Share on other sites More sharing options...
jonforum Posted October 23, 2018 Share Posted October 23, 2018 take a look how this korean guy do it . It will maybe help you. https://forums.rpgmakerweb.com/index.php?threads/multiple-viewports.67300/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.