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

#1 2010-10-22 10:11:13

matiwariat
New Scratcher
Registered: 2010-10-22
Posts: 4

need some help with map scrolling

ok so basicly im doing this as part of our ict class, my main problem is to get the thing to scroll sideways. the controls for the char can be keys or mouse i dont mind but i want the map to scroll :d, i tried some ideas i found in other games but they are either very complex or like the one i have in now- it scrolls one way or scrolls without me pressing anything and just drives of the screen -.- any help will be appreciated. its called dragonfate http://scratch.mit.edu/projects/matiwariat/1368445

Offline

 

#2 2010-10-22 11:40:37

matiwariat
New Scratcher
Registered: 2010-10-22
Posts: 4

Re: need some help with map scrolling

i think i fixed it by changing

<forever><change{ scrollx }by( 2 

to

<forever if><key[ left/right ]pressed?><change{ scrollx }by( 2

anyway, if anyone got suggestions then i dont mind

Offline

 

Board footer