Source code v.2: minor bug fix


This is a small update to fix a bug in obj_tallgrass_32's draw event that leads to it always applying its special effect (making it look like the player is partially submerged in the grass, by drawing the player's head again even if it's obscured). This effect would lead to the player's head sticking through any foreground objects they walked below if there's any tall grass currently loaded.

To fix this bug in your projects, just change the collision check in the draw event like this:

(The old code uses || for all the three affected lines, which makes the check always be true. You want && instead so the check only is true when the player is on top of the grass object)


Files

Source Code (GMS2.2) 26 MB
Jun 06, 2020

Get Yal's Monster Collector Engine

Buy Now$14.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.