ScratchData LogoScratchData
Back to UltimaOP's profile

List Loader (No 2D Lists

ULUltimaOP•Created November 17, 2019
List Loader (No 2D Lists
1
1
29 views
View on Scratch

Instructions

This is just a template to help and inspire others. Feel free to use this idea in your project. Press the flag to load the screen, there's only one as this is an example.

Description

Looking at my older projects and playing around with them it appears that 3.0 has broken color loaders so I decided to make a system to replace them. There are other ways to do this like 2D lists (which aren't the best with a drag and drop interface). You can find instructions on how the list loader works inside the project. Below will be how it works in a little more detail and what a loader and list loader is if you don't know. =What is a loader (in this context idk if a loader is already a thing)? A loader is a program that displays a (usually tile based) screen/scene based on pre-existing template. This is useful in platformers or any other project utilizing screen-wide levels or screens. =How does the loader work? The loader takes a sprite from the top left of the designated load area and (going left to right) goes across the screen placing clones as tiles. The clones can then take the appearance of any tile desired, this is what the list is for. =The list in list loader. The list part of the loader is what keeps track of how the tiles appear and act. This project uses a binary list with only two variables (1 and 0 for block or no block) but this can be expanded to as many tile appearances as needed. The list has 64 variables, each one corresponding to one of the 64 tiles on the screen. The first 8 variables in the list correspond to the top 8 tiles, the next 8 variables for the 8 tiles below and so on. The grid can be expanded to as large as you want (and Scratch's clone cap allows) and is not limited to a 64x64 area.

Project Details

Project ID345702028
CreatedNovember 17, 2019
Last ModifiedFebruary 8, 2020
SharedNovember 17, 2019
Visibilityvisible
CommentsAllowed