Code Monkey home page Code Monkey logo

logicdraw's People

Contributors

magik6k avatar wieku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

magik6k

logicdraw's Issues

Maps with unrecognized blocks

App crashes when it attempts to load a map that contains unrecognizable blocks. Add an option to force load without them or just cancel loading.

New save format

As the current format is not backwards and future compatible, adding new properties to objects needs a new save version, there is a proposition of a new format of it. It will use a new extension, because .ldmap is a little too long. Before, header was packed together with map data in GZip stream which may be too CPU expensive to read just it. So header will be unpacked in the new format. Instead of beeing just values that are read sequentially, it will be read as a JSON String, new content will be added to help map sharing.

Header contents:

  • raw int as save version
  • JSON saved as raw UTF-8 string:
    • name: string
    • description: string
    • authors: string
    • width: int
    • height: int
    • creationDate: long
    • modificationDate: long
    • objects: long
    • entities: long
    • states: long
    • tickrate: int
    • thumbnail: BASE64 string

Right after the header there will be a map stored in GZipped Data(Input/Output)Stream.

  • Two integers describing map size

  • State data:

    • Total number of states (including free ones): int
    • Number of free states: int
    • Sequentially saved free state numbers: int
    • Sequentially saved state data: int
  • Object mapping:

    • "UTF-8 String and int pair saved sequentially"
  • Objects:

    • Number of objects: long
    • Sequentially saved objects:
      • object type: int
      • x: int
      • y: int
      • properties: string (or byte) to object map

Change gate edition logic

Instead of making gate editable (via Editable interface), add editor factories that are bound to specific element

Binding clipboards to num keys

It would be quite useful to be able to bind clipboard contents to a number on keyboard, like:

  • ctrl+shift+[0-9] - bind clipboard to key
  • ctrl+[0-9] - load clipboard

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.