For developers
Pofuu games talk to the portal through a tiny JavaScript bridge — the Pofuu SDK. It handles ads, saving progress and high scores, and works even when a game runs standalone.
Add the SDK
Include it in your game’s <head> and announce when ready:
<script src="/sdk/pofuu-sdk.js"></script>PofuuSDK.ready('your-game-id');
Common calls
PofuuSDK.showAd('interstitial')— returns a Promise; resolves after the ad.PofuuSDK.showRewardedVideo()— user-initiated rewarded ad.PofuuSDK.saveGame(state)/PofuuSDK.loadGame()PofuuSDK.saveHighScore(score)PofuuSDK.gameOver(data)/PofuuSDK.levelComplete(level)PofuuSDK.getLang()— the portal’s active language.
Interested in publishing on Pofuu? Email [email protected].