-
hi crash! Ok, I tested my method (I want all balls to shoot at the same time) and it doesn't work..
If all 5 "Balls" switch to the "shoot value" at the same time, the objects get created without problem, but the attributes are only distributed in one case...
I definitely will use fastloops!
-
Awesome, I'm glad Mobichan wrote up line-for-line how to do it.
Hopefully you should be sorted as well me for this slight workaround that we needed.
Sorry I didn't crank out an example to show you how I got it working. Have been a bit tied-up this week.
-
Morbus Crohn: I don't think your method will work. When you need to reference every unique copy of an object to retreive data from it, the fastloop or foreach object are the simplest way I know of. Some people have used flags to do simple object selection, but I am not well versed in that method, so maybe someone else can post about that. In general, I do lots of nested fastloops every frame in my games and never see slowdown from them. And I don't use HWA, just standard mmf2. I have no clue if the ios exporter handles loops well, but on the PC side of things, you shouldn't have speed problems.
-
Loops or functions are common in most languages, so I wouldn't expect any problem.
The flags method is also very slow in comparison if you're testing shedloads of objects. I don't think it's noticeably faster than values.