So I'm making a 2D top down RPG game (Think Pokemon or the early Final Fantasy games) and I wanted to make a fake depth effect for different heights.
First, I though I would be able to do it by using different parallax values depending on the layer height, and this is what I got:
Basically there are green "towers" which are supposed to be high. I would use this to simulate height on different objects such as buildings.
The problem is the further the objects (green towers in this case) are from the left side of the screen, the more deformed they get.
Can you set the parallax origin somewhere else, for example, the player?
I think I could make it by making the different height layers move more or less depending on how far the player is to an objext, but I think that would be quite complicated to make, and also would take quite a lot of memory, as I'm aiming to release this for mobile devices.
Any clue on how to make this?
Thanks for your time.