Multiple tiles in one overlap block

I’m noticing in my game that I have way too many of the “on tile overlap” blocks.


Is there an alternative way of me doing this?

5 Likes

I don’t think there is, unless you can put an array where the tile’s image should go. Otherwise, I believe that is the most optimized way technically.

Sadly, I can’t put an array into the slot :frowning:

1 Like

all of them that have the same effect could all be in one
on sprite of kind [placeholder] update every 10ms
if tile to center of my sprite = [tile] or[tile] then
and put the rest here

I have made a solution:

I define a traplist with the icons only used for traps. When I define the traps I also make a wall. This code walks through the traplist every time you hit a wall, so ordinary walls does not end in game over

1 Like

Welcome to the forums @pli1957

1 Like