GithubHelp home page GithubHelp logo

Comments (6)

odrick avatar odrick commented on August 19, 2024 1

It's part of plist file

<dict>
    <key>format</key>
    <integer>3</integer>
    <key>pixelFormat</key>
    <string><%config.format%></string>
    <key>premultiplyAlpha</key>
    <false/>
    <key>realTextureFileName</key>
    <string><%config.imageFile%></string>
    <key>size</key>
    <string>{<%config.imageWidth%>,<%config.imageHeight%>}</string>
    <key>textureFileName</key>
    <string><%config.imageFile%></string>
</dict>

Looks like config.imageFile does not contains extension. Need to check.

from free-tex-packer.

rtalon83 avatar rtalon83 commented on August 19, 2024

What do you mean? One param inside atlas.json?

from free-tex-packer.

tonyzzp avatar tonyzzp commented on August 19, 2024

It's part of plist file

<dict>
    <key>format</key>
    <integer>3</integer>
    <key>pixelFormat</key>
    <string><%config.format%></string>
    <key>premultiplyAlpha</key>
    <false/>
    <key>realTextureFileName</key>
    <string><%config.imageFile%></string>
    <key>size</key>
    <string>{<%config.imageWidth%>,<%config.imageHeight%>}</string>
    <key>textureFileName</key>
    <string><%config.imageFile%></string>
</dict>

Looks like config.imageFile does not contains extension. Need to check.

yes i mean that

from free-tex-packer.

odrick avatar odrick commented on August 19, 2024

Fixed. Could you test fix here? http://free-tex-packer.com/test/

from free-tex-packer.

tonyzzp avatar tonyzzp commented on August 19, 2024

Fixed. Could you test fix here? http://free-tex-packer.com/test/

yes,it is ok now for me.
but I found that the 'realTextureFileName' and 'textureFileName' is the same in 'TexturePacker'

from free-tex-packer.

odrick avatar odrick commented on August 19, 2024

Good. I'm not sure about right 'realTextureFileName' and 'textureFileName' values. And cocos2d does not have normal documentation...

from free-tex-packer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.