This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-30 14:00:09

ChristianbeiSCRATCH
New Scratcher
Registered: 2012-08-30
Posts: 3

How I can teleport me from one colur to an other(no coordinates)

I dont know how i can do it. I' ve tried all but nothing works. i dont want to use coordinates because i want to use the same colour and the same script every level but i dont know how i can teleport me from one colour to an other without using the coordinates
Need help pls.
Bye

Offline

 

#2 2012-08-30 14:01:01

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: How I can teleport me from one colur to an other(no coordinates)

Sorry, I cannot understand what you are saying.  sad  Can you explain it differently?


http://i50.tinypic.com/312u714.jpg

Offline

 

#3 2012-08-30 14:06:13

ChristianbeiSCRATCH
New Scratcher
Registered: 2012-08-30
Posts: 3

Re: How I can teleport me from one colur to an other(no coordinates)

I want to teleport my figure from a point that is blue to a point that is red.
And i dont want to use coordinates because i want to make more levels and there it can be that red isnt at the coordinates where it was before. That means that if i touch blue i come to the coordinates from the last level but i want that i go to red same as the last level.

Offline

 

#4 2012-08-30 14:16:34

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: How I can teleport me from one colur to an other(no coordinates)

You can use a variable with the coordinates:

if <(level) = [1]>
 go to x: (whatever) y: (whatever)
else
 if <(level) = [2]>
  go to x: (whatever) y: (whatever)
 else
  if <(level) = [3]>
   go to x: (whatever) y: (whatever)
  end
 end
end


http://i50.tinypic.com/312u714.jpg

Offline

 

#5 2012-08-30 14:23:28

ChristianbeiSCRATCH
New Scratcher
Registered: 2012-08-30
Posts: 3

Re: How I can teleport me from one colur to an other(no coordinates)

Thanks.

Offline

 

#6 2012-08-30 16:56:36

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: How I can teleport me from one colur to an other(no coordinates)

Or if the color is a sprite, just use the [go to [spriteName]] block.

go to [sprite v]

Last edited by fg123 (2012-08-30 16:56:55)


Hai.

Offline

 

#7 2012-08-31 15:12:19

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: How I can teleport me from one colur to an other(no coordinates)

Yes. Make the colours sprites and do

if <touching [red sprite v]?>
  go to [blue sprite v]
end


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

Board footer