Basically, here is my predicament.
i have to get a blue ball to move down a series of pegs, choosing left or right randomly. I have that done, but i have to loop it so that 120 balls are dropped one after each other, and so that they stack underneath the red pegs, in order of them falling.
like this:
<a href="http://tinypic.com?ref=jqiyat" target="_blank"><img src="http://i50.tinypic.com/jqiyat.jpg" border="0" alt="Image and video hosting by TinyPic"></a>
at the moment, my script looks like this
<a href="http://tinypic.com?ref=33at55u" target="_blank"><img src="http://i49.tinypic.com/33at55u.png" border="0" alt="Image and video hosting by TinyPic"></a>
Any idea guys?
Offline
Do the balls currently fall to the bottom of the screen instead of stacking on one another? So instead of a neat stack, you get several balls on top of each other? If so, I believe you'll want to tack the following on around everything within the repeat nine block.
if <touching color [1500FF]> else Put your current code in here endIf you were instead wanting to use stamps tell me, I could probably work something out for that as well. Hope this helps!
Offline
Ack, looks like my scratchblocks code didn't work so well. Sorry, here's what I was trying to say:
if touching color (whatever your blue color is)
(leave this blank)
else
put your current code here
Oh, and you'll want to get BB code for those image links next time, not HTML.
Offline