Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Brushes: LUA Lamer's Wishlist #95

Open
ihm-tswow opened this issue Aug 9, 2021 · 1 comment
Open

Script Brushes: LUA Lamer's Wishlist #95

ihm-tswow opened this issue Aug 9, 2021 · 1 comment

Comments

@ihm-tswow
Copy link
Collaborator

Transferred from tswow#42
Originally by https://github.com/gratural

Ihm, good day! Or night!
Have few small propositions about adding script fuctionaly, mostly regarding by tool usability. I sorting they on importance, by my vision.

  1. Hotkey for script menu. Sometimes, when change variables in script panel, Noggit are lost window focus and switch to one of other editor mode. My suggestion - tilda key ("~") she are convenient and unused.
  2. Timer or wait() function. Еvent "on_click" not always are comfortly and "on_click_hold" can overload Noggit by uncareful using
  3. New tag "group" for script setting panel. Which grouping few paramets in one line for space saving. Takes as argument upon 2-3 previosly declared tags..
  4. Function for temporary chunk\vertices coloring. As example for colorize chunks wich are cleared AreaId's by "clear" script. (Shader color + wait func?)

(?) And if make a scripting menu unpined? Like in Tile mode (U)?

@ihm-tswow
Copy link
Collaborator Author

(my original response)

  1. I think this can be added fairly easily.
  2. I'm not sure about the use cases for this, do you have an example where this would be useful? Timers always have issues about where they should be fired, I guess it'd be possible to just have an event that's fired from the same place as the other events so nothing too weird would happen. Lua can't handle worker threads, and I would try to avoid one regardless.
  3. I'm planning to do this in the future, would probably be something like a row_mode / column_mode toggle on the brush itself.
  4. I have code for chunk coloring, but vertex coloring is more difficult. I'm not very good at rendering code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants