How would I allow the player to stack blocks on to each other to build a house that is not flat
That would be very tricky
Cause you could technically do it with Z order and Y position
But then you would need to worry about depth
Did you consider going 3D?
I’m not sure… I have already put a lot of effort into the game and making it 3d would be hard with the art because I like having custom art and I don’t have a functional computer and am doing the project on an ipad.
Ok forget about 3D i just realize you would run into performance issues
NOW
Imagine this
Player is facing left
He put 1 brick to the left
Now he puts another brick on it so we have 2
If he want to put brick BEHIND these 2 bricks so you need to walk up
What now?
Do you see how that 2nd brick would conflict any kind of logic for brick behind?
Better idea would be to allow player to build whole structures
Like make image of house under construction and as player interact with it idk make HP bar or % how much he build so far
And when its 100% you change animation to house
Press Z to get resources then E to select something to build and confirm with space
Then place it and look how it works
I have not found any better way
And in what you want to achieve i see only problems and not solutions
Maybe someone will have better idea
This is probably a really stupid question but if ti’s top down 2d, how do you tell the difference between one block and many blocks stacked on each other. As in, visually, is there a difference? If not, then change the blocks to walls/panels? Or is my understanding of topdown too simplistic?
Update
Or is it because you want extra effort to build a house? Like, just building one layer would be too easy?
Extra Effort would be good but I’m mostly wanting to make it more enjoyable for players through being able to build structures that aren’t flat so that they can customize and expand more
Thanks for the help but I like the ability to custom make stuff using blocks so this wouldn’t work