Defold native extension which provides access to the Poki SDK.
Manual, API and setup instructions is available on the official Defold site.
Poki SDK native extension for Defold game engine
License: MIT License
Defold native extension which provides access to the Poki SDK.
Manual, API and setup instructions is available on the official Defold site.
We cannot currently test if the audio gets correctly muted when a commercialBreak or a rewardedBreak is called.
Suggestion : That could be solved by having a background music playing constantly, or having a button to enable/disable a background music.
The function is deprecated in the PokiSdk (and replaced with an empty function). We should no longer call the function and instead replace it with a deprecation warning.
Poki announced that they had added new functions to the SDK. The only function that is missing in the Defold Poki SDK is:
PokiSDK.captureError(error | string)
- allows you to register errors with us that are not automatically thrown (engine specific issues)
Many thanks!
After entering the full screen mode, no ads are displayed after clicking on the buttons. Leaving full screen mode after clicking a button will show the ad being displayed.
That could be caused by the Poki SDK refusing to scale the video ad as well, since the full screen option on poki.com is directly implemented on the poki player, and not by the engine.
If Poki-SDK installed in the projects, add option Project->Build Poki HTML5
in the editor that bundles html5 and opens it on https://inspector.poki.dev/? like:
We also should fix :
[Warning] [blocked] The page at https://inspector.poki.dev/?http%3A%2F%2Flocalhost%3A61959%2Fhtml5%2Findex.html=&game=external-http%253Alocalhost%253A61959%252Fhtml5%252Findex.html was not allowed to display insecure content from http://localhost:61959/html5/index.html.
You can ignore the PokiSDK.happyTime() event! It's been deprecated and we don't support it anymore. from Poki support.
PokiSDK.isAdBlocked() - this will return wether or not an ad block is enabled for the user.
There are two ways how to speed up loading web game:
defer
attribute for loading Poki sdk. It prevents loading all other stuff (like dmloader.js, etc.) from waiting for loading Poki sdk.For more information:
Thanks @AGulev for ideas!
Poki introduced new API: Sharable URLs & URL manipulation
It would be great if Defold Poki SDK had an implementation of that new API!
There is no any useful information:
The game is https://poki.com/en/g/puffy-cat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.