Discuss Scratch

Narekpro
Scratcher
13 posts

Use xy coordinates in list

I'm using XY coordinates in a list. I have code that writes coordinates to a list, but I'm unable to use this data to create a sprite on those same coordinates.
can you please help
Malicondi
Scratcher
1000+ posts

Use xy coordinates in list

What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Narekpro
Scratcher
13 posts

Use xy coordinates in list

Malicondi wrote:

What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.
I have a list containing coordinates. I want to use these coordinates to spawn a sprite.
Malicondi
Scratcher
1000+ posts

Use xy coordinates in list

Narekpro wrote:

Malicondi wrote:

What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.
I have a list containing coordinates. I want to use these coordinates to spawn a sprite.
what do you mean by “spawn a sprite”? If you want a sprite to go to the coordinates, depending on how your lists are setup you can do this:
go to x: (item (1) of [x positions v]) y: (item (1) of [y positions v])
or
go to x: (item (1) of [coordinates v]) y: (item (2) of [coordinates v])

Last edited by Malicondi (March 23, 2024 20:21:29)


post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Powered by DjangoBB