Good evening, fellow Constructors.
I hesitate and debate a lot whenever I think about making a post, especially if it's a whole new thread, so please, bear with me.
What I want to achieve is related to looping and spawning certain tiles/blocks in a specific order. I am making a calendar with rexrainbow's system date and time plugin. After some arrays and variables later, I got most of its core set up. Now, all I need to do is have a certain tile spawn many times, filling the calendar (6 rows of 7 tiles each, one per day of the week) depending on the total days of the current month. I have managed to get a loop to spawn just ONE extra tile right beside the original, not the specified 30. Why would that happen?!
My CAPX. I'm using the beta r141. WARNING: May look messy, I think. I feel like I'm exposing my underwear whenever I show people my code.
Also, how would I be able to make the days/tiles fill up exactly like calendars do? As in, months starting/ending on the correct days. I can't, for the life of me, figure this one out. I've searched for numerous implementations of Javascript calendars to see how they deal with its code so I could somehow emulate that in pure C2.
I'm not the type that asks a lot so I try to exhaust my personal research skills first. This is making me go nuts! Thank you, everyone, in advance!