Skip to content

Commit

Permalink
Merge pull request #11 from Poing-Studios/#9
Browse files Browse the repository at this point in the history
#9 Complete
  • Loading branch information
gumaciel authored Oct 4, 2021
2 parents 007b79a + c37715f commit bcb2925
Show file tree
Hide file tree
Showing 43 changed files with 1,444 additions and 697 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ export_presets.cfg

# Mono-specific ignores
.mono/
mono_crash*.json
data_*/
AdMobAddon.csproj
AdMobAddon.sln


android/
ios/
ios/
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,44 @@ After you installed, the Plugin will automaticly add an AutoLoad called `MobileA
A example scene is here: `res://addons/admob/develop/Example.tscn`

To your plugin work, you need to download the `AdMob Plugin` here: https://github.com/Poing-Studios/Godot-AdMob-Android-iOS#readme


# Signals:
```
signal initialization_complete(status, adapter_name)
signal consent_form_dismissed()
signal consent_status_changed(consent_status_message)
signal consent_form_load_failure(error_code, error_message)
signal consent_info_update_success(consent_status_message)
signal consent_info_update_failure(error_code, error_message)
signal banner_loaded()
signal banner_failed_to_load(error_code)
signal banner_opened()
signal banner_clicked()
signal banner_closed()
signal banner_recorded_impression()
signal banner_destroyed()
signal interstitial_failed_to_load(error_code)
signal interstitial_loaded()
signal interstitial_failed_to_show(error_code)
signal interstitial_opened()
signal interstitial_closed()
signal rewarded_ad_failed_to_load(error_code)
signal rewarded_ad_loaded()
signal rewarded_ad_failed_to_show(error_code)
signal rewarded_ad_opened()
signal rewarded_ad_closed()
signal rewarded_interstitial_ad_failed_to_load(error_code)
signal rewarded_interstitial_ad_loaded()
signal rewarded_interstitial_ad_failed_to_show(error_code)
signal rewarded_interstitial_ad_opened()
signal rewarded_interstitial_ad_closed()
signal user_earned_rewarded(currency, amount)
```
1 change: 1 addition & 0 deletions addons/admob/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.zip
27 changes: 0 additions & 27 deletions addons/admob/AdMob.gd

This file was deleted.

Binary file added addons/admob/assets/android.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions addons/admob/assets/android.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/android.png-fb2caea48032eea3d74244daf04c3454.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/admob/assets/android.png"
dest_files=[ "res://.import/android.png-fb2caea48032eea3d74244daf04c3454.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added addons/admob/assets/fonts/arial.ttf
Binary file not shown.
Binary file added addons/admob/assets/ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions addons/admob/assets/ios.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/ios.png-09946c77d84d877ee235a3ef7222fc0c.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/admob/assets/ios.png"
dest_files=[ "res://.import/ios.png-09946c77d84d877ee235a3ef7222fc0c.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
34 changes: 0 additions & 34 deletions addons/admob/config/Settings.gd

This file was deleted.

Empty file.
Empty file.
4 changes: 2 additions & 2 deletions addons/admob/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="AdMob"
description="The AdMob of Plugin for Android and iOS."
author="Poing Studios"
version="0.4.2"
script="AdMob.gd"
version="1.0.0"
script="src/core/AdMob.gd"
Loading

0 comments on commit bcb2925

Please sign in to comment.