Discuss Scratch

-Nether_Portal-
Scratcher
35 posts

pls help how do I edit this codeeee

when green flag clicked
set [i v] to [1]
repeat ((length of [p v] :: list) / (3))
change [i v] by (3)
go to x: (item (i) of [p v] :: p) y: (item ((i) + (1)) of [p v] :: list)
end
stop [this script v]
--CHA0S--
Scratcher
100+ posts

pls help how do I edit this codeeee

What do you need help with?

Hi

Trying to become a forum helper
-Nether_Portal-
Scratcher
35 posts

pls help how do I edit this codeeee

--CHA0S-- wrote:

What do you need help with?
I mean like: how do you edit the list in here?
(context: the odd numbers of the list is x position and the even numbers of the list are y position)
(other context: there are a lot of numbers}
--CHA0S--
Scratcher
100+ posts

pls help how do I edit this codeeee

Do you mean using the add to list and delete from list blocks?

Hi

Trying to become a forum helper
-Nether_Portal-
Scratcher
35 posts

pls help how do I edit this codeeee

--CHA0S-- wrote:

Do you mean using the add to list and delete from list blocks?
yes
deck26
Scratcher
1000+ posts

pls help how do I edit this codeeee

You're not reading odd and even positions though, you're moving through the list in threes.
-Nether_Portal-
Scratcher
35 posts

pls help how do I edit this codeeee

deck26 wrote:

You're not reading odd and even positions though, you're moving through the list in threes.
yeah but, how do i change it?
deck26
Scratcher
1000+ posts

pls help how do I edit this codeeee

-Nether_Portal- wrote:

deck26 wrote:

You're not reading odd and even positions though, you're moving through the list in threes.
yeah but, how do i change it?
Change the two 3s to 2s!

Powered by DjangoBB