itch.io is community of indie game creators and players

Devlogs

Source code v.2: minor bug fix

Yal's Monster Collector Engine
A downloadable asset pack for Windows

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
Download Yal's Monster Collector Engine
Leave a comment