Giter Site home page Giter Site logo

acoppes / unity-gameobject-brush Goto Github PK

View Code? Open in Web Editor NEW
39.0 2.0 1.0 11.9 MB

Unity's Editor GameObjects Paint Tool for 2D Games. It contains both a custom window for objects palette + a customizable brush for paining.

License: MIT License

C# 100.00%
unity tools upm-package painting plugins

unity-gameobject-brush's Introduction

Unity's GameObject Paint Tool

This tool provides both a GameObject Palette Window and customizable Brushes in order to simplify the task of decorating 2d Games scenes using GameObjects.

Features

  • Preview what you paint, in the layer you paint it.
  • Customizable brushes.
  • Customizable palette window.

Example

Alt text Alt text

The assets pack

We are using the https://bakudas.itch.io/generic-rpg-pack asset pack, right now is free but you can pay what you want on download, it is not the idea to distribute it from outside itchio with this tool but it is great to show a good example of how the tool works.

Roadmap

  • Filters for game objects (decide which objects to show in palette)
    • Customizable (logic)
  • Settings (asset) to configure prefab folders.
    • Filters to use
    • Customizable in asset or preferences
    • Default prefabs folder
    • Search for children or not when generating palette.
  • Cleanup stuff on scene save, load, etc.
  • Erase
    • Filter which objects not to delete (check objects inside root, avoid root, camera, etc)
    • While holding key or while erase selected, highlight the object that is going to be deleted?
    • Bigger "erase" size, now it works one by one and doesn't allow dragging.
  • Brushes and paint logic
    • Drag paint delay and distance to paint.
    • Random Flip
    • Random Size
    • Paint multiple instances, random, distribute in area.
    • Paint with prefab instance or unpack prefab.
  • Misc
    • Visible tools for paint and erase (with icons), with togglable buttons.
    • Configurable modifier key to toggle erase
    • Sprite assets in palette
    • Change to use UIElements.
    • User brush override data in editor window.
    • Documentation of how to use it and extend.
    • Maybe brushes should be GameObjects to support custom modifiers as components.
    • Pick scene and root to paint to.
    • Paint 3d objects too?

Known Issues

  • Using asset preview in palette has a limit and objects keep losing the preview.
  • First time a Palette is created prefabs list is null and throws some errors.

Licence

This repository is MIT licensed.

unity-gameobject-brush's People

Contributors

acoppes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

Forkers

zhaoguohao

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.