Awesome-Game-Team / Awesome-Game

An Awesome Game
GNU General Public License v3.0
8 stars 9 forks source link

Scrolling Background Images #5

Closed jimfrize closed 8 years ago

jimfrize commented 8 years ago

I'd really like to try and implement a scrolling background that creates a sort of pseudo-3D parallaxing pan effect. Perhaps some line drawn cityscapes would look nice?

OneSleepyDev commented 8 years ago

Is that the same effect used for Super Mario World? (2 layer background, clouds, leaves falling, mountains, etc.) Forgive me for my ignorance. :p

metalx1000 commented 8 years ago

Sleepy (can I call you that?), I think be means something like that. Could be a still image (repeating pattern probably), that moves a bit slower then the front layer. And we can also have an animated as well.

I've only played with tilemaps a little bit. I've created the current level quickly with Tiled (http://www.mapeditor.org/). It's in the repositories for Debian, so I'm assuming other Linux distros as well. Or you can get it from the website if you are feeling adventurous. :D

OneSleepyDev commented 8 years ago

Fine with me, it's accurate. I just abbrev to osd when I'm feeling lazy.

That sounds good to me! Although, I have almost zero experience with using tilemaps. (The most I've done is stretch an image)

jimfrize commented 8 years ago

When I get the time I can put together a seamless background image.

OneSleepyDev commented 8 years ago

@jimfrize You've already been doing so much, hope this isn't too much to ask. When you have time would you mind creating a farm looking background? I thought it might go well with the chickpea character.

I can see it now.. :corn: "Episode 1: Escape the farm!" :leaves:

jimfrize commented 8 years ago

@OneSleepyDev Once we have worked out the right way to do the backgrounds, I'll make a whole bunch of different scenes :)

metalx1000 commented 8 years ago

Look at my latest push and tell me what you think of the background movement.

jimfrize commented 8 years ago

@metalx1000 Superb work, looks great!