Posted July 18, 2020 by pink productions
0.7.1 is an unplanned update that adds only a minor feature. Essentially, I was kind of annoyed of having to make custom-sized shadows for new testing rooms. Since one of the joys of being a programmer is getting rid of tasks you don't like, I decided to find a solution. Instead of having a whole tileset of custom-sized shadows, the sample maps of the pink engine now include only a single shadow tile, but combine it with the new occultates_as_y object keyword. Through this keyword, you can make an object occultate as if it had a different y-coordinate. Set occultates_as_y for to the bottom-most y-coordinate in your shadow, and all your shadows will occultate as if they were a single object.
As a nice side-effect, this also allows for using modular tiles to create objects. This is useful for creating things like pillars and ladders. Test room 3 has been updated to demonstrate this new functionality. All rooms have had their shadows updated as well.
Up next: Camera movement.