1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 15:39:49 +00:00

Compare commits

...

6 commits

Author SHA1 Message Date
Variable 99c03739d7
Merge e078a6c1e6 into 55f83a3367 2024-12-02 05:21:27 +00:00
Variable e078a6c1e6
Merge branch 'Orama-Interactive:master' into Achievements 2024-11-18 17:00:24 +05:00
Variable d78414f098 Merge branch 'Achievements' of github.com:Variable-ind/Pixelorama into Achievements 2024-08-14 21:00:34 +05:00
Variable 566944cfce Typo 2024-08-14 20:59:00 +05:00
Variable a3ab62d53a
Merge branch 'Orama-Interactive:master' into Achievements 2024-08-14 20:52:30 +05:00
Variable 6e62361b24 Add more achievements 2024-08-14 20:50:31 +05:00
5 changed files with 11 additions and 0 deletions

View file

@ -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:

View file

@ -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,
}

View file

@ -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:

View file

@ -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)

View file

@ -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")