Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sprite function adds spurious NSRange parameters with imported photo

in Bugs Posts: 797

The following is generated when selecting a photo to import via assets. Anyone else seeing this?

    sprite("Project:logs",NSRange: {24, 7},NSRange: {32, 8},NSRange: {41, 3},NSRange: {45, 3})
    sprite("Documents:logpile",NSRange: {15, 16},NSRange: {32, 16},NSRange: {49, 16},NSRange: {66, 16})

Steps to recreate:
1.New Project
2. Type Sprite() in draw() function
3. Tap and select Project Assets then +Photos
4. Select Photo and Use


  • dave1707dave1707 Mod
    Posts: 8,943

    @West That was posted as a problem before. Not sure when.

  • pacpac
    Posts: 216

    I have had that happen before to but I just deleted it and moved on.

  • Posts: 797

    @dave1707 -ok just had a search on NSRange - comes up with a thread from Aug 18. @Simeon recreated it, but no info on what caused it or whether it was resolved. Can delete the spurious text and use normally, it’s just a bit annoying

  • Posts: 1,255

    Still happening to me with regularity when selecting any image, including those from bundled libraries.

  • SimeonSimeon Admin Mod
    Posts: 5,528

    I'll try fix this now. Sorry it has been hanging around

  • SimeonSimeon Admin Mod
    Posts: 5,528

    Fixed in next update

  • Posts: 1,255

    Thanks, Simeon.

  • Posts: 797
    Many thanks @Simeon - any eta on the next update?
  • SimeonSimeon Admin Mod
    Posts: 5,528

    Just fixing the Xcode export then will release it as beta

Sign In or Register to comment.