I want a script where when you get to the end of a scrolling bar (In this case, of ingredients for a pizza) it stops and waits for you to go the other way. The arrows that move the scrolling ingredients bar are mouse controlled, and there will be buttons on the bar.
If anyone can make me a script it would help SOOOOO much. Thanks, and I'll give credit
SCRATCH ON!
Offline
So what you are saying is
that you click the buttons to scroll through
or
that it scrolls, and then you can go back with the arrows?
If I have more info, I can maybe script something that is better for your situation...
Last edited by coka (2010-06-17 19:48:40)
Offline
coka wrote:
So what you are saying is
that you click the buttons to scroll through
or
that it scrolls, and then you can go back with the arrows?
If I have more info, I can maybe script something that is better for your situation...
You click the buttons to scroll
Offline
Is the scroll bar the length of the screen? If it is, it will be easier.
also
Do the changing ingredients effect the length of the scrolling? Are they random, or costumes?
Last edited by coka (2010-06-17 20:12:36)
Offline
coka wrote:
Is the scroll bar the length of the screen? If it is, it will be easier.
also
Do the changing ingredients effect the length of the scrolling? Are they random, or costumes?
The scroll bar is the length of screen, and the igredients fit in the scroll bar There are goign to be separate sprites for every ingredient (there are like 16) until I can find a substitution
Would you like for me to upload the scroll bar?
Offline
coka wrote:
samurai768 wrote:
Would you like for me to upload the scroll bar?
Sure, that might be a good idea!
![]()
Here it is: http://scratch.mit.edu/projects/samurai768/1136792
Offline
This should not give you such a hard time
just do this:
if scrollx> rightlimit{
set scrollx to right limit
}
What that does is if it passes the limit, the scrolling variable is set to the limit.
Last edited by archmage (2010-06-23 14:27:09)
Offline