1
Chit-Chat / Re: Image Chooser hangs (Linux)
« on: December 29, 2024, 05:59:15 pm »
Update Stencyl and report back, generating and posting your logs if it happens again. The current public version is 4.1.4, not 4.1.0.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
text attribute
for each item in list
--text = text & item
Text will have all the items as strings concatenated.
newList = create new list
repeat number of items on list
--index = 0
--testNumber = 999
--for each item on list:
----if testNumber >= item and not item on newList:
------testNumber = item
------targetIndex = index
----increment index by 1
--If not item on newList:
----add [targetIndex from list] to newList
Something like that, newList should have all items sorted by the end of it. I also recommend you join the discord server, as there are more people there to help you: https://community.stencyl.com/index.php/topic,48592.0.html
Set row count to 0
For each item in columns (this is the primary list, items becomes your rows list).
-set blue count to 0
-set red count to 0
--for each item in item (the first item block now contains individual cells).
---if item = 1, increment blue count
---if item = 2, increment blue count
-if blue count >= 6, call an event to clear the column, setting the cell values to 0.
-increment row count
Rough pseudocode, checking for full rows. If you can implement that, you'll be able to expand it to check for columns as well.