Achievements
The Achievement component provides visual feedback for both incomplete and completed achievements. When triggered, it displays a notification in the top-right corner featuring an icon, the achievement title, and a description.
Overview
This guide explains how to enable achievements in your horror games using the Achievement component. As an example, we will create an achievement that triggers when the scene loads.
Adding an achievement
-
In the Game Settings explorer, go to Achievements.
-
In the Properties window, configure the following:
Property Description Name Enter the achievement's name (goal title). Description Add a description that will be shown to players. Incomplete Icon Select an image displayed before the achievement is unlocked. Complete Icon Select an image displayed after the achievement is unlocked. Type Select the achievement type: - MainStory: if the achievement is narrative-related
- Special: if the achievement is a special reward
- Collection: if the achievement is item collection related.
If you want more achievements, click Add New Achievement and repeat the property settings.
Setting a trigger
-
From the Quick Create panel, click Empty Object to create an empty object.
-
Select the new object and open its Properties window by choosing the more icon.
-
In the Properties window, click Add Event Trigger.
-
Configure the Event Trigger as follows to make the achievement appear when the scene loads:
- Ensure the component is enabled and decide whether it triggers once or multiple times.
- Set Trigger Object to Global and Trigger Event to OnSceneLoadingFinished.
- Set the Action Object to Global, Action Function to CompleteAchievement, and Action Name to the achievement name.
- Optionally, set a delay before the achievement appears.
Publishing the project
Achievements only work after the project is published; they cannot be tested in Edit, Play, or Test Modes. For publishing instructions, see Publishing a project.
On YAHAHA Desktop, find and play your published project under the Publish tab. To check the achievement progress, go to MENU > ACHIEVEMENTS.

(Achievements on Menu)

(Achievement list)