#im having this issue with it idk if its
1 messages ยท Page 1 of 1 (latest)
here is the full rule tile
There's some stuff I don't understand there but the main problem seems to be that you're missing some extra pieces where multiple corners should exist in one tile
Shouldn't this
Be the same as this
And these
The same as these
i don't think they are meant to be the same as each other, i tried that before and got something like the image ,i contacted the asset provider so I'm waiting to see if they can give advice on how to use.
There are also some types of tiles that are not possible with Unity's tile rule techniques
I don't have my head fully wrapped around it but it's probably related to whether rules are checked on per-tile or per-corner basis
say, if we want these to be connected corner-to-corner
We could design the corner-connected pieces and make rules for them, but then what do we give the new inner corners?
Unity's tile system requires there to physically be tiles for there to be tile sprites, and we can make a new inner corner type
But now we have a new problem
Our new and old inner corners would have the exact same rules
These are the same type of tile after all, they're just shaped differently
Rule tile assets are awful to show off so you can check mine here for reference
As far as I can tell it has every type of rule possible without modifying the system
i see , i didn't know this ,i will look into it to see what i can do ty, very much for your help๐
By the way it may not immediately look like it but the rule order matters
I think a rule of thumb is that the more rules a tile has, the higher it should be as to not be replaced by a wrong tile that has less stringent rules
Because the rule check stops as soon as a match is found, this also means that tile application performance is better the sooner the rule check is resolved, so most common tiles should go upward also
That mostly matters only if you're modifying the tilemap a lot at runtime so checks are required multiple times per frame
If you're not modifying the tilemap at runtime you might as well use Tiled to create it which has better UX and more flexible tile rules
@halcyon plume Hate to bother you more I missed an error that snuck in my example rules
Let me know if anything looks off about it
I also use it as my own reference so I'll have to face the same problems eventually