Skip to content

Editor hangs wehen importing zwoptex' new coordinates file #10

Description

@artifacts

2011-01-28 10:19:41.192 LevelEditor[53439:a0f] Cannot lock focus on image <NSImage 0x116956300 Size={0, 0} Reps=(
)>, because it is size zero.

old:

    <key>1p.png</key>
    <dict>
        <key>x</key>
        <real>8</real>
        <key>y</key>
        <real>75</real>
        <key>width</key>
        <real>64</real>
        <key>height</key>
        <real>54</real>
        <key>offsetX</key>
        <real>0</real>
        <key>offsetY</key>
        <real>-0</real>
        <key>originalWidth</key>
        <real>64</real>
        <key>originalHeight</key>
        <real>54</real>
    </dict>

new:

    <key>1p.png</key>
    <dict>
        <key>aliases</key>
        <array/>
        <key>spriteColorRect</key>
        <string>{{0, 0}, {64, 54}}</string>
        <key>spriteOffset</key>
        <string>{0, -0}</string>
        <key>spriteSize</key>
        <string>{64, 54}</string>
        <key>spriteSourceSize</key>
        <string>{64, 54}</string>
        <key>spriteTrimmed</key>
        <true/>
        <key>textureRect</key>
        <string>{{8, 75}, {64, 54}}</string>
        <key>textureRotated</key>
        <false/>
    </dict>

Select Zwoptex Flash Format when saving the coordinates file, that will work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions