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

#1 2010-08-20 14:46:32

aljowen
Scratcher
Registered: 2010-05-07
Posts: 79

One Question

im currently making a rollercoaster game but i was wondering if using only one sprite i can make it so thet if the left side of the sprite touches black it rotates right and if the left right of the sprite touches the ground it will rotate left (i think this is possible because i have seen projects with one sprite being two buttons and there may be a way to addapt this techniqe)

if thats not possible is there a way to do it with two sprites and so on any help would be greatly appreceated thanks

and i dont mind if it includes [blocks]<{ variables }>[/blocks] (as its hard to make good games without them)

Offline

 

#2 2010-08-20 15:32:21

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: One Question

It's simple - just use colour sensing! Make the left side of the sprite a certain colour, and the right side another colour  smile

Offline

 

#3 2010-08-21 05:29:25

aljowen
Scratcher
Registered: 2010-05-07
Posts: 79

Re: One Question

thanks cant belive i didnt think of that

Offline

 

Board footer