filmov
tv
Sprite stacking fake 3d | Game maker Studio 2 | Mixing SS and Billboarding to make town!
![preview_player](https://i.ytimg.com/vi/VaKDt1tGtQI/maxresdefault.jpg)
Показать описание
So I have used a mixture of Billboarding the trees with a 'canopy' sprite that is 24px up on the z axis to create the forest. Mixed in some sprite stacked houses, mailboxes, fences, and a boat. Developed a method of 'depth-lining' Where in I have a line follows the x/y of the camera and orients with the camera angle, Then the line determines everything above it to be positive depth and everything below it negative depth, then it determines how far from that line each object is and increases / decreases its depth based on how close to the line that object is. So objecs above the line but closer to it will have a lesser positive depth than things further and things below the line will have a higher negative depth than things further. It is far from perfect but it seems to work well for the most part when mixing the billboard and sprite stacks. Need to play around and tweak it further. Hope you enjoy my little town so far! :D
Комментарии