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

#1 2010-10-23 16:55:38

Relinquished_
New Scratcher
Registered: 2010-06-28
Posts: 31

Catapult

I am working on a catapult game, but I've run into a slight problem.  The catapult rotates according to the mouse and it works great, but, I want it to not be able to move right if the right side's touching the ground and vice-versa. 

Can I do that with one sprite?

Offline

 

#2 2010-10-23 23:38:19

2l84zwamani
Scratcher
Registered: 2010-09-27
Posts: 100+

Re: Catapult

I think this should work (make the right sided a different colour:

When flag clicked
If not colourofrightofcatapult touching groundsprite/colour of ground
Point towards mouse pointer
Else
nothing
End if


I will be a Ms. Pickle Dr. Deadpebble Great Person <forever>
http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3 GROB THE SLIME WILL TAKE OVER THE WORLD!

Offline

 

Board footer