Any chance we can see the Foreach object converted for iOS?
Printable View
Any chance we can see the Foreach object converted for iOS?
Lets hope so, because the traditional fastloop "solution" destroys the frame rate on IOS and Flash.
I will have a go at an implementation for iOS soon :)
Thanks, that would be great :)
So Foreach can work like a Foreach command in C, and do something several times before the next loop, like a less memory-consuming fastloop?
If I remember correctly, it allows you to perform an action or check "for each" instance of a specific object.
meaning you dont have to do the sloppy "spread value", "fastloop", "Spread-Value"=index of fastloop>>>do this or that.. which is the traditional solution to zeroing in on specific actives in MMF2.
Oh I see, yeah, sorry, because of my programming history, I see Foreach as a looping command.
It is also faster as it does not have to search the entire list of an object on each iteration.
Yes, the ForEach object reduces CPU usage by doing quicker object selection. :)
This would be very useful :)
Yeah, it really should be ported to every runtime as a VERY high priority. The lack of this feature built in is likely the biggest cause of intermediate users having problems making their less basic games and is definately one of the top causes of bad frame rates for runtimes like Flash, IOS etc.