SEARCH

Puls Events

Puls does not have any requirements for implementing any SDK into your codebase and changing the inner logic of the game. You build a game and focus on delivering high-quality entertainment for the end users. When your game is hosted on our platform, it must inform the platform that it is ready to be played and initialize the monetization process. To do so, you have access to the window.puls object and can call its methods.

Loading Progress

To display a loading progress bar while the game is initializing or loading its resources, you can call window.puls.loading(progress: number), where the progress value ranges from 0 to 100. This will render a progress bar on the loading screen.

Starting Monetization

If your game is loaded, preferably on the main menu screen and ready to play, call window.puls.start() to initiate monetization and display the game to the user.


Example: Unity


// index.html

script.onload = () => {
  createUnityInstance(canvas, config, (progress) => {
    progressBarFull.style.width = 100 * progress + "%";

    // Loading progress
    window.puls.loading(100 * progress);
  }).then((unityInstance) => {
    loadingBar.style.display = "none";

    // Starting monetization
    window.puls.start();
  }).catch(alert);
};

Notes

Our object and its features are still a work in progress, and in the future, we will provide more useful functionalities to give you a Swiss Army knife for controlling the platform's behavior.

Notes

Our object and its features are still a work in progress, and in the future, we will provide more useful functionalities to give you a Swiss Army knife for controlling the platform's behavior.

Notes

Our object and its features are still a work in progress, and in the future, we will provide more useful functionalities to give you a Swiss Army knife for controlling the platform's behavior.

Version: 0.1.0

Need some help? Discord

Copyright belongs to SIMPLIO s.r.o. All rights reserved.

Puls Games © 2024