Advanced Point Distribution System
Step-by-Step Setup Guide
1. Import the Collectible Point Part
The ready to use part contains:
Point part with mesh & texture
Sound to be played when user collide with the part (collect it)
Server-side script to handle the collision & sending of point to the player
Part's customer attributes to be used when sending the point on the Giftoin Platform the the player
2. Set Up Custom Attributes
Select your "CandyPoint" part in the Explorer.
In the Properties window, scroll down to the Attributes section.
Set values for each attribute:
PointQuantity: Enter the number of points this collectible is worth (e.g., 10)
PointId: Enter a unique identifier for this type of point (e.g., "candy_point")
CampaignId: Enter the campaign identifier (e.g., "halloween_2024")
3. Test and Replicate
Play test your game to ensure the point collection works as expected.
Once confirmed, you can duplicate the "CandyPoint" part and distribute it throughout your game.
Adjust the attributes for each instance as needed (e.g., different point values or IDs for different locations).
4. Final Considerations
Ensure the GiftoinModule is properly set up with the correct API endpoints and authentication.
Consider creating a system to dynamically spawn these points in your game.
Implement a user interface to display collected points to players.
Set up proper error handling and logging for the API calls.
Was this helpful?