Closed clintbellanger closed 10 years ago
Note, most of Flare's tile sets aren't built with this backdrop feature in mind -- they fade to black and use black backfaces on tiles. So a mostly-black starfield will be fine for the Warp Zone map as a test.
In the future (e.g. Wandercall) I plan on making heavy use of backdrops, probably a backdrop to match every new tile set.
CRAB NEBULA http://en.wikipedia.org/wiki/Crab_Nebula Perfect for warp points.
Currently all map backdrops are black. Instead we want the option of a repeating image.
Further, we want the option to make this image scroll at a slower pace than the tile layers, to give a parallax feel.
As an example: perhaps we can find a repeating 512x512px starfield (public domain via NASA) image to use as the background for the new Warp Zone map.
The background_image and background_scroll options would be set in map files. Perhaps we also add background_color in case a map wants a different solid color background than black.
Scroll speed should probably be a percentage of the tile layers' speed. Perhaps integer based, default 100. When my brain is working better I'll help figure out this algorithm. I suppose it's something like map_to_screen's results multiplied by the scroll speed.
The background will repeat, so there needs to be an algorithm that tiles the image over the entire window size.