Biweekly update #9: We're back


It's been a while since the last time we updated, and we're sorry about that. This update brings you:

  • All new, rewritten params
    • No more up and down buttons, you will drag the param to change the value or click if you want to type
    • Introducing special parameters
      • Get the value of this param by using <value>
      • Reference other elements by using <x>, <y>, <z>
    • Syntax highlighting
    • Better autocompletion
  • Reworked Time Input
  • Automatic UV name


Meet the All New Params
The params have been rewritten from scratch, now instead of up and down button, you can change their value by dragging them, and holding ctrl key will make it step by integer. The text rendering is also custom, and that allows us to have syntax highlighting.


Introducing Special Parameter: <value>
This will get the value of this param, this will allow you to use it in an expression so when you drag it, it won't replace the expression with a new value, instead the expression will be kept while the value is changed.


Vector Params: Reference Other Elements
Elements in vector params can now reference the expression of other elements. For example, using <x> on the Y element will reference the expression of the X element. You can also use it in an expression like this: "<x> + 1".
Note that an element can only reference the previous elements, so Y can only reference X, Z can reference X and Y, and so on.


Better Autocompletion
Not only the params that are rewritten, but also the autocompletion. The autocompletion now works properly, you can use keyboard to navigate and hovering on them won't lose focus anymore.


Reworked Time Input
The Time input now has "loop every" param which will loop the time every specified seconds (not in real seconds though, it's affected by speed scale). You can enable or disable the loop by toggling the checkbox in there. We also removed the "time offset" param because it's kinda useless and you can just use the Math Operator block instead.


Automatic UV Name
When creating a UV from a param, it's name will follow the block context (e.g. the shape, texture, etc.). If the block apply mode is New Variable, then it will follow the block name instead.


Other
Exporting now uses the native file dialog.

Files

Shaderblocks_Windows_BW9.zip 15 MB
Feb 04, 2023
Shaderblocks_Linux_BW9.zip
Feb 04, 2023

Get Shaderblocks

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.