1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Update project.godot and fix formatting

This commit is contained in:
Emmanouil Papadeas 2023-12-01 02:18:35 +02:00
parent 5b1c79df05
commit 4f1705c1e1
3 changed files with 5 additions and 3 deletions

View file

@ -15,7 +15,7 @@ config/description="A free & open-source 2D sprite editor"
run/main_scene="res://src/Main.tscn"
config/use_custom_user_dir=true
config/custom_user_dir_name="pixelorama"
config/features=PackedStringArray("4.1")
config/features=PackedStringArray("4.2")
run/low_processor_mode=true
boot_splash/bg_color=Color(0.145098, 0.145098, 0.164706, 1)
boot_splash/image="res://assets/graphics/splash.png"

View file

@ -8,7 +8,8 @@ var cursor_text := ""
var _cursor := Vector2i(Vector2.INF)
var _draw_cache: Array[Vector2i] = [] ## For storing already drawn pixels
@warning_ignore("unused_private_class_variable") var _for_frame := 0 ## Cache for which frame
@warning_ignore("unused_private_class_variable")
var _for_frame := 0 ## Cache for which frame
# Only use _spacing_mode and _spacing variables (the others are set automatically)
# The _spacing_mode and _spacing values are to be CHANGED only in the tool scripts (e.g Pencil.gd)

View file

@ -9,7 +9,8 @@ var _brush_image := Image.new()
var _orignal_brush_image := Image.new() ## Contains the original _brush_image, without resizing
var _brush_texture := ImageTexture.new()
var _strength := 1.0
@warning_ignore("unused_private_class_variable") var _picking_color := false
@warning_ignore("unused_private_class_variable")
var _picking_color := false
var _undo_data := {}
var _drawer := Drawer.new()