Efficient Scrolling Demo

Your browser needs java to view projects. Click here to install Java.

user_icon archmage shared it 1 year, 10 months ago
user_icon Based on archmage's project
1408 views, 9 taggers, 16 people love it, 485 downloads, in 10 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
idunno idunno 1 month ago

I seriously need help i have tried all the tutorials i can find but can't do 4-way scrolling. Would you point me in the right direction please?

Prestige Prestige 1 month ago

4 way scrolling? If you mean X and Y then you need to set your terrain sprites to >set X to ScrollX+480*(whatever) and >set Y to ScrollY+480*(whatever):)

(view all replies)
Asimo Asimo 2 months, 1 week ago

can you make a tutorial on scrolling like this but up and down instead?

archmage archmage 2 months, 1 week ago

Just replace x with y and 480 with 360. Do this for every time you see it and it will go up and down.

(view all replies)
NandoKilla NandoKilla 4 months, 2 weeks ago

this is too complicated plz make a less complicated script to copy! to complicated

FantasyTales FantasyTales 4 months ago

that shouldnt crash your computer, how many gigs of ram? anyway this is as simple as it gets, if you cant use this than u cant make good scrollers

archmage archmage 4 months, 2 weeks ago

4 scripts is too complex? Then try the scrolling demo that scratch comes with.

(view all replies)
benderbending benderbending 5 months ago

Wow finally this is what I am looking, i have some question... how do you make a sprite move through the backround with the backround moving, like (example) mario classic games and others and platforms for the sprite stand on and to jump on? I am pretty new to this so plz help me out.

archmage archmage 5 months ago

Try looking up the game "chop shop" for a simple example.

(view all replies)
GameMaker27 GameMaker27 5 months, 1 week ago

cool, chck out mine

thefunkeypee thefunkeypee 5 months, 2 weeks ago

Is there a way to make it go up and down? I'll try...

archmage archmage 5 months, 2 weeks ago

Replace x with y and replace 480 with 360

entertainment entertainment 8 months, 1 week ago

i cant get the terrain the way i want it to be.

Blake2621 Blake2621 10 months, 3 weeks ago

I'm making a scrolling game with the download i took from this. but how do you pitfalls and floating platforms?

archmage archmage 9 months, 3 weeks ago

Ask in the forums

benjamin2 benjamin2 10 months, 3 weeks ago

Cool! You won The Scratch Cup 2009 from The_Scratch_Cup!

archmage archmage 10 months, 3 weeks ago

Yeah I know

(view all replies)
sambo1994 sambo1994 1 year, 2 months ago

nice but i cant download it, it just says cannot read message not understood??? plz help

Buddy_ca111 Buddy_ca111 11 months, 1 week ago

Did you have the latest version of scratch?

Shadow-Kun Shadow-Kun 1 year, 2 months ago

Nice, I plan on starting a scrolling game and this should help a lot.

DR4G0N DR4G0N 1 year, 3 months ago

i,m gonna try putting this in a game :)

inuwali inuwali 1 year, 3 months ago

Very nice! Smooth and simple. All you really need is two sprites since that's all that could be in view at one time. I came up with a similar solution independently for a two-dimensional scrolling game (horizontal and vertical).

theexterminator theexterminator 1 year, 5 months ago

boring

BATzerk BATzerk 1 year, 4 months ago

I think it's more a template for other Scratch users than its own game. (Try using it to make your own game! I think-- and Archmage, correct me if I'm wrong-- that its purpose is for exactly that!) Good luck!

Paddle2See Paddle2See* 1 year, 6 months ago

Sorry, should have mentioned that you can delete the flickering version any time you want, I took a copy. I had a couple of theories but nothing has proven out yet; still thinking. Not sure why I'm interested, the velocity version is fine, but I would like to know why it's doing what it's doing. Very annoying.

Paddle2See Paddle2See* 1 year, 6 months ago

This is awesome! This would have saved me a bunch of thinking if I had seen it before I did my little scroller project recently. I love this technique. I do believe that the Forum tutorial topic that references this has an error in the movement script. The end of the second If is in the wrong spot.

archmage archmage 1 year, 6 months ago

Ohhh, I see what you mean. I thought you were referring to the scripts in this project. Thanks for letting me know about my typo. I'll fix it now.

archmage archmage 1 year, 6 months ago

You can see the bug I mentioned in the following project (link to project)

(view all replies)
archmage archmage 1 year, 6 months ago

The problem was that the sprites would flicker if you didn't use a movement script that involved velocity. If you tried to change scrollX simply by adding to or taking away from the variable the screen flickers. Unfortunately, I don't quite understand how the solution you mentioned would fix this, can you explain your solution in greater detail?

archmage archmage 1 year, 7 months ago

Both terrain sprites must have the same costumes in the same order.

maki maki 1 year, 7 months ago

It also happens on (link to project)

maki maki 1 year, 7 months ago

Um... Archmage little problem here, I made a platform scroller using this scrolling technique (it's not posted yet), but the platform costumes change suddenly. I think this is because of the 'switch costume to (terrainnum).' Could you please tell me how to fix this?! :D Please answer on one of my projects.

lukanater lukanater 1 year, 7 months ago

well really all you need for 4-way scrolling is 4 round sprites im coming out with a 4 way scrolling engine.

archmage archmage 1 year, 7 months ago

No.

Lucario621 Lucario621 1 year, 7 months ago

Instead of using multiple sprites?

Lucario621 Lucario621 1 year, 7 months ago

Is there any way to use the scrolling strategy for a multidirectional scrolling with 4 sprites?

inuwali inuwali 1 year, 3 months ago

I've just posted a project that does this and allows unlimited map sizes in both dimensions. Check it out [url=(link to project)]here[/url].

redsooty9 redsooty9 1 year, 7 months ago

wait ummm nevermind...

redsooty9 redsooty9 1 year, 7 months ago

!!!! i have NEVER seen scrolling like this before!! how do you do it!?!?

archmage archmage 1 year, 7 months ago

Lol not even.

Donut-slayer Donut-slayer 1 year, 7 months ago

I said this on your other scrolling project but.... your a genius=D

fullmoon fullmoon 1 year, 7 months ago

I've got a large game in the works and I'm looking for a 2 directional scrolling method. This will be perfect. Thanks!

Cyclone103 Cyclone103 1 year, 8 months ago

ok i tried to do this but it wont stop flickering. Help! please post a helpful comment on any one of my games!

thecooltodd thecooltodd 1 year, 8 months ago

Here's another way to do the same thing except in 2 dimensions: (link to project) I prefer the mod command because I don't really like using the round command.

Sakani Sakani 1 year, 8 months ago

I cthink I can use this one now.

NobodyKnowsNorune NobodyKnowsNorune 1 year, 9 months ago

Um arch... I used this and it didn't work, well it works just not very well, there are large gaps inbetween the terains, here I was hopeing you could help. (link to project)

archmage archmage 1 year, 9 months ago

No problem :3

nikkiperson2 nikkiperson2 1 year, 9 months ago

i could use this scrolling type in jumper and my donkey kong game. thanks archmage ^3^

dumbnerd dumbnerd 1 year, 9 months ago

thx archmage

ivandonat ivandonat 1 year, 9 months ago

lol!

nuva123431 nuva123431 1 year, 9 months ago

cool im going to use it

Snowberry23 Snowberry23 1 year, 9 months ago

wow

ryano ryano 1 year, 9 months ago

good

archmage archmage 1 year, 9 months ago

Yeah, you could put them at any y position. I don't know why you would want to though.

NobodyKnowsNorune NobodyKnowsNorune 1 year, 9 months ago

I mean any y postion

NobodyKnowsNorune NobodyKnowsNorune 1 year, 9 months ago

hey archmage, can the scrolling boxs be at any X postions and still scroll

monkeypiefairy monkeypiefairy 1 year, 9 months ago

EXACTLY WHAT I NEEDED!!!!!! THANK U!!!!

archmage archmage 1 year, 9 months ago

Thanks :)

planetbravo planetbravo 1 year, 9 months ago

wow this is cool... i think its too advanced for me lol! but "wow" All of your games are really good though!

archmage archmage 1 year, 9 months ago

Well, you need platformer codes as well. Just check out my side scrolling engines.

IntellectComplexity IntellectComplexity 1 year, 9 months ago

yeah how do you even make a scrolling game?

NobodyKnowsNorune NobodyKnowsNorune 1 year, 9 months ago

Well now canadien money is worth more than american. YEAH

fbboi999 fbboi999 1 year, 9 months ago

I actually made a dumb mistake, thanks for the help though. (I left out a '+1' somewhere in the script.

archmage archmage 1 year, 9 months ago

Firstly, if you ever run this offline it will probably flash. Also, I found that if you do not move the terrain with velocities it will flash no matter what you do. And for the screens to be in the right order BOTH of the terrain sprites MUST have the same costumes in the exact same order like in this project.

fbboi999 fbboi999 1 year, 9 months ago

plz comment on one of my projects pages

fbboi999 fbboi999 1 year, 9 months ago

question... I downloaded and implemented this in a project(unreleased) and it messes up. The terrain flashes and changes, not the little flashes like this one... but it doesn't work in the right order. Any thoughts?

Lucario621 Lucario621 1 year, 9 months ago

Can you check my recent project name "scrolling test" and find out what is wrong with it?

Lucario621 Lucario621 1 year, 9 months ago

P.s. you do check your comments often.

Lucario621 Lucario621 1 year, 9 months ago

oh, because when I buy a book that is $5(american)on the back is says canadian is $10 dollars or a few dollars more.

archmage archmage 1 year, 9 months ago

It's about the same in USD. But it's way harder to learn than scratch.

Lucario621 Lucario621 1 year, 9 months ago

Kalininrussia said "OK, but I don't think they have flash that you can buy in Russia. And if so, $200 dollars Canadian is like 5000 rubles in Russia" ok, so if it is $200 canadian, how much American?

NobodyKnowsNorune NobodyKnowsNorune 1 year, 10 months ago

Hey archmage I think I found an easier to to scrollling that doesn't look like bad! (link to project)

archmage archmage 1 year, 10 months ago

The program is called flash. http://www.click-now.net/cgi-bin/download.pl?file=1435

Clay_ProScratcher Clay_ProScratcher 1 year, 10 months ago

Where can i get a copy of AS?

Please Wait...