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):)
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.
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).
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!
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.
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.
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?
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.
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.
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)
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.
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?
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?
Comments
You need to be logged in to post comments
Add a Comment
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?
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)can you make a tutorial on scrolling like this but up and down instead?
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)this is too complicated plz make a less complicated script to copy! to complicated
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
4 scripts is too complex? Then try the scrolling demo that scratch comes with.
(view all replies)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.
Try looking up the game "chop shop" for a simple example.
(view all replies)cool, chck out mine
Is there a way to make it go up and down? I'll try...
Replace x with y and replace 480 with 360
i cant get the terrain the way i want it to be.
I'm making a scrolling game with the download i took from this. but how do you pitfalls and floating platforms?
Ask in the forums
Cool! You won The Scratch Cup 2009 from The_Scratch_Cup!
Yeah I know
(view all replies)nice but i cant download it, it just says cannot read message not understood??? plz help
Did you have the latest version of scratch?
Nice, I plan on starting a scrolling game and this should help a lot.
i,m gonna try putting this in a game :)
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).
boring
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!
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.
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.
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.
You can see the bug I mentioned in the following project (link to project)
(view all replies)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?
Both terrain sprites must have the same costumes in the same order.
It also happens on (link to project)
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.
well really all you need for 4-way scrolling is 4 round sprites im coming out with a 4 way scrolling engine.
No.
Instead of using multiple sprites?
Is there any way to use the scrolling strategy for a multidirectional scrolling with 4 sprites?
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].
wait ummm nevermind...
!!!! i have NEVER seen scrolling like this before!! how do you do it!?!?
Lol not even.
I said this on your other scrolling project but.... your a genius=D
I've got a large game in the works and I'm looking for a 2 directional scrolling method. This will be perfect. Thanks!
ok i tried to do this but it wont stop flickering. Help! please post a helpful comment on any one of my games!
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.
I cthink I can use this one now.
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)
No problem :3
i could use this scrolling type in jumper and my donkey kong game. thanks archmage ^3^
thx archmage
lol!
cool im going to use it
wow
good
Yeah, you could put them at any y position. I don't know why you would want to though.
I mean any y postion
hey archmage, can the scrolling boxs be at any X postions and still scroll
EXACTLY WHAT I NEEDED!!!!!! THANK U!!!!
Thanks :)
wow this is cool... i think its too advanced for me lol! but "wow" All of your games are really good though!
Well, you need platformer codes as well. Just check out my side scrolling engines.
yeah how do you even make a scrolling game?
Well now canadien money is worth more than american. YEAH
I actually made a dumb mistake, thanks for the help though. (I left out a '+1' somewhere in the script.
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.
plz comment on one of my projects pages
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?
Can you check my recent project name "scrolling test" and find out what is wrong with it?
P.s. you do check your comments often.
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.
It's about the same in USD. But it's way harder to learn than scratch.
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?
Hey archmage I think I found an easier to to scrollling that doesn't look like bad! (link to project)
The program is called flash. http://www.click-now.net/cgi-bin/download.pl?file=1435
Where can i get a copy of AS?