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

#1 2012-11-10 05:01:12

CMscratcher
Scratcher
Registered: 2012-05-03
Posts: 3

Scroll Y

I need to try to figure out a formula for scroll y. I'm sure lots of over people want to figure it out too. So if we scratchers all put our heads together we can figure it out. It will be a revolution in scratch!
This is what iv'e got so far:
terrain 1

[scratchblocks]
when gf clicked
forever
set y to < (scroll y) / [5]
end

terrain 2

[scratchblocks]
when gf clicked
forever
set y to < (scroll y) / [10]
end

Offline

 

#2 2012-11-10 05:10:27

CMscratcher
Scratcher
Registered: 2012-05-03
Posts: 3

Re: Scroll Y

***Extra***
Character

[scratchblocks]
when gf clicked
forever
if <key (down arrow) pressed?
change (scroll y) by (10)                   

from the if, down arrow would be up and change y by -10

Offline

 

#3 2012-11-10 10:39:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Offline

 

Board footer