Discuss Scratch

rooob
Scratcher
15 posts

Tables

Tables


I think a much needed feature in scratch is tables. They would be like lists, but you can add multiple columns to them. Some block examples would be:
add [thing] to [table v] at row (1) column (1) ::list

add [column v] to [table v] ::list

remove [row v] from [table v] ::list

remove [column v] from [table v] ::list
please consider adding these items scratch team.

EDIT:
Scratch - Array
The settings for the rows, columns, and dimensions may be confusing as I made this in 5 minutes, but I hope you understand the main layout.

Last edited by rooob (June 29, 2019 16:10:53)


if <you have checked out my other projects:: sensing> as [rooob v] do{
celebrate for (infinite::extension) seconds::motion
}::extension //check out my other projects
Red&Blue Remade
Alien Invasion
BattleRena XL
Sans fight 2 player
Don't click here, because there is nothing here
ResExsention
New to Scratch
1000+ posts

Tables

You're using a different term for “arrays”, right?

Even though it's workaroundable, support. Multidimensional arrays are extremely useful (such as in a board game where you need to store information on the pieces).

Also, this is a duplicate of something I think…

Hi, I'm ResExsention, a New Scratcher who refuses to press that button! I hope we get to know each other and become friends!

If you see "[DATA EXPUNGED]", you'll know it was deleted by me. It's a lot easier.
VFDan
Scratcher
100+ posts

Tables

I support, they are extremely useful (for similar reasons that RexExsention said). Even though it is workaroundable, it takes a lot of code.

My signature will never be eaten by an evi -This signature was eaten by an evil kumquat.
15-MinuteGaming
Scratcher
100+ posts

Tables

This has a very simple workaround. However, the feature is important. Therefore, support.

My kumquats and forum signatures ate each other. Luckily, I did not like any of them anyways.
The evil kumquat must have some relation with thanos cat. Evil kumquat is 2.0 and thanos cat is 3.0
April 1st is this Saturday. Details here.
bybb
Scratcher
1000+ posts

Tables

For support this would have to be generic N dimensional arrays rather than simply 2D tables.

Game Over
You'll find me on @LastContinue from now on.
ResExsention
New to Scratch
1000+ posts

Tables

bybb wrote:

For support this would have to be generic N dimensional arrays rather than simply 2D tables.

Yeah, I agree. Occassionally 2D arrays are too limited.

Hi, I'm ResExsention, a New Scratcher who refuses to press that button! I hope we get to know each other and become friends!

If you see "[DATA EXPUNGED]", you'll know it was deleted by me. It's a lot easier.
Troyer_Kem
Scratcher
1000+ posts

Tables

Support. This would be a big feature.

sometimes i want to lay on ground and wait until i die
BlueStarPort
Scratcher
100+ posts

Tables

Support, even though I don't fully grasp the suggestion, this would definitely benefit scoreboards and things like that.

How to create a signature:
Go here; or
Go to the bottom left of the discussion home page, and press “Change your signature”.
I have no idea if I'm using that semicolon correctly
ResExsention
New to Scratch
1000+ posts

Tables

BlueStarPort wrote:

even though I don't fully grasp the suggestion

Essentially, tables are sort of like lists. The difference is that lists are only one dimensional, but tables are two dimensional. With lists, you would refer to information using an index, but with tables you can use coordinates. I like to think of tables and lists like chessboards. Lists only have one row, but tables can have as many as you want.

Hi, I'm ResExsention, a New Scratcher who refuses to press that button! I hope we get to know each other and become friends!

If you see "[DATA EXPUNGED]", you'll know it was deleted by me. It's a lot easier.
BlueStarPort
Scratcher
100+ posts

Tables

ResExsention wrote:

BlueStarPort wrote:

even though I don't fully grasp the suggestion

Essentially, tables are sort of like lists. The difference is that lists are only one dimensional, but tables are two dimensional. With lists, you would refer to information using an index, but with tables you can use coordinates. I like to think of tables and lists like chessboards. Lists only have one row, but tables can have as many as you want.
OK.

How to create a signature:
Go here; or
Go to the bottom left of the discussion home page, and press “Change your signature”.
I have no idea if I'm using that semicolon correctly
ResExsention
New to Scratch
1000+ posts

Tables

BlueStarPort wrote:

ResExsention wrote:

BlueStarPort wrote:

even though I don't fully grasp the suggestion

Essentially, tables are sort of like lists. The difference is that lists are only one dimensional, but tables are two dimensional. With lists, you would refer to information using an index, but with tables you can use coordinates. I like to think of tables and lists like chessboards. Lists only have one row, but tables can have as many as you want.
OK.

???

It's kind of difficult to comprehend “OK” by itself… That's alright though.

Hi, I'm ResExsention, a New Scratcher who refuses to press that button! I hope we get to know each other and become friends!

If you see "[DATA EXPUNGED]", you'll know it was deleted by me. It's a lot easier.
rooob
Scratcher
15 posts

Tables

bybb wrote:

For support this would have to be generic N dimensional arrays rather than simply 2D tables.
I agree that you should be able to have N dimensional arrays as this would be very useful in storing data for 3D games.

if <you have checked out my other projects:: sensing> as [rooob v] do{
celebrate for (infinite::extension) seconds::motion
}::extension //check out my other projects
Red&Blue Remade
Alien Invasion
BattleRena XL
Sans fight 2 player
Don't click here, because there is nothing here
rooob
Scratcher
15 posts

Tables

BlueStarPort wrote:

Support, even though I don't fully grasp the suggestion, this would definitely benefit scoreboards and things like that.
Here is an example of what they might look like
Scratch - Array
The settings for the rows, columns, and dimensions may be confusing as I made this in 5 minutes, but I hope you understand the main layout.

if <you have checked out my other projects:: sensing> as [rooob v] do{
celebrate for (infinite::extension) seconds::motion
}::extension //check out my other projects
Red&Blue Remade
Alien Invasion
BattleRena XL
Sans fight 2 player
Don't click here, because there is nothing here
CatsUnited
Scratcher
1000+ posts

Tables

rooob wrote:

BlueStarPort wrote:

Support, even though I don't fully grasp the suggestion, this would definitely benefit scoreboards and things like that.
Here is an example of what they might look like
Scratch - Array
The settings for the rows, columns, and dimensions may be confusing as I made this in 5 minutes, but I hope you understand the main layout.
Link gives a 403 error. We don't have permission to see it.

Last edited by CatsUnited (June 29, 2019 16:09:12)


Powered by DjangoBB

Standard | Mobile