JasonPc turning a full hd image into 4 or 8 smaller ones are not that hard.
you simply create a renderImage of just parts of the bigger image or use normal memblocks to do so
and then just add them together after the decoder with several sprites, its an automatic function once you write it.. then just copy paste where ever needed.
a simple function isThisImgDevidedInMemblock(imgId as integer) // or something alike if so this will work if not it will just do it normal wise.
actually there is no real need to use memblocks at all to encrypt decrypt images especially if the loop is too slow to decrypt them...
you can use normal image loading, just make a mess in the image and clear it up after it is loaded.
so like some atlas images of your entire source images just in a few messy files of images (Atlas Images) where pixel 1x1 at 1X 1Y is actually 25X and 76Y at another image.
AGK can build these pretty quickly using render to image, with that said it will also give you a feel like all images are done for this Specific Phone.
1. all source images should be bigger then the highest res phone you are gonna use.
2. all source images will be divided into Atlas Images and then build them up at startup (No MEMBLOCKS NEEDED)
3. all divided source images will be rendered at "Higher resolution" on a Perfect Match Width and Height RenderImage according to the current device you are holding
n00bStar wow I WONDER why i did not thought of it. that is a genius solution. I am presuming you are using a String as it faces everything with a simple str(Float\Int) value and can be checked accordingly. that is really smart. Thank you for that.
I Uselly just create multiple lists where each one is using a different Type of the same Types just Vars inside that types are reorganized.
Well.. Your solution is much easier. however if i have 1000 objects of a type and i want to sort it by the 3rd var, i should first run trough 1000 objects turn the 3rd var insert it into the "sort String Var" and then use Sort. and Find. however you still need to use 1000 iterations which is slow... can you please elaborate how you do it ?
CreateRenderImage(GetMAxDeviceWidth(),getMaxDeviceHEight(),0,0) // etc...
Memblocks are cool when it comes to C++ (Tier 2) i think there are some plugins from Tier 2 C++ where it comes to iterating a memblock apparently using those are a faster way to process Memblocks in Tier 1 Looping etc..
Actually thinking of it.
I Think all Tier 1 users needs a C++ plugin to insert a Type inside (Object) and run trough it and manipulate the results using Tier 1 Basic code. Wonder if that is possible.
on the other hand, you can simply turn any data into IMAGE and then throw this image into a Plugin. (However i am not really sure that a C++ plugin for running inside Items in a loop will be faster, but my mind does say it should)
Nadav "Haliop" Rosenberg
Lets make the world great forever.