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

#1 2012-01-28 13:35:34

megnut99
New Scratcher
Registered: 2012-01-28
Posts: 7

Making Backgrounds solid

Hey does anyone know how to make a background solid? I know how to jump when you are on a certain color on the background, but I'm looking for more solid walls. If anyojne can help..

Offline

 

#2 2012-01-28 13:40:13

treebark1313
Scratcher
Registered: 2011-05-23
Posts: 90

Re: Making Backgrounds solid

Use the sensor i made, no credit needed: http://scratch.mit.edu/projects/treebark1313/2250576
just don't claim as your own.


When life gives you 100 reasons to frown,
show life you have 1000 reasons to smile. - Unknown

Offline

 

#3 2012-01-28 13:43:07

treebark1313
Scratcher
Registered: 2011-05-23
Posts: 90

Re: Making Backgrounds solid

I know that uses a sprite, but it's best not to use the background


When life gives you 100 reasons to frown,
show life you have 1000 reasons to smile. - Unknown

Offline

 

#4 2012-02-03 20:26:04

mr_fish_fish
Scratcher
Registered: 2009-11-12
Posts: 52

Re: Making Backgrounds solid

If you are looking to know how to make a wall on the side of the stage, then try using the <touching color [ ]?> block. Maybe something like this:

when gf clicked
forever
if <key [right arrow v] pressed?>
if <not<touching color [#FF0000]?>>
change x by (10)
end
end
if <key [left arrow v] pressed?>
if <not<touching color [#0000FF]?>>
change x by (-10)
end
end
end
Hope This Helps!

Last edited by mr_fish_fish (2012-02-03 20:27:24)


/\/\ ® _ |= 1 § |-| _ |= 1 § |-|

Offline

 

Board footer