apicici, A few weeks ago I had an idea on how to get a parallax effect in my game that would be BOTH pixel-perfect and smooth. Yesterday I finally tried it out and it works even better than I expected!
Here's a before/after comparison. The improvement is especially noticeable with multiple background layers moving at different speeds, like the clouds and the moon/stars.
When I have some time I'll try to write a short blog post about the technique.
#pixelArt #indieDev #gameDev #pointAndClick
An animation showcasing the old parallax effect in one of the locations of our upcoming game. The camera moves left to right on the pixel art drawing of a cemetery, with threes in the foreground and the sky in the background on different layers with different parallax settings.
An animation showcasing the smooth parallax effect in one of the locations of our upcoming game. The camera moves left to right on the pixel art drawing of a cemetery, with threes in the foreground and the sky in the background on different layers with different parallax settings.