Giter VIP home page Giter VIP logo

phaser-ads's Issues

Question about ES6 import

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 :(

Outdated example html

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!

Error - blocking frame

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.

no way to get the example to work

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 :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.