Here I simplify everything by using container, pin behavior & removing unnecessary instance variable:
drive.google.com/file/d/1nIxvtBbRGfGdkTuKb_O4QXdHCWI3EjuT/view
symbol "%" means modulo operation . So if you have 6 instances which start with iid 0 as first instance and iid 5 as last instance. In your case the iid is equal to loopindex due to loop condition "For each". Took an example from the iid or loopindex as an input to do modulo operation: 3%3 will return 0 as remainder and 5%3 will return 2 as remainder. So basically since I know they are equal pair for the object instances and want to assign them to the same instance variable value as input, I put modulo operation to quickly assign the value. Aside from that I recommend to use pin behavior to keep track of text position instead of using Every tick.
Develop games in your browser. Powerful, performant & highly capable.
Use LayoutScale or LayerScale. Value of 1 is origin size, 0.5 would be half (zoom-out), 2 would be double the size (zoom-in) and so on.
Have a look to your modified file: drive.google.com/file/d/1rpj5V16O0qtfeZ7AxeuTn5A9CSVXJuN2/view
lionz Ah you can do like this for that matter:
*edit[add link] : drive.google.com/file/d/1VuPjyTksJjsGmytVuXEy6taxbw3s16Cl/view
Recently find out that it is possible loop through family by create local variable and iterate by ObjectTypeName.
*https://www.dropbox.com/scl/fi/7kxctgsdlp8nvh46xdev8/Loop_through_family.c3p?rlkey=ubo6oupikiz8qi6qiid59m0ld&dl=0
At least we can enlist family member into array or text first then loop through from there.
You just need to click the download button. Since I am in mobile I can only share limited screen as follow:
Following example has 2 different way to create random object: dropbox.com/s/1ng5la2xx3yjyvr/summon_random.capx
Have you ever play the game? Most of them are fake not real-time footage from actual game.
A strip down example audio menu from my project: drive.google.com/file/d/15YOnTlE2tBrWmkQzB076QqIDorDzkQz8/view
Sentence after sentence dialogue system: dropbox.com/s/xmn99g03i2jliv1/dialogue_panel.capx
Member since 22 Feb, 2012