Giter VIP home page Giter VIP logo

Comments (2)

Bam4d avatar Bam4d commented on June 27, 2024

So this is something thats handled poorly in Griddly.

when you have something set up like this:

Isometric:
        - Image: oryx_iso_dungeon/fire-pink-up.png
          Scale: 0.5
        - Image: oryx_iso_dungeon/fire-pink-right.png
          Scale: 0.5
        - Image: oryx_iso_dungeon/fire-pink-down.png
          Scale: 0.5
        - Image: oryx_iso_dungeon/fire-pink-left.png
          Scale: 0.5
      Block2D:
        - Shape: circle
          Color: [ 0.8, 0, 0.1 ]
          Scale: 0.2

And you are using setTile commands... if there is only one tile for the block observer, it's basically crashing because its looking for the nth tile (which is set in the isometric observer but not the block observer)

A quick workaround would be to add 4 block shapes (that are the same).

In Griddly this should almost certainly throw a warning or an error (and just use the single tile that exists)

from griddly.

tekier avatar tekier commented on June 27, 2024

Workaround seems to work fine.

from griddly.

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.