mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Compare commits
6 commits
fd397e8145
...
99c03739d7
Author | SHA1 | Date | |
---|---|---|---|
99c03739d7 | |||
e078a6c1e6 | |||
d78414f098 | |||
566944cfce | |||
a3ab62d53a | |||
6e62361b24 |
|
@ -187,6 +187,7 @@ func commit_undo() -> void:
|
|||
Global.canvas.selection.transform_content_cancel()
|
||||
else:
|
||||
undo_redo.undo()
|
||||
SteamManager.set_achievement("ACH_TIME_TRAVELER")
|
||||
|
||||
|
||||
func commit_redo() -> void:
|
||||
|
|
|
@ -10,12 +10,17 @@ const APP_ID := 2779170
|
|||
## because it is not available in non-Steam builds.
|
||||
static var steam_class
|
||||
static var achievements := {
|
||||
"ACH_ART_LOVER": false,
|
||||
"ACH_FIRST_PIXEL": false,
|
||||
"ACH_ERASE_PIXEL": false,
|
||||
"ACH_TIME_TRAVELER": false,
|
||||
"ACH_SAVE": false,
|
||||
"ACH_ALMOST_FORGOT": false,
|
||||
"ACH_PREFERENCES": false,
|
||||
"ACH_ONLINE_DOCS": false,
|
||||
"ACH_SUPPORT_DEVELOPMENT": false,
|
||||
"ACH_BLEND_IN": false,
|
||||
"ACH_STRONGER_TOGETHER": false,
|
||||
"ACH_3D_LAYER": false,
|
||||
}
|
||||
|
||||
|
|
|
@ -543,6 +543,7 @@ func _on_QuitAndSaveDialog_custom_action(action: String) -> void:
|
|||
func _on_QuitAndSaveDialog_confirmed() -> void:
|
||||
is_quitting_on_save = true
|
||||
show_save_dialog(changed_projects_on_quit[0])
|
||||
SteamManager.set_achievement("ACH_ALMOST_FORGOT")
|
||||
|
||||
|
||||
func _quit() -> void:
|
||||
|
|
|
@ -90,6 +90,8 @@ func _on_SplashDialog_about_to_show() -> void:
|
|||
|
||||
|
||||
func change_artwork(direction: int) -> void:
|
||||
if direction != 0:
|
||||
SteamManager.set_achievement("ACH_ART_LOVER")
|
||||
chosen_artwork = wrapi(chosen_artwork + direction, 0, artworks.size())
|
||||
splash_art_texturerect.texture = artworks[chosen_artwork].artwork
|
||||
set_process(artworks[chosen_artwork].artwork is AnimatedTexture)
|
||||
|
|
|
@ -285,6 +285,7 @@ func _on_blend_modes_item_selected(index: int) -> void:
|
|||
project.undo_redo.add_undo_method(_update_layer_ui)
|
||||
project.undo_redo.add_undo_method(_update_layers)
|
||||
project.undo_redo.commit_action()
|
||||
SteamManager.set_achievement("ACH_BLEND_IN")
|
||||
|
||||
|
||||
func _update_layers() -> void:
|
||||
|
@ -843,6 +844,7 @@ func add_layer(type := 0) -> void:
|
|||
l = PixelLayer.new(project)
|
||||
Global.LayerTypes.GROUP:
|
||||
l = GroupLayer.new(project)
|
||||
SteamManager.set_achievement("ACH_STRONGER_TOGETHER")
|
||||
Global.LayerTypes.THREE_D:
|
||||
l = Layer3D.new(project)
|
||||
SteamManager.set_achievement("ACH_3D_LAYER")
|
||||
|
|
Loading…
Reference in a new issue