Is there a way to make a tilemap where when you touch the ground you lose, but if you touch the ground while overlapping another sprite, you don’t?
(I don’t want to make the sprite a tile)
Is there a way to make a tilemap where when you touch the ground you lose, but if you touch the ground while overlapping another sprite, you don’t?
(I don’t want to make the sprite a tile)
I tried that, but it didn’t work.
By the way the Overlap sprite
is moving.
Can you share your code?
Thanks!
Your reply should answer a question I have here, I just wanted to check.
Yep, that will work!
Another question if I may please related to the logs. I have a tile map and the logs have different widths. Since I don’t want a log four tiles wide to disappear if it hits a wall, does that mean I have to place 4 single tile logs next to each other? Do any two sprites not overlap if one of them is a ghost? Or is that dependent upon how you set the ‘on sprite’ overlap event?
log is ghost
on sprite of kind ‘log’ overlaps sprite of kind ‘player’ (this will not work, right)
on sprite of kind ‘player’ overlaps sprite of kind ‘log’ (will this work?)
They will not overlap if one sprite is a ghost
Thanks for the tip. I should have just tested my theory.