You can change the variables:) Click the background to start. How this works:D 1) Values are stored in lists: Each object has an x, y, type, and their distance from the player. 2) Clones are created: A specific amount of clones (render objects) are created. Each clone has a unique number. 3) Lists are updated and sorted: The distance values are updated (How far they are from the player). The lists are sorted and rearranged so that the objects with the highest distance from the player are last. The other values are synced with it. 4) The clones read their specific values of the list and positions themselves at the right areas according to their values on the lists. 4) The clone dissapears from view once it is outside the screen, but they don't despawn. They keep adjusting themselves according to their number on the lists. 5) The lists keep getting updated and read, and the clones keep updating.
Made by @Hammykat-_- for the Journey through Scratch Collab!