The Daily Click ::. Forums ::. Klik Coding Help ::. Object types/variation/what have you

Post Reply  Post Oekaki 

Posted By Message


17th June, 2010 at 04:21:31 -

In Construct, you can place duplicates of an object on the frame and assign each one a different starting value, which, for example, could tell what "type" of object it is. In MMF, if you change one duplicate's starting value, it changes ALL of other duplicate's starting values, making this least through the frame editor. With that said, how can you change one duplicates starting value without it affecting the others?



Cornwall UK


VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
17th June, 2010 at 11:32:47 -

I'm don't think you can, which is a major flaw that really should have been fixed by now.
The easiest option would be to create different "marker" objects, then at the start of the frame, replace them with the actual objects you want, and set the values accordingly.
Alternatively, you load all the values from a list (or array, or whatever) at the start of the frame (using spread values & fastloops).



18th June, 2010 at 20:52:17 -

You could also make "token" objects that alter the variables. You might have a basic enemy with 5 health, but you want some to have 15 health instead. So, what you do is you make an object that increases an enemy's health by 10; At the start of the frame, add 10 health to every enemy that is overlapped by the +health token, and then destroy the token.


Post Reply



Worth A Click