[DiscordArchive] Snapped to world or locally ?
[DiscordArchive] Snapped to world or locally ?
Archived author: Titi • Posted: 2023-07-04T19:38:16.169000+00:00
Original source
tbf the best performance is probably having a few duplicates...
![[Image: image.png?ex=690c50ad&is=690aff2d&hm=aae...74d5d422b&]](https://cdn.discordapp.com/attachments/408013572430626817/1125873522191908985/image.png?ex=690c50ad&is=690aff2d&hm=aae25f5d73c3fd265b0300216dd22dd9a02196726077e08c6bd3f5b74d5d422b&)
Archived author: Adspartan • Posted: 2023-07-04T19:39:25.487000+00:00
Original source
with all that loaded the frame time goes up to ~7ms
![[Image: image.png?ex=690c50ad&is=690aff2d&hm=aae...74d5d422b&]](https://cdn.discordapp.com/attachments/408013572430626817/1125873522191908985/image.png?ex=690c50ad&is=690aff2d&hm=aae25f5d73c3fd265b0300216dd22dd9a02196726077e08c6bd3f5b74d5d422b&)
Archived author: Adspartan • Posted: 2023-07-04T19:39:31.044000+00:00
Original source
so really not an issue at all
Archived author: Titi • Posted: 2023-07-04T19:39:32.204000+00:00
Original source
one of the point of doing tiles iterations is in some cases we can wait for the tile to finish loading
Archived author: Titi • Posted: 2023-07-04T19:39:41.715000+00:00
Original source
if it's important
Archived author: Adspartan • Posted: 2023-07-04T19:39:53.418000+00:00
Original source
the terrain brush will already load the tiles
Archived author: Adspartan • Posted: 2023-07-04T19:40:19.023000+00:00
Original source
otherwise it'd create disconnects
Archived author: Titi • Posted: 2023-07-04T19:41:49.159000+00:00
Original source
btw I noticed the object brush selectino was broken
Archived author: Titi • Posted: 2023-07-04T19:42:04.433000+00:00
Original source
i reworked my code to iterate all tile, it litterally only selected object in the tile the brush cursor is
![[Image: image.png?ex=690c5171&is=690afff1&hm=e10...865e63aa2&]](https://cdn.discordapp.com/attachments/408013572430626817/1125874343340146718/image.png?ex=690c5171&is=690afff1&hm=e10d2d1384a809b16c33b9e9c2823bd95e95975184f91a40a6f05a5865e63aa2&)
Archived author: Titi • Posted: 2023-07-04T19:42:41.271000+00:00
Original source
see how objects on the elft tile aren't selected
![[Image: image.png?ex=690c5171&is=690afff1&hm=e10...865e63aa2&]](https://cdn.discordapp.com/attachments/408013572430626817/1125874343340146718/image.png?ex=690c5171&is=690afff1&hm=e10d2d1384a809b16c33b9e9c2823bd95e95975184f91a40a6f05a5865e63aa2&)