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

#1 2010-07-30 12:50:57

conciousnomore
Scratcher
Registered: 2010-07-12
Posts: 17

Scrolling: I need a simple explanation!

The scratchwiki dosen't really tell me anything, and none of the tutorials acctually explain whats happening with the scripts so I can't produce the effect on my own.
can somebody please give me a plain and simple explanation of how I create scrolling?


Concious Corps. From bad puns to art requests we can do any custom project that you request faster and cheaper than anyone else with 100% guaranteed perfect grammar.

Offline

 

#2 2010-07-30 13:05:09

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: Scrolling: I need a simple explanation!

http://scratch.mit.edu/projects/archmage/145760
I found that project very simple, it didn't make it hard. Just study the scripts.

Basically scrolling is just looping environments. For a new Scratcher, I recommend not making it on your own, but using what the project gives you and experimenting. Then once you've figured it out you can use the project as a guideline to create the scripts. Hope this helped  smile


Scratchin' since 2007

Offline

 

#3 2010-07-30 13:15:00

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Scrolling: I need a simple explanation!

adriangl wrote:

http://scratch.mit.edu/projects/archmage/145760
I found that project very simple, it didn't make it hard. Just study the scripts.

Basically scrolling is just looping environments. For a new Scratcher, I recommend not making it on your own, but using what the project gives you and experimenting. Then once you've figured it out you can use the project as a guideline to create the scripts. Hope this helped  smile

Even you make it sound hard. You are moving a set of sprites in unison, that is it (unless you are just using 2 sprites but that is also not super hard).

I helped write the scrolling article in the scratch wiki and I thought the part on the "traditional method" was clear. I don't think you need to explain what the is going on when all the script says is "move to x: terrain*1 + scrollX" because it is so clear that you can't break it down anymore.

I think you should look at the script but more importantly understand the concept.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2010-07-30 17:12:35

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Scrolling: I need a simple explanation!

You are just moving sprites at the same time to simulate motion. I now can easily make a scroller from scratch (no pun intended) because I have made enough to understand how to make one, x, y, or 4 way.


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#5 2010-07-31 14:08:09

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Scrolling: I need a simple explanation!

To get a "simple" answer you need to simplify your question because scrolling is not just one thing but can be done many different ways. Tell us what you want to scroll and we will hook you up with an explanation that makes sense to you  smile

Last edited by Locomule (2010-07-31 14:09:09)


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#6 2010-08-01 12:55:17

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Scrolling: I need a simple explanation!

Here is my tutorial on scrollx type scrolling. All the explanations are in the project notes along with suggestions on things to experiment with later. Not saying this is your answer  or that it is the best scrolling tutorial out there but it will help someone for sure...

Super Simple Scrollx demo


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer