123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- [gd_scene load_steps=11 format=2]
- [ext_resource path="res://addons/admob/test/Example.gd" type="Script" id=1]
- [ext_resource path="res://addons/admob/assets/icon-500.png" type="Texture" id=2]
- [ext_resource path="res://addons/admob/assets/poing.jpeg" type="Texture" id=3]
- [ext_resource path="res://addons/admob/assets/music.ogg" type="AudioStream" id=4]
- [ext_resource path="res://addons/admob/test/MusicCheckButton.gd" type="Script" id=5]
- [sub_resource type="StyleBoxFlat" id=1]
- bg_color = Color( 0.36377, 0.23226, 0.0795746, 1 )
- [sub_resource type="StyleBoxEmpty" id=2]
- [sub_resource type="Theme" id=3]
- TabContainer/styles/panel = SubResource( 2 )
- [sub_resource type="StyleBoxFlat" id=4]
- bg_color = Color( 0, 0, 0, 1 )
- [sub_resource type="StyleBoxFlat" id=5]
- bg_color = Color( 0, 0, 0, 1 )
- [node name="Example" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- script = ExtResource( 1 )
- __meta__ = {
- "_edit_lock_": true,
- "_edit_use_anchors_": false
- }
- [node name="Background" type="ColorRect" parent="."]
- anchor_right = 1.0
- anchor_bottom = 1.0
- color = Color( 1, 0.541176, 0, 1 )
- __meta__ = {
- "_edit_lock_": true,
- "_edit_use_anchors_": false
- }
- [node name="Poing" type="TextureRect" parent="Background"]
- anchor_left = 1.0
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = -100.0
- margin_top = -100.0
- texture = ExtResource( 3 )
- expand = true
- stretch_mode = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="AdMob" type="TextureRect" parent="Background"]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -256.0
- margin_top = -256.0
- margin_right = 256.0
- margin_bottom = 256.0
- texture = ExtResource( 2 )
- stretch_mode = 6
- __meta__ = {
- "_edit_lock_": true
- }
- [node name="Advice" type="RichTextLabel" parent="Background"]
- anchor_top = 0.0933333
- anchor_right = 1.0
- anchor_bottom = 0.402222
- custom_styles/normal = SubResource( 1 )
- bbcode_enabled = true
- bbcode_text = "[wave]"
- scroll_following = true
- __meta__ = {
- "_edit_use_anchors_": true
- }
- [node name="TabContainer" type="TabContainer" parent="Background"]
- anchor_left = 0.145
- anchor_top = 0.546667
- anchor_right = 0.855
- anchor_bottom = 0.773333
- theme = SubResource( 3 )
- __meta__ = {
- "_edit_use_anchors_": true
- }
- [node name="AdFormats" type="Tabs" parent="Background/TabContainer"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_top = 24.0
- [node name="VBoxContainer" type="VBoxContainer" parent="Background/TabContainer/AdFormats"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Banner" type="HBoxContainer" parent="Background/TabContainer/AdFormats/VBoxContainer"]
- margin_right = 727.0
- margin_bottom = 20.0
- size_flags_vertical = 0
- alignment = 1
- [node name="EnableBanner" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer/Banner"]
- margin_right = 361.0
- margin_bottom = 20.0
- size_flags_horizontal = 3
- disabled = true
- text = "ENABLE BANNER"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="DisableBanner" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer/Banner"]
- margin_left = 365.0
- margin_right = 727.0
- margin_bottom = 20.0
- size_flags_horizontal = 3
- disabled = true
- text = "DISABLE BANNER"
- [node name="Banner2" type="HBoxContainer" parent="Background/TabContainer/AdFormats/VBoxContainer"]
- margin_top = 24.0
- margin_right = 727.0
- margin_bottom = 44.0
- size_flags_vertical = 0
- alignment = 1
- [node name="ShowBanner" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer/Banner2"]
- margin_right = 361.0
- margin_bottom = 20.0
- size_flags_horizontal = 3
- disabled = true
- text = "SHOW BANNER"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="HideBanner" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer/Banner2"]
- margin_left = 365.0
- margin_right = 727.0
- margin_bottom = 20.0
- size_flags_horizontal = 3
- disabled = true
- text = "HIDE BANNER"
- [node name="Interstitial" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer"]
- margin_top = 48.0
- margin_right = 727.0
- margin_bottom = 68.0
- disabled = true
- text = "INTERSTITIAL"
- [node name="Rewarded" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer"]
- margin_top = 72.0
- margin_right = 727.0
- margin_bottom = 92.0
- disabled = true
- text = "REWARDED"
- [node name="RewardedInterstitial" type="Button" parent="Background/TabContainer/AdFormats/VBoxContainer"]
- margin_top = 96.0
- margin_right = 727.0
- margin_bottom = 116.0
- disabled = true
- text = "REWARDED INTERSTITIAL"
- [node name="Banner" type="Tabs" parent="Background/TabContainer"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_top = 24.0
- [node name="VBoxContainer" type="VBoxContainer" parent="Background/TabContainer/Banner"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Control" type="Control" parent="Background/TabContainer/Banner/VBoxContainer"]
- margin_top = 58.0
- margin_right = 355.0
- margin_bottom = 68.0
- rect_min_size = Vector2( 0, 10 )
- [node name="Position" type="CheckBox" parent="Background/TabContainer/Banner/VBoxContainer"]
- margin_top = 72.0
- margin_right = 355.0
- margin_bottom = 88.0
- custom_styles/hover = SubResource( 4 )
- custom_styles/pressed = SubResource( 4 )
- custom_styles/normal = SubResource( 4 )
- pressed = true
- text = "Position on TOP"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="RespectSafeArea" type="CheckBox" parent="Background/TabContainer/Banner/VBoxContainer"]
- margin_top = 92.0
- margin_right = 355.0
- margin_bottom = 108.0
- custom_styles/hover = SubResource( 4 )
- custom_styles/pressed = SubResource( 4 )
- custom_styles/normal = SubResource( 4 )
- text = "Respect Safe Area (RECOMMENDED TRUE)"
- [node name="BannerSizes" type="ItemList" parent="Background/TabContainer/Banner/VBoxContainer"]
- margin_top = 112.0
- margin_right = 355.0
- margin_bottom = 121.0
- auto_height = true
- same_column_width = true
- __meta__ = {
- "_edit_use_anchors_": true
- }
- [node name="UMP" type="Tabs" parent="Background/TabContainer"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_top = 24.0
- [node name="VBoxContainer" type="VBoxContainer" parent="Background/TabContainer/UMP"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="RequestUserConsent" type="Button" parent="Background/TabContainer/UMP/VBoxContainer"]
- margin_top = 67.0
- margin_right = 355.0
- margin_bottom = 87.0
- disabled = true
- text = "REQUEST USER CONSENT"
- [node name="ResetConsentState" type="Button" parent="Background/TabContainer/UMP/VBoxContainer"]
- margin_top = 91.0
- margin_right = 355.0
- margin_bottom = 111.0
- disabled = true
- text = "RESET CONSENT STATE"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="General" type="Tabs" parent="Background/TabContainer"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_top = 24.0
- [node name="VBoxContainer" type="VBoxContainer" parent="Background/TabContainer/General"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="IsInitialized" type="Button" parent="Background/TabContainer/General/VBoxContainer"]
- margin_top = 31.0
- margin_right = 355.0
- margin_bottom = 51.0
- text = "is_initialized()"
- [node name="IsBannerLoaded" type="Button" parent="Background/TabContainer/General/VBoxContainer"]
- margin_top = 55.0
- margin_right = 355.0
- margin_bottom = 75.0
- text = "is_banner_loaded()"
- [node name="IsInterstitialLoaded" type="Button" parent="Background/TabContainer/General/VBoxContainer"]
- margin_top = 79.0
- margin_right = 355.0
- margin_bottom = 99.0
- text = "is_interstitial_loaded()"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="IsRewardedLoaded" type="Button" parent="Background/TabContainer/General/VBoxContainer"]
- margin_top = 103.0
- margin_right = 355.0
- margin_bottom = 123.0
- text = "is_rewarded_loaded()"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="IsRewardedInterstitialLoaded" type="Button" parent="Background/TabContainer/General/VBoxContainer"]
- margin_top = 127.0
- margin_right = 355.0
- margin_bottom = 147.0
- text = "is_rewarded_interstitial_loaded()"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="MusicCheckButton" type="CheckButton" parent="Background"]
- anchor_left = 1.0
- anchor_top = 0.5
- anchor_right = 1.0
- anchor_bottom = 0.5
- margin_left = -110.0
- margin_top = -84.0
- margin_bottom = -44.0
- custom_styles/hover = SubResource( 5 )
- custom_styles/pressed = SubResource( 5 )
- custom_styles/normal = SubResource( 5 )
- pressed = true
- text = "MUSIC"
- script = ExtResource( 5 )
- [node name="Music" type="AudioStreamPlayer" parent="Background/MusicCheckButton"]
- stream = ExtResource( 4 )
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Banner/EnableBanner" to="." method="_on_EnableBanner_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Banner/DisableBanner" to="." method="_on_DisableBanner_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Banner2/ShowBanner" to="." method="_on_ShowBanner_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Banner2/HideBanner" to="." method="_on_HideBanner_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Interstitial" to="." method="_on_Interstitial_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/Rewarded" to="." method="_on_Rewarded_pressed"]
- [connection signal="pressed" from="Background/TabContainer/AdFormats/VBoxContainer/RewardedInterstitial" to="." method="_on_RewardedInterstitial_pressed"]
- [connection signal="pressed" from="Background/TabContainer/Banner/VBoxContainer/Position" to="." method="_on_Position_pressed"]
- [connection signal="pressed" from="Background/TabContainer/Banner/VBoxContainer/RespectSafeArea" to="." method="_on_RespectSafeArea_pressed"]
- [connection signal="item_selected" from="Background/TabContainer/Banner/VBoxContainer/BannerSizes" to="." method="_on_BannerSizes_item_selected"]
- [connection signal="pressed" from="Background/TabContainer/UMP/VBoxContainer/RequestUserConsent" to="." method="_on_RequestUserConsent_pressed"]
- [connection signal="pressed" from="Background/TabContainer/UMP/VBoxContainer/ResetConsentState" to="." method="_on_ResetConsentState_pressed"]
- [connection signal="pressed" from="Background/TabContainer/General/VBoxContainer/IsInitialized" to="." method="_on_IsInitialized_pressed"]
- [connection signal="pressed" from="Background/TabContainer/General/VBoxContainer/IsBannerLoaded" to="." method="_on_IsBannerLoaded_pressed"]
- [connection signal="pressed" from="Background/TabContainer/General/VBoxContainer/IsInterstitialLoaded" to="." method="_on_IsInterstitialLoaded_pressed"]
- [connection signal="pressed" from="Background/TabContainer/General/VBoxContainer/IsRewardedLoaded" to="." method="_on_IsRewardedLoaded_pressed"]
- [connection signal="pressed" from="Background/TabContainer/General/VBoxContainer/IsRewardedInterstitialLoaded" to="." method="_on_IsRewardedInterstitialLoaded_pressed"]
- [connection signal="pressed" from="Background/MusicCheckButton" to="Background/MusicCheckButton" method="_on_MusicCheckButton_pressed"]
|