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

#1 2010-09-12 00:44:11

JTxt
Scratcher
Registered: 2010-05-19
Posts: 100+

painting_with_4_layers_parallax_scrolling

http://scratch.mit.edu/static/projects/JTxt/1294067_med.png
painting_with_4_layers_parallax_scrolling

Works online and in presentation mode.

This is to test out parallax scrolling with 4 layers.  I used gimp to draw and crop the costumes.

layer 1 has 2 costumes
layer 2 has 3
layer 3 has 4
layer 4 has 6

And the math took some figuring out.  Fun stuff!  Feel free to use this in your projects.  Let me know if you have questions, and I'll explain how it works.


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#2 2010-09-12 09:27:52

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: painting_with_4_layers_parallax_scrolling

(Bump)

Really awesome project! How much more laggy do you think this would when used in a scrolling game compared to a one layer scrolling game?


http://i.imgur.com/WBkM2QQ.png

Offline

 

#3 2010-09-12 10:43:01

aljowen
Scratcher
Registered: 2010-05-07
Posts: 79

Re: painting_with_4_layers_parallax_scrolling

very nice

Offline

 

#4 2010-09-12 18:44:19

JTxt
Scratcher
Registered: 2010-05-19
Posts: 100+

Re: painting_with_4_layers_parallax_scrolling

Lucario621 wrote:

(Bump)

Really awesome project! How much more laggy do you think this would when used in a scrolling game compared to a one layer scrolling game?

For a simple game, not bad.
But it also depends how it's built. This will be more of a challenge because this is a 1s1s and it stamps all the layers, so the characters would have to detect the level layer somehow.  It would be eaiser if they were separate sprites(but would have to be the top layer), or you mayhave to save the level collision information in a list.  Or this scroller could be redone into 2 sprites for each layer, but I don't think it would run as smooth.

Last edited by JTxt (2010-09-12 18:45:17)


http://scratch.mit.edu/static/icons/buddy/524717_med.png?t=2010-06-15+09%3A48%3A36

Offline

 

#5 2010-09-15 17:16:04

Scratchguy12125
Scratcher
Registered: 2008-03-14
Posts: 14

Re: painting_with_4_layers_parallax_scrolling

I love the concept of making this into a game especially because we could finaly have a good lbp scratched version but yeah it would be rteal hard.

Offline

 

#6 2010-09-15 17:21:02

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: painting_with_4_layers_parallax_scrolling

Congratz on featured  smile


http://i.imgur.com/WBkM2QQ.png

Offline

 

#7 2010-09-16 21:04:07

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: painting_with_4_layers_parallax_scrolling

Very Nice ^^


(About time more art gets appreciated....*mumble*)


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#8 2010-09-17 02:11:48

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: painting_with_4_layers_parallax_scrolling

Woah Nice job +0!  smile

IT looks amazing!  big_smile


Hai.

Offline

 

#9 2010-09-17 20:50:07

greencircle
Scratcher
Registered: 2009-12-26
Posts: 2

Re: painting_with_4_layers_parallax_scrolling

wow that is amazuin!!!!!!!1


I Eat Stuff And Get High Off Of Airrr Owo

Offline

 

#10 2010-09-19 01:09:12

uni030301
Scratcher
Registered: 2009-10-04
Posts: 5

Re: painting_with_4_layers_parallax_scrolling

How do you do that JTxt? I mean, just tried to draw the mountains like you, and I FAILED> XD Can you help me?

Offline

 

#11 2010-10-02 20:00:11

BenDaMan
Scratcher
Registered: 2009-01-18
Posts: 32

Re: painting_with_4_layers_parallax_scrolling

Dude, that rox!!!!!!!!!!!!!!!!!!!!

Offline

 

#12 2010-10-02 20:03:36

PW132
Scratcher
Registered: 2009-05-16
Posts: 1000+

Re: painting_with_4_layers_parallax_scrolling

BenDaMan wrote:

Dude, that rox!!!!!!!!!!!!!!!!!!!!

Ah, so you use the forums now.  tongue


SCRATCH 2.0 OHHHHH MANNNNNNN
http://i18.photobucket.com/albums/b107/PsychicDeath/universe.gif

Offline

 

#13 2010-10-09 17:44:58

ktnina2
Scratcher
Registered: 2010-08-09
Posts: 9

Re: painting_with_4_layers_parallax_scrolling

THE BEST progect I ever seen! how did you do that on gimp?


http://scratch.mit.edu/projects/ktnina2/1343568  big_smile

Offline

 

Board footer