sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Phantom Tiles happening when placing sprites with names longer than a character

Open 29cmb opened this issue 1 year ago • 4 comments

Describe the bug Creating a sprite with a name that starts with the name of another sprite creates phantom tiles

To Reproduce Create a sprig project and create 2 items in the legend, w for winSpace, and wa for Wall If I want to place the wa, instead of just placing the wall, it places a winSpace and a red square, the req square makes a new row or column of tiles which cannot be interacted with or placed on, generating phantom tiles

Expected behavior Either WA should be placed just fine or an error should be given saying "Sprite names must be one character"

Actual behavior
Creates phantom tiles with no indication of something being wrong.

https://github.com/hackclub/sprig/assets/71194682/a33330bd-bf6d-4d4f-bf1e-7b2ac66e8500

29cmb avatar Jul 04 '24 12:07 29cmb