Giter Club home page Giter Club logo

Comments (2)

alijaya avatar alijaya commented on July 27, 2024

If i'm not mistaken, currently the Rule Tiles only check 1 tiles around it to determine which tile to put. And it can not check the tiles type, it just check if that tiles is the same tile with this one or not...

I'm not sure in your case it is possible or not.
How exactly do you want to use it?
If it's still in certain limitation, it could be, but if it's more than that, I'm afraid that you need code it yourself.

from 2d-extras.

3ternal avatar 3ternal commented on July 27, 2024

Yeah, I figured it might not be possible. I've been placing the tiles by hand and that works well enough.

For my use case, I needed to know what type of tile each Rule Tile is surrounded by. Then I could write the rest of the code myself. The goal is to create a "sequence tile": A -> B -> C -> A -> B -> C, and so on. I guess this isn't possible with the current Rule Tile implementation, since it only checks against itself and can't distinguish between different sprites, so there would be no way to know whether the tile to the right or left was a Grass A, Grass B, or Grass C.

Anyway, if there's no easy way to do this with the current implementation, we can go ahead and close this issue. Placing tiles individually works well enough for my workflow.

from 2d-extras.

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.