Is there any way to create a Bitmap from a group of little bitmaps? Something as the Hierarchy example on tutorials, a sprite have a group of little sprite inside them. But, this method cost cpu because little sprites have his own manager system open.
For example if you want to create a bitmap forest draw, you would have little bitmap of flower, plant, tree. Using these many times as necessary you can compose a forest on the giant bitmap. As the same way stamp works on paint software. Finally, the little bitmaps doesn't save any reference, we have only one object bitmap.
I tried to read about sprites, shapes, bitmaps but I can't find any function to let this work. Anyone could give me some help about?
Mario
Comments
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Currently you cannot draw onto a canvas, so you cannot combine them as per your suggestion.
I feel that you will definitely get performance if you use a single texture and texture regions to create your bitmaps than a new texture for each bitmap.
Dislikes: plamen
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Likes: Javi, phongtt
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Sorry if i couldn't explain my self clear. I attempted to clarify what MysiaGames needs. Thats it. I am pretty happy with Gideros and missing "render to texture " feature is not that big of a problem. It was discussed already in some other post. I just pointed the applications of the feature. There is no place for hate here. Sorry again.
Likes: john26
Be patient, it'll get there - eventually!
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
@plamen Yes, I tried to do a "render to texture" feature. At the last, I solved my problem using the TileMap feature.
Thanks for the answers. Since those days I learn more about Gideros and it's fascinating.