Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to use lists?
- NotK3ndricAltAgain
-
Scratcher
500+ posts
How to use lists?
go to 3:16 of this tutorial, that might help
- CHEEZ_ITZ_12oz
-
Scratcher
100+ posts
How to use lists?
There are many, many applications for lists to be used. Here are two examples I have seen/used.
1. Text. you can store dialogue inside a list, and say each line one by one.
2. I was messing around with making a computer play a game, and used a list to store inputs (that will be ran one by one)
The general application of lists is to compress code. Lists are great for applying operations on a large number of values (multiply a lot of numbers at once), or keeping track of a lot of values (keep track of where every clone is), etcetera.
1. Text. you can store dialogue inside a list, and say each line one by one.
2. I was messing around with making a computer play a game, and used a list to store inputs (that will be ran one by one)
The general application of lists is to compress code. Lists are great for applying operations on a large number of values (multiply a lot of numbers at once), or keeping track of a lot of values (keep track of where every clone is), etcetera.
- Discussion Forums
- » Help with Scripts
-
» How to use lists?