Create single image from several images

Hello.

Can Corona create a single image from several images? 

For example: i have 2 display objects - triangle and square. Can i create single display object from them?

I attached a picture with example what i want. 

Thanks in advance  :slight_smile:

You can position the images appropriately then place them in a display group.  I’m not sure if this is what you’re looking for.

JohnPM, thank you a lot!

 I think it’s what i need. I’ll try it and if this will work like i want - i’ll close a topic

You might want to try display.newContainer instead of display.newGroup() as you get an object with bounderies. You can then use display.newSnapShot() to make the Group or Container into a single display object too.

Rob

You can position the images appropriately then place them in a display group.  I’m not sure if this is what you’re looking for.

JohnPM, thank you a lot!

 I think it’s what i need. I’ll try it and if this will work like i want - i’ll close a topic

You might want to try display.newContainer instead of display.newGroup() as you get an object with bounderies. You can then use display.newSnapShot() to make the Group or Container into a single display object too.

Rob