Code Monkey home page Code Monkey logo

Comments (5)

LucasDower avatar LucasDower commented on May 17, 2024

@vico93 It sounds like you want to create your own block palette. If you follow the steps here, then next time you open the program there will be a new block palette to select from. Alternatively, you can go into the block palettes folder (which is found in resources/app/res/palettes, copy-paste one of the existing palettes, open it and type in the block names that you want. Make sure to rename this file to something new and it must be named something like my-new-palette.

from objtoschematic.

LucasDower avatar LucasDower commented on May 17, 2024

Closing the issue for now, feel free to reopen it if you're having issues or need help.

from objtoschematic.

vico93 avatar vico93 commented on May 17, 2024

@LucasDower just one question: does ObjToSchematic need to be rebuilt to read the pallete? Or the release can load it as well?

from objtoschematic.

LucasDower avatar LucasDower commented on May 17, 2024

@vico93 You don't need to rebuild it but you need to restart the program for it to show up.

from objtoschematic.

vico93 avatar vico93 commented on May 17, 2024

Well, i went ahead and created a coloured-blocks2.palette containing only terracotta and concrete blocks:

{
    "blocks": [
        "black_concrete",
        "black_terracotta",
        "blue_concrete",
        "blue_terracotta",
        "brown_concrete",
        "brown_terracotta",
        "cyan_concrete",
        "cyan_terracotta",
        "gray_concrete",
        "gray_terracotta",
        "green_concrete",
        "green_terracotta",
        "light_blue_concrete",
        "light_blue_terracotta",
        "light_gray_concrete",
        "light_gray_terracotta",
        "lime_concrete",
        "lime_terracotta",
        "magenta_concrete",
        "magenta_terracotta",
        "orange_concrete",
        "orange_terracotta",
        "pink_concrete",
        "pink_terracotta",
        "purple_concrete",
        "purple_terracotta",
        "red_concrete",
        "red_terracotta",
        "white_concrete",
        "white_terracotta",
        "yellow_concrete",
        "yellow_terracotta"
    ]
}

But when i try to select this palette on assign blocks i get this error:
image

from objtoschematic.

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.