diff --git a/game/PaintCanvas.gd b/game/PaintCanvas.gd index 99dbf2e..fa2c340 100644 --- a/game/PaintCanvas.gd +++ b/game/PaintCanvas.gd @@ -58,8 +58,8 @@ func handle_mouse_button_down(local_position : Vector2, event: InputEvent) -> vo print("TODO") elif current_tool == TOOL_PASTECUT: print("TODO") - elif current_tool == TOOL_PENCIL: - tool_process(local_position, event) + + tool_process(local_position, event) func do_action(arr : Array) -> void: diff --git a/game/Project.tscn b/game/Project.tscn index f85cb92..bcebbb7 100644 --- a/game/Project.tscn +++ b/game/Project.tscn @@ -28,7 +28,7 @@ size = Vector2( 32, 32 ) [node name="PaintProject" type="PaintProject"] size = Vector2i( 128, 128 ) -current_color = Color( 0.00784314, 0.835294, 0.564706, 1 ) +current_color = Color( 0.658824, 0.313726, 0.207843, 1 ) color_presets = PoolColorArray( 0.67914, 0.117493, 0.0852439, 1, 0.129412, 0.113725, 0.384314, 1, 0.0666667, 0.796078, 0.196078, 1, 0.0666667, 0.796078, 0.196078, 1, 0.964706, 0.992157, 0.121569, 1, 0.00784314, 0.835294, 0.564706, 1, 0.0666667, 0.796078, 0.196078, 1, 0.658824, 0.313726, 0.207843, 1 ) script = ExtResource( 2 ) @@ -50,4 +50,5 @@ script = ExtResource( 3 ) size = Vector2i( 128, 128 ) brush_prefab = 1 brush_size = 3 +current_tool = 3 script = ExtResource( 1 )