Scratch-gui: Inconsistent capitalization of sprite names when they are used

Created on 18 Jan 2018  路  4Comments  路  Source: LLK/scratch-gui

On new sprites (like Dinosaur1), the sprite name is capitalized in the library, but then appears as lower-case in the sprite list

bug feedback form

All 4 comments

This was by design as per design discussion about capitalization practices for sprites vs. costumes. The thinking was that it would help further differentiate a sprite from a costume (which can be a confusing concept at first).

@thisandagain But the actual sprite in the sprite corral has a different name from the icon in the sprite library?

In the sprite corral, "dinosaur1"

In the sprite library, "Dinosaur1"

I agree with having costumes be lowercased while capitalizing sprites; but it seems like this is maybe not related? Having the name in the library be different from the name in the sprite corral seem confusing or at least surprising.

@towerofnix Thanks for clarifying! Screenshots and GIFs make everything easier to understand. 馃槃 I totally misinterpreted this.

Sorry about the wrong solution.

I tracked the code to this sprites.json file in /src/lib/libraries, the main reason for this issue was because the difference between the object properties "name" and "objName".

capture

The sprites.json was auto-generated , so I think there are something wrong with the generation tool config ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thisandagain picture thisandagain  路  4Comments

davidaylaian picture davidaylaian  路  4Comments

ericrosenbaum picture ericrosenbaum  路  4Comments

ntlrsk picture ntlrsk  路  3Comments

kyleplo picture kyleplo  路  3Comments