Multiple Windows/Viewports

I would like to have the screen occupied by more than one different window/viewport. It would be useful for, for example a mini-map or split screen games.

I tried to use display groups and resize it, but nothing, I thought of using mask, but thought it was overkill.

What would be the best solution. What am I missing from the SDK that would make this “trivial”?

Thanks

I’m interested in the exact same thing. I’m building something with a screen that’s divided into 3 parts:

  1. top 2/3 of the screen is the game area (map and game objects)
  2. bottom left, menu buttons
  3. bottom right, menu details

for now I use 3 display groups. Are some best practices at hand? or does someone already have a brilliant working solution? please share :smiley:

At present, the solute is to use a per made mask applied to display groups. This works fairly well, but soon there will be the new display.newContainer() which does exactly what you need.http://www.coronalabs.com/blog/2013/06/04/corona-weekly-update-groups-and-containers/

I’m interested in the exact same thing. I’m building something with a screen that’s divided into 3 parts:

  1. top 2/3 of the screen is the game area (map and game objects)
  2. bottom left, menu buttons
  3. bottom right, menu details

for now I use 3 display groups. Are some best practices at hand? or does someone already have a brilliant working solution? please share :smiley:

At present, the solute is to use a per made mask applied to display groups. This works fairly well, but soon there will be the new display.newContainer() which does exactly what you need.http://www.coronalabs.com/blog/2013/06/04/corona-weekly-update-groups-and-containers/