mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Added a new brush type - Random Brushes
They're like File brushes, but each time you draw, expect to see something different! To make a random brush, just put the images you want in the same folder (under the main Brushes folder of course), and make sure their filename starts with "%". I also changed _process() to _input() in Canvas.gd, so there may be some unexpected behavior.
This commit is contained in:
parent
aa4a769088
commit
3a20b3e073
13 changed files with 66 additions and 23 deletions
|
@ -2,6 +2,8 @@ extends BaseButton
|
|||
|
||||
export var brush_type = Global.BRUSH_TYPES.PIXEL
|
||||
export var custom_brush_index := -2
|
||||
# warning-ignore:unused_class_variable
|
||||
var random_brushes := []
|
||||
|
||||
func _on_BrushButton_pressed() -> void:
|
||||
# Change left brush
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue