How can I make my sprites destroy once they move off the tilemap?

The game i have been working on recently has been getting laggy bc my sprites stack up out of screen/tilemap. i am trying to figure out how to make them destroy after they move behind the right wall, but i need help.

1 Like

You can use the mySprite auto destroy on/off block to make the sprites destroy when they leave the screen.

1 Like

I know that, but i don’t know how to tell it when and where to destroy. They need to destroy once they move outside the tilemap.

1 Like

Well, if your tilemap is completely filled with tiles, then you can set an on sprite overlap with 'transparent' tile event and set the sprite to destroy.

1 Like

Did you know code of conduct is an acronym for coc

1 Like

why.why. WHYYYYYYYYYY OF GOD FRIGGIN WHY

6 Likes

Thanks, Blobbey! That should work.

2 Likes

bro.
thats one thing but, like, bro.


Screenshot 2023-10-28 at 7.25.32 PM
no explanation needed from me, but a lot from you.
bro.
(ima say it again:)
bro.

1 Like

Hehehehe

I’m always watching…

1 Like

man i don’t have a closet.

1 Like

seriosly?

Yep, my room doesn’t have a closet so my clothes are in other room with closet.

2 Likes

I’m glad I was able to help!

2 Likes

my closet cant even hold a feather without breaking

1 Like

As far as i’m concerned your not in my closet. And how would you be in multiple people closet at the same time?

1 Like

Celluar Splitting

3 Likes

That only works for single cell organizations.

Nuh uh

1 Like