View unanswered posts | View active topics It is currently Tue Jul 08, 2025 8:31 pm



Reply to topic  [ 8043 posts ]  Go to page Previous  1 ... 389, 390, 391, 392, 393, 394, 395 ... 537  Next
 Art Dump 
Author Message
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post Re: Art Dump
Whoah Lizard... That's... That's.. I'd like to play that.


Fri Jan 27, 2012 5:21 am
Profile YIM WWW
User avatar

Joined: Sun Jun 13, 2010 12:40 am
Posts: 327
Location: US of A
Reply with quote
Post Re: Art Dump
Me too, hopefully it will get actually get finished. :P


Fri Jan 27, 2012 7:25 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Art Dump
Don't worry it will ;)


Fri Jan 27, 2012 8:20 am
Profile
User avatar

Joined: Sun Apr 22, 2007 8:01 pm
Posts: 378
Location: Nomadic
Reply with quote
Post 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)
Image


Fri Jan 27, 2012 9:46 pm
Profile
User avatar

Joined: Sat May 05, 2007 6:04 pm
Posts: 2901
Reply with quote
Post 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
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Oct 12, 2009 11:19 pm
Posts: 797
Location: The Netherlands
Reply with quote
Post 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
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post 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
Profile
User avatar

Joined: Sat May 05, 2007 6:04 pm
Posts: 2901
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Art Dump
Maybe so roast but it doesn't look too good ingame.


Fri Jan 27, 2012 11:01 pm
Profile
User avatar

Joined: Sat May 05, 2007 6:04 pm
Posts: 2901
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Art Dump
Image


Fri Jan 27, 2012 11:30 pm
Profile
User avatar

Joined: Sun Apr 22, 2007 8:01 pm
Posts: 378
Location: Nomadic
Reply with quote
Post 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
Profile
User avatar

Joined: Sat May 05, 2007 6:04 pm
Posts: 2901
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Oct 12, 2009 11:19 pm
Posts: 797
Location: The Netherlands
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8043 posts ]  Go to page Previous  1 ... 389, 390, 391, 392, 393, 394, 395 ... 537  Next

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.284s | 15 Queries | GZIP : Off ]