K
KetoGames
Guest
I'd figure that this is a relatively simple question, however, I have yet to find an answer. Note, I've already tried using instance_place, however, it returns the instance id instead of true or false.
Short question: How can I see if obj exists at x, y, and if it does, return true?
Long question: I am creating a sandbox game (similar to Terraria, for those of you that have played before). I decided to embark on learning how to bitmask, which is something like this:
https://gamedevelopment.tutsplus.co...ng-to-auto-tile-your-level-layouts--cms-25673 .
My end goal is to make it so that every time I place a "tile" of one item (let's say wood, for this example) it will bitmask the sprite. That way, the end product will look much cleaner.
Any help is appreciated, thank you!
Short question: How can I see if obj exists at x, y, and if it does, return true?
Long question: I am creating a sandbox game (similar to Terraria, for those of you that have played before). I decided to embark on learning how to bitmask, which is something like this:
https://gamedevelopment.tutsplus.co...ng-to-auto-tile-your-level-layouts--cms-25673 .
My end goal is to make it so that every time I place a "tile" of one item (let's say wood, for this example) it will bitmask the sprite. That way, the end product will look much cleaner.
Any help is appreciated, thank you!