Discuss Scratch

mwiedmann
Scratcher
100+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.


I posted this in the “help with scripts” forum as well because so many people there ask how to do scrolling backgrounds, but I wanted to share it here too.

I see a bunch of posts on the discussion forums about “how do I do a scrolling background”. I think I've created an excellent demo for how to do it. This is the best method I've come up with, and the best part is that you should be able to just drop the scrolling sprite right into your games and use it.

This is the ultimate scrolling background solution. Only 1 sprite is used for the scrolling! Super fast, super efficient, easy to understand, lot's of comments in the script so you can learn how it works. It's ready for you to use in your games!

No more cluttering your programs with a bunch of sprites to handle scrolling. My solution uses 1 sprite so your program remains clean and you can focus on creating your game. All you have to do is insert your background images and you are ready to go.

Scrolling Background How To

Let me know if you find any bugs or improvements.
-MRW
heatguts
Scratcher
100+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.

that is REALLY COOL. as soon as scratch 2.0 comes out, im totally using that!

and im giving you credit too

“Alright, I've been thinking. When life gives you lemons, don’t make lemonade. Make life take the lemons back! Get mad! I don’t want your lemons, what am I supposed to do with these? Demand to see life’s manager! Make life rue the day it thought it could give Cave Johnson lemons! Do you know who I am? I’m the man who’s gonna burn your house down! With the lemons! I’m gonna get my engineers to invent a combustible lemon that burns your house down!” -Cave Johnson, CEO of Aperture Science
LeDerpy123
Scratcher
1000+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.

heatguts wrote:

that is REALLY COOL. as soon as scratch 2.0 comes out, im totally using that!

and im giving you credit too
Scratch 2.0… did come out.

My specs: Windows 8.1.2 - 3 GB RAM - Intel Core2 Quad - IE11
StardustGogeta
Scratcher
100+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.

This is amazing! Would AProductions be able to use this in our project?

“I am the man who will destroy you!” - Super Gogeta
Check out my math projects and arcade games!
My browser / operating system: Windows 10, Chrome 45.0.2454.85
mwiedmann
Scratcher
100+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.

StardustGogeta wrote:

This is amazing! Would AProductions be able to use this in our project?

Yes. I created this so everyone can use it. I WANT people to use it. No need to ask. A small credit in the notes would be fine. Please enjoy it and let me know if you find any performance improvements. I look forward to seeing your project.

Keep an eye on this project because I'm working on a few improvements.
StardustGogeta
Scratcher
100+ posts

My ultimate scrolling background solution. Do you need a scrolling background? This is for you.

mwiedmann wrote:

StardustGogeta wrote:

This is amazing! Would AProductions be able to use this in our project?

Yes. I created this so everyone can use it. I WANT people to use it. No need to ask. A small credit in the notes would be fine. Please enjoy it and let me know if you find any performance improvements. I look forward to seeing your project.

Keep an eye on this project because I'm working on a few improvements.
Okay, thank you very much.

“I am the man who will destroy you!” - Super Gogeta
Check out my math projects and arcade games!
My browser / operating system: Windows 10, Chrome 45.0.2454.85

Powered by DjangoBB