Add new example for the AdMob extension

This commit is contained in:
Florian Rival
2018-10-31 23:45:10 +00:00
parent 95882d1289
commit 6b17c1febd
119 changed files with 9980 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1 @@
Demonstrate how to show ads from AdMob in your game: banners, interstitial screen or reward videos. Also useful to test that your AdMob account is working properly.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

View File

@@ -9,6 +9,7 @@ import ExamplesList from './ExamplesList';
// of the example generated. Finally, add it in this list, in BrowserProjectOpener.js
// and upload the example resources online.
const exampleNames = [
'admob',
'advanced-shape-based-painter',
'animation-speed-scale',
'asteroids',

View File

@@ -1,5 +1,42 @@
// This file is generated by update-examples-extensions-usage-from-resources-examples.js script
module.exports = {
"admob": {
"description": "Demonstrate how to show ads from AdMob in your game: banners, interstitial screen or reward videos. Also useful to test that your AdMob account is working properly.",
"usedExtensions": [
{
"fullName": "Sprite",
"name": "Sprite"
},
{
"fullName": "Text object",
"name": "TextObject"
},
{
"fullName": "Scene management features",
"name": "BuiltinScene"
},
{
"fullName": "Base object",
"name": "BuiltinObject"
},
{
"fullName": "Mouse features",
"name": "BuiltinMouse"
},
{
"fullName": "Standard events",
"name": "BuiltinCommonInstructions"
},
{
"fullName": "Variable features",
"name": "BuiltinVariables"
},
{
"fullName": "AdMob",
"name": "AdMob"
}
]
},
"advanced-shape-based-painter": {
"description": "Show how to use Shape Painter objects to create a simple drawing app.",
"usedExtensions": [

View File

@@ -1,3 +1,4 @@
import admob from '../fixtures/admob/admob.json';
import advancedShapeBasedPainter from '../fixtures/advanced-shape-based-painter/advanced-shape-based-painter.json';
import animationSpeedScale from '../fixtures/animation-speed-scale/animation-speed-scale.json';
import asteroids from '../fixtures/asteroids/asteroids.json';
@@ -88,7 +89,9 @@ import zombieLaser from '../fixtures/zombie-laser/zombie-laser.json';
export default class BrowserProjectOpener {
static readInternalFile(url) {
if (url === 'example://advanced-shape-based-painter') {
if (url === 'example://admob') {
return Promise.resolve(admob);
} else if (url === 'example://advanced-shape-based-painter') {
return Promise.resolve(advancedShapeBasedPainter);
} else if (url === 'example://animation-speed-scale') {
return Promise.resolve(animationSpeedScale);

File diff suppressed because it is too large Load Diff

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

View File

@@ -7,6 +7,7 @@
"revision": 0
},
"properties": {
"adMobAppId": "",
"folderProject": false,
"linuxExecutableFilename": "",
"macExecutableFilename": "",

Some files were not shown because too many files have changed in this diff Show More