azerion / phaser-ads Goto Github PK
View Code? Open in Web Editor NEWA Phaser plugin for providing nice ads integration in your phaser.io game
License: MIT License
A Phaser plugin for providing nice ads integration in your phaser.io game
License: MIT License
Hello,
Could this be possible to use one of your project in an ES6 project with just an import ? I don't work in typescript and don't really understand why there is no export feature in your projects, it looks like typescript doesn't need that.
You can close my issue right after your answer. I am just sad not being able to use any of your great projects :(
Because Element.remove() is used, and it's not supported
I am writing with regard to this html file:
https://github.com/orange-games/phaser-ads/blob/master/example/index.html
I am afraid that the example is outdated but still works with few modifications:
line 29
- game.plugins.add(Fabrique.Plugins.AdManager);
+ game.plugins.add(PhaserAds.AdManager);
line 49
- game.ads.setAdProvider(new Fabrique.AdProvider.Ima3(
+ game.ads.setAdProvider(new PhaserAds.AdProvider.Ima3(
Thank you for your attention to this matter in advance!
It's a requirement of ad providers, so let's make this generic
Here is the error message I'm getting ..
ncaught TypeError: Cannot read property 'add' of undefinedcreate @ (index):49loadComplete @ phaser.js:30903preUpdate @ phaser.js:30670updateLogic @ phaser.js:39184update @ phaser.js:39071updateRAF @ phaser.js:62151_onLoop @ phaser.js:62135
VM333:1 Uncaught SecurityError: Blocked a frame with origin "http://imasdk.googleapis.com" from accessing a frame with origin "http://technotip.org". Protocols, domains, and ports must match.
Hello,
there's no way to get the example to work, once you link Phaser you get an error on this line:
game.ads.onAdError.add(function (error) {
the error is
(index):50 Uncaught TypeError: Cannot read property 'add' of undefined
also, no docs :(
Hi man,
What do you think about to add the steps to use the plugin into README.md file?
Regards
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.