Code Monkey home page Code Monkey logo

Comments (4)

Chaimera-Baeddel avatar Chaimera-Baeddel commented on May 31, 2024

I managed to get it working with one of the images that has space between each tile, with setting the padding, but it does not work for the packed versions of any of the images, without that padding.

from godot-quicktileset.

bluematt avatar bluematt commented on May 31, 2024

Thanks for the issue. I downloaded the Kenney asset pack you mention, and think there may be a couple of issues you're experiencing:

  1. The filenames (by default) don't specify size (e.g. 16x16) so won't be recognised as containing tiles of that size. This will need to be set manually, or rename the file so that it ends with _16x16, or similar.

  2. There is a soft limit of 1024 tiles being auto-generated by default—this is for performance reasons. These tilesets contain slightly more tiles than this (1078), so are not imported (there is a warning to this effect in the Output console—see below). You can disable this limit by selecting the "Ignore tile limits" option in the QuickTileset node, which will allow the tiles to be imported.

 modules/gdscript/gdscript_functions.cpp:789 - QuickTileset: A large number (1078) of tiles will be created.  This may cause performance issues.
 modules/gdscript/gdscript_functions.cpp:789 - QuickTileset: The tile limit (1024) has prevented the TileSet from being generated. Aborting.

from godot-quicktileset.

Chaimera-Baeddel avatar Chaimera-Baeddel commented on May 31, 2024

Ignoring tile limits made it work, thank you! I miscalculated how many tiles there were in it so I thought I was under 1024 and thus didn't try that option.

from godot-quicktileset.

bluematt avatar bluematt commented on May 31, 2024

Thanks for letting me know. 👍

from godot-quicktileset.

Related Issues (2)

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.