It looks like you're new here. If you want to get involved, click one of these buttons!
kinrpg
Member
local x = Texture.new("file.png") |
stage: addChild(Bitmap.new(x)) |
for i = 1, 10000 do stage:addChild(Bitmap.new(x)) end |
Likes: MoKaLux
Comments
https://wiki.giderosmobile.com/index.php/Profiling
In gideros you just need to click this:
It produces a nice html output
Please share your results.
But it will be nice to see your profiling results.
Regards.
Likes: SinisterSoft, MoKaLux
Likes: MoKaLux, plicatibu
https://deluxepixel.com
Cool...
Likes: MoKaLux, SinisterSoft, kinrpg
Likes: talis, rrraptor, SinisterSoft, plicatibu, kinrpg
But I prefer to store textures in local/global variables, cuz its a bit faster
Likes: kinrpg
I did a test with millions of sprites and particles and ran without lags etc ...
I followed the tip of the colleague above also to put all textures in a gblobal variable, there it is easy to call from anywhere.
Thank you.
https://youtu.be/Q6z-3tG-WUg
Likes: MoKaLux, SinisterSoft