Psycho_666
Member
Hey.
I'm trying to make a tile based game setup. So I'm doing a small 10x10 tiles map.
What I am trying to do is using fake perspective, fake 3D and so on...
Basically the idea is, all tile stored objects arei stored in an array, then layed out on the screen.
Now I want to scale the upper row if tiles to be small and close together, the lower rows of tiles to be larger and further apart, so basically it looks like they are closer to the camera...
Basically non of the borders will be visible, so it will just looks like the upper ones are further away.
My brain just can't make this thing translate into code.
I have been banging my head against the wall this whole day and thinking about it at work and I tested a few different ways and my brain just refuses to solve the riddle.
I do not want 3D. I can see this being very nice simple straightforward formula especially keeping in mind it's all in an array and indexing and everything can be used. My brain just ... can't...
Please help...
I'm trying to make a tile based game setup. So I'm doing a small 10x10 tiles map.
What I am trying to do is using fake perspective, fake 3D and so on...
Basically the idea is, all tile stored objects arei stored in an array, then layed out on the screen.
Now I want to scale the upper row if tiles to be small and close together, the lower rows of tiles to be larger and further apart, so basically it looks like they are closer to the camera...
Basically non of the borders will be visible, so it will just looks like the upper ones are further away.
My brain just can't make this thing translate into code.
I have been banging my head against the wall this whole day and thinking about it at work and I tested a few different ways and my brain just refuses to solve the riddle.
I do not want 3D. I can see this being very nice simple straightforward formula especially keeping in mind it's all in an array and indexing and everything can be used. My brain just ... can't...
Please help...