Giter Site home page Giter Site logo

boyquotes / godot-metadata-inspector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ballerburg9005/godot-metadata-inspector

0.0 0.0 0.0 346 KB

This Godot 3.2 / 3.1 Plugin allows you to view / edit / create hidden Metadata.

License: MIT License

GDScript 100.00%

godot-metadata-inspector's Introduction

Metadata-Inspector

This Godot 3.2 / 3.1 Plugin allows you to view and edit hidden Metadata.

You can use this most effectively to add custom variables to any node you want without using or attaching any scripts.

demo1 demo2

INSTALL

  1. Put metadata-inspector folder into [urproject]/addons/
  2. Go Project -> Project Settings -> Plugins and activate Metadata Inspector

TODO

  • implement a search browser
  • copy rows from one node to another

NODO

  • update metadata at runtime (remote variable) NOT POSSIBLE

HOW TO USE

  1. Choose the "Meta" tab next to the Inspector & Node tab (upper right corner)
  2. Now you can enter a key (left side) : value (right side) pair
  3. When right-clicking the key textbox, you will get a "control menu" for the entry (delete, undo, redo, move up/down, copy path)
  4. When right-clicking the value textbox, you will get a menu to change the type of the value (this includes dictionary and array)
  5. If you didn't choose a type, Metadata Inspector will auto-detect the type (1 is int, 1.0 is real, False is bool, #FF00FF is color, 1.0,1 is Vec2 and so forth)
  6. Press Enter
  7. Now you can copy the absolute path to the entry to your clipboard from the control menu and use it in other scripts
  8. The functions to manipulate metadata are documented in Godot in the class Object (has_meta(), get_meta(), get_meta_list(), set_meta(), remove_meta())

You shouldn't touch underscored stuff that was already there, it is from the engine and might break things.

Pro tip: You can open the Project's .tscn files with a text editor and edit the __meta__ dictionary as plain text. In case you need to e.g. completely restructure your data or using the GUI is somehow inconvenient.

LICENSE

MIT

godot-metadata-inspector's People

Contributors

ballerburg9005 avatar

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.