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

#1 2012-11-02 17:49:59

clarkey_2000
New Scratcher
Registered: 2012-11-02
Posts: 8

platformer

i do not know how when the sprite the player is controlling touches the sprite which when the players sprite touches it should change to the next background please help

Offline

 

#2 2012-11-02 17:57:41

clarkey_2000
New Scratcher
Registered: 2012-11-02
Posts: 8

Re: platformer

clarkey_2000 wrote:

i do not know how when the sprite the player is controlling touches the sprite which when the players sprite touches it should change to the next background please help

i mean when sprite 1 (the player's sprite) touches another sprite or  colour how do i get the backround to change?

Offline

 

#3 2012-11-02 20:36:18

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: platformer

when gf clicked
forever
if <touching [new color v]?>
broadcast [change background v]
end

when I receive [change background v]
switch to background [background 2]

Last edited by bullelk12 (2012-11-02 20:36:28)


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#4 2012-11-03 12:36:18

clarkey_2000
New Scratcher
Registered: 2012-11-02
Posts: 8

Re: platformer

bullelk12 wrote:

when gf clicked
forever
if <touching [new color v]?>
broadcast [change background v]
end

when I receive [change background v]
switch to background [background 2]

thanks man really appriciated

Offline

 

Board footer