ScratchData LogoScratchData
Back to kriblo_test's profile

Example - 2D lists using simple string parsing

KRkriblo_test•Created November 24, 2020
Example - 2D lists using simple string parsing
6
5
66 views
View on Scratch

Instructions

This example project illustrates one way to implement 2 dimensional lists (i.e. a list where each list item contains a list of values, separated by a given separator character). In this example the "String Parser" sprite contains scripts to parse and join strings. And the "Demo" sprite handles the main list of strings. Each list item (string) in the main list holds values for four clone properties (X, Y, size and color effect). Try moving the clones around (click and drag in full screen), then press S to save. Now, if you click the green flag, the four saved clone properties will be restored. However, the original list will be restored if the page is reloaded. All code by me (@kriblo).

Project Details

Project ID454106579
CreatedNovember 24, 2020
Last ModifiedNovember 24, 2020
SharedNovember 24, 2020
Visibilityvisible
CommentsAllowed