The posts I’ve seen on this subject are very old, so I figured I would ask here. Is there a way to make a game with a split screen? I’m working on a game in which two objects mirror each others’ movements using one set of controls, but the game screen is too large for a phone. Is there a way to do this? Thanks.
There are at least two ways you could do split screen
- Manually recreated two identical screens (but from different views)
- Using textures to replicate two identical screens (but from the exact same view)
The first method takes a lot of design forethought, and if you need help with it you can ask me.
The second method is fairly easy, just look look into the snapshot api https://docs.coronalabs.com/guide/graphics/snapshot.html
Hope this helps!
I wrote a viewport cloner a long time ago that might be useful if you can take it apart and re-invent it a bit for your own needs.
My original post on this: Split Screen and Beyond
The git link: https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/10/viewportCloning.zip
2 Likes
It looks awesome Ed:)
Sweet! Thanks! Will look into this.