Author |
Message |
trystanr
Joined: Sat Oct 09, 2010 10:01 am Posts: 303 Location: Afrique d' Sud
|
 Re: Art Dump
Whoah Lizard... That's... That's.. I'd like to play that.
|
Fri Jan 27, 2012 5:21 am |
|
 |
Jomn
Joined: Sun Jun 13, 2010 12:40 am Posts: 327 Location: US of A
|
 Re: Art Dump
Me too, hopefully it will get actually get finished. 
|
Fri Jan 27, 2012 7:25 am |
|
 |
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
 Re: Art Dump
Don't worry it will 
|
Fri Jan 27, 2012 8:20 am |
|
 |
madmax
Joined: Sun Apr 22, 2007 8:01 pm Posts: 378 Location: Nomadic
|
 Re: Art Dump
Does anyone know how to make parallax scrolling animations? I know you need several layers, all moving at different speeds, but what program or how do I get an image to scroll sideways? An example of parallax scrolling (not mine) 
|
Fri Jan 27, 2012 9:46 pm |
|
 |
Metal Chao
Joined: Sat May 05, 2007 6:04 pm Posts: 2901
|
 Re: Art Dump
You move the closest layer three pixels right per frame The second layer two pixels The third one pixel etc
Do this until you have reached a number of frames sufficient to loop all the images to the starting position
Flash will automate this all for you but much prefers vectors to bitmaps and isn't very good at saving bitmaps nicely Any other program like GIMP will make you do all the moving by hand but it is easier to export a nicer looking result using graphics not drawn in-program
Unless you're more specific I can't really help you more than that
|
Fri Jan 27, 2012 9:53 pm |
|
 |
Adriaan
Data Realms Elite
Joined: Mon Oct 12, 2009 11:19 pm Posts: 797 Location: The Netherlands
|
 Re: Art Dump
maart3n wrote: Great work so far. Nonsequitorian wrote: Yah. Wow. That's amazing. CrazyMLC wrote: Adriaan, I love those hands. Thanks for the compliments! That's an awesome looking game Lizard, it's a sidescrolling platformer/shooter?
|
Fri Jan 27, 2012 10:29 pm |
|
 |
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
 Re: Art Dump
metal chao wrote: You move the closest layer three pixels right per frame The second layer two pixels The third one pixel etc Actually in that particular image there are three layers, the static background, the middle layer and the closest layer, which is travelling at exactly twice the speed of the middle layer, meaning there are far fewer frames required to loop it (one lap of the middle layer).
|
Fri Jan 27, 2012 10:30 pm |
|
 |
Metal Chao
Joined: Sat May 05, 2007 6:04 pm Posts: 2901
|
 Re: Art Dump
I was talking in general rather than that image in specific Obviously the speed and number of layers isn't going to be the same every time
|
Fri Jan 27, 2012 10:41 pm |
|
 |
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
 Re: Art Dump
Maybe so roast but it doesn't look too good ingame.
|
Fri Jan 27, 2012 11:01 pm |
|
 |
Metal Chao
Joined: Sat May 05, 2007 6:04 pm Posts: 2901
|
 Re: Art Dump
the more pixels per frame the movement is the choppier it looks, until you have to increase the framerate at which point it looks nicer but you have to make twice as many frames
|
Fri Jan 27, 2012 11:02 pm |
|
 |
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
 Re: Art Dump
|
Fri Jan 27, 2012 11:30 pm |
|
 |
madmax
Joined: Sun Apr 22, 2007 8:01 pm Posts: 378 Location: Nomadic
|
 Re: Art Dump
metal chao wrote: You move the closest layer three pixels right per frame The second layer two pixels The third one pixel etc
Do this until you have reached a number of frames sufficient to loop all the images to the starting position
Flash will automate this all for you but much prefers vectors to bitmaps and isn't very good at saving bitmaps nicely Any other program like GIMP will make you do all the moving by hand but it is easier to export a nicer looking result using graphics not drawn in-program
Unless you're more specific I can't really help you more than that But that would take like 300 frames for a 100x300 size image, that's awful tedious to move each layer over a few pixels.
|
Fri Jan 27, 2012 11:33 pm |
|
 |
Metal Chao
Joined: Sat May 05, 2007 6:04 pm Posts: 2901
|
 Re: Art Dump
madmax wrote: But that would take like 300 frames for a 100x300 size image, that's awful tedious to move each layer over a few pixels. Welcome to animating You can probably move more than 3 pixels at a time for a 300 pixel image though, just remember that the more pixels per second you are moving, the choppier the animation will be
|
Fri Jan 27, 2012 11:50 pm |
|
 |
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
 Re: Art Dump
Ideally you'd move the background seperate from the framecount and together with how the camera's moving according to "solid ground".
|
Fri Jan 27, 2012 11:58 pm |
|
 |
Adriaan
Data Realms Elite
Joined: Mon Oct 12, 2009 11:19 pm Posts: 797 Location: The Netherlands
|
 Re: Art Dump
metal chao wrote: madmax wrote: But that would take like 300 frames for a 100x300 size image, that's awful tedious to move each layer over a few pixels. Welcome to animating You can probably move more than 3 pixels at a time for a 300 pixel image though, just remember that the more pixels per second you are moving, the choppier the animation will be Instead of animating all frames manually you could simply code it to move the layers accordingly as well as repeating them when needed, that is assuming you're talking about parallax backgrounds in games.
|
Fri Jan 27, 2012 11:59 pm |
|
 |
|