AdMobEditor.tscn 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. [gd_scene load_steps=23 format=2]
  2. [ext_resource path="res://addons/admob/assets/android.png" type="Texture" id=1]
  3. [ext_resource path="res://addons/admob/assets/poing.jpeg" type="Texture" id=2]
  4. [ext_resource path="res://addons/admob/assets/fonts/arial.ttf" type="DynamicFontData" id=3]
  5. [ext_resource path="res://addons/admob/src/core/AdMobEditor.gd" type="Script" id=4]
  6. [ext_resource path="res://addons/admob/assets/ios.png" type="Texture" id=5]
  7. [ext_resource path="res://addons/admob/assets/icon-76.png" type="Texture" id=6]
  8. [ext_resource path="res://addons/admob/src/core/components/ad_format/BannerAdFormat.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://addons/admob/src/core/components/General.tscn" type="PackedScene" id=8]
  10. [ext_resource path="res://addons/admob/src/core/components/ad_format/InterstitialAdFormat.tscn" type="PackedScene" id=9]
  11. [ext_resource path="res://addons/admob/src/core/components/ad_format/RewardedAdFormat.tscn" type="PackedScene" id=10]
  12. [ext_resource path="res://addons/admob/src/core/components/ad_format/RewardedInterstitialAdFormat.tscn" type="PackedScene" id=11]
  13. [ext_resource path="res://addons/admob/src/core/components/Downloads.tscn" type="PackedScene" id=12]
  14. [ext_resource path="res://addons/admob/src/core/components/Debug.tscn" type="PackedScene" id=13]
  15. [ext_resource path="res://addons/admob/src/core/SupportVersion.gd" type="Script" id=14]
  16. [ext_resource path="res://addons/admob/src/core/CurrentVersion.gd" type="Script" id=15]
  17. [ext_resource path="res://addons/admob/src/core/VersionSupportedHTTPRequest.tscn" type="PackedScene" id=16]
  18. [sub_resource type="StyleBoxFlat" id=1]
  19. bg_color = Color( 0.839216, 0.0352941, 0.0352941, 1 )
  20. [sub_resource type="DynamicFont" id=2]
  21. size = 30
  22. use_filter = true
  23. font_data = ExtResource( 3 )
  24. [sub_resource type="DynamicFont" id=4]
  25. size = 20
  26. use_filter = true
  27. font_data = ExtResource( 3 )
  28. [sub_resource type="StyleBoxFlat" id=3]
  29. bg_color = Color( 1, 0.772549, 0, 1 )
  30. [sub_resource type="DynamicFont" id=6]
  31. size = 20
  32. outline_size = 1
  33. outline_color = Color( 0, 0, 0, 1 )
  34. use_filter = true
  35. font_data = ExtResource( 3 )
  36. [sub_resource type="StyleBoxFlat" id=5]
  37. bg_color = Color( 0.172549, 0.568627, 0.992157, 1 )
  38. [node name="AdMobEditor" type="Control"]
  39. pause_mode = 2
  40. anchor_right = 1.0
  41. anchor_bottom = 1.0
  42. rect_clip_content = true
  43. size_flags_horizontal = 3
  44. size_flags_vertical = 3
  45. script = ExtResource( 4 )
  46. [node name="TopPanel" type="Panel" parent="."]
  47. anchor_right = 1.0
  48. margin_bottom = 40.0
  49. rect_min_size = Vector2( 0, 35 )
  50. custom_styles/panel = SubResource( 1 )
  51. __meta__ = {
  52. "_edit_lock_": true,
  53. "_edit_use_anchors_": false
  54. }
  55. [node name="Description" type="Label" parent="TopPanel"]
  56. anchor_right = 1.0
  57. margin_right = -401.4
  58. margin_bottom = 40.0
  59. custom_fonts/font = SubResource( 2 )
  60. text = "AdMob Editor"
  61. valign = 1
  62. __meta__ = {
  63. "_edit_use_anchors_": false
  64. }
  65. [node name="Icons" type="Control" parent="TopPanel"]
  66. anchor_left = 1.0
  67. anchor_right = 1.0
  68. margin_left = -395.4
  69. margin_right = 0.600037
  70. margin_bottom = 40.0
  71. __meta__ = {
  72. "_edit_use_anchors_": false
  73. }
  74. [node name="AndroidButton" type="TextureButton" parent="TopPanel/Icons"]
  75. anchor_left = 1.0
  76. anchor_right = 1.0
  77. margin_left = -158.6
  78. margin_right = -118.6
  79. margin_bottom = 40.0
  80. mouse_default_cursor_shape = 2
  81. texture_normal = ExtResource( 1 )
  82. expand = true
  83. __meta__ = {
  84. "_edit_use_anchors_": false
  85. }
  86. [node name="iOSButton" type="TextureButton" parent="TopPanel/Icons"]
  87. anchor_left = 1.0
  88. anchor_right = 1.0
  89. margin_left = -118.145
  90. margin_right = -78.1449
  91. margin_bottom = 40.0
  92. mouse_default_cursor_shape = 2
  93. texture_normal = ExtResource( 5 )
  94. expand = true
  95. __meta__ = {
  96. "_edit_use_anchors_": false
  97. }
  98. [node name="AdMobButton" type="TextureButton" parent="TopPanel/Icons"]
  99. anchor_left = 1.0
  100. anchor_right = 1.0
  101. margin_left = -79.9999
  102. margin_right = -39.9999
  103. margin_bottom = 40.0
  104. mouse_default_cursor_shape = 2
  105. texture_normal = ExtResource( 6 )
  106. expand = true
  107. __meta__ = {
  108. "_edit_use_anchors_": false
  109. }
  110. [node name="PoingButton" type="TextureButton" parent="TopPanel/Icons"]
  111. anchor_left = 1.0
  112. anchor_right = 1.0
  113. margin_left = -40.0
  114. margin_bottom = 40.0
  115. mouse_default_cursor_shape = 2
  116. texture_normal = ExtResource( 2 )
  117. expand = true
  118. __meta__ = {
  119. "_edit_use_anchors_": false
  120. }
  121. [node name="MiddleScrollContainer" type="ScrollContainer" parent="."]
  122. anchor_right = 1.0
  123. anchor_bottom = 1.0
  124. margin_top = 40.0
  125. margin_right = 6.10352e-05
  126. margin_bottom = -34.9996
  127. __meta__ = {
  128. "_edit_lock_": true
  129. }
  130. [node name="TabContainer" type="TabContainer" parent="MiddleScrollContainer"]
  131. margin_right = 600.0
  132. margin_bottom = 949.0
  133. size_flags_horizontal = 3
  134. size_flags_vertical = 3
  135. tab_align = 0
  136. [node name="General" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 8 )]
  137. [node name="Debug" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 13 )]
  138. visible = false
  139. anchor_right = 1.0
  140. anchor_bottom = 1.0
  141. margin_left = 4.0
  142. margin_top = 32.0
  143. margin_right = -4.0
  144. margin_bottom = -4.0
  145. [node name="Banner" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 7 )]
  146. visible = false
  147. margin_left = 4.0
  148. margin_top = 32.0
  149. margin_right = -4.0
  150. margin_bottom = -4.0
  151. [node name="Interstitial" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 9 )]
  152. visible = false
  153. margin_left = 4.0
  154. margin_top = 32.0
  155. margin_right = -4.0
  156. margin_bottom = -4.0
  157. [node name="Rewarded" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 10 )]
  158. visible = false
  159. margin_left = 4.0
  160. margin_top = 32.0
  161. margin_right = -4.0
  162. margin_bottom = -4.0
  163. [node name="RewardedInterstitial" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 11 )]
  164. visible = false
  165. margin_left = 4.0
  166. margin_top = 32.0
  167. margin_right = -4.0
  168. margin_bottom = -4.0
  169. [node name="Downloads" parent="MiddleScrollContainer/TabContainer" instance=ExtResource( 12 )]
  170. visible = false
  171. anchor_bottom = 1.0
  172. margin_left = 4.0
  173. margin_top = 32.0
  174. margin_right = -4.0
  175. margin_bottom = -4.0
  176. [node name="BottomPanel" type="Panel" parent="."]
  177. anchor_top = 1.0
  178. anchor_right = 1.0
  179. anchor_bottom = 1.0
  180. margin_top = -35.0
  181. rect_min_size = Vector2( 0, 35 )
  182. __meta__ = {
  183. "_edit_lock_": true,
  184. "_edit_use_anchors_": false
  185. }
  186. [node name="SupportVersion" type="RichTextLabel" parent="BottomPanel"]
  187. anchor_top = 1.0
  188. anchor_right = 1.0
  189. anchor_bottom = 1.0
  190. margin_top = -35.0
  191. margin_right = -158.0
  192. custom_fonts/normal_font = SubResource( 4 )
  193. custom_styles/normal = SubResource( 3 )
  194. bbcode_enabled = true
  195. bbcode_text = "[rainbow sat=10]iOS[/rainbow][color=black]:v2.1.0[/color] [rainbow sat=10]Android[/rainbow][color=black]:v2.1.0[/color]"
  196. text = "iOS:v2.1.0 Android:v2.1.0"
  197. script = ExtResource( 14 )
  198. [node name="VersionSupportedHTTPRequest" parent="BottomPanel/SupportVersion" instance=ExtResource( 16 )]
  199. [node name="CurrentVersion" type="Label" parent="BottomPanel"]
  200. anchor_left = 1.0
  201. anchor_top = 1.0
  202. anchor_right = 1.0
  203. anchor_bottom = 1.0
  204. margin_left = -158.0
  205. margin_top = -35.0
  206. rect_min_size = Vector2( 0, 35 )
  207. custom_fonts/font = SubResource( 6 )
  208. custom_styles/normal = SubResource( 5 )
  209. text = "Version: 1.3.0"
  210. align = 2
  211. script = ExtResource( 15 )
  212. [connection signal="pressed" from="TopPanel/Icons/AndroidButton" to="." method="_on_AndroidButton_pressed"]
  213. [connection signal="pressed" from="TopPanel/Icons/iOSButton" to="." method="_on_iOSButton_pressed"]
  214. [connection signal="pressed" from="TopPanel/Icons/AdMobButton" to="." method="_on_AdMobButton_pressed"]
  215. [connection signal="pressed" from="TopPanel/Icons/PoingButton" to="." method="_on_PoingButton_pressed"]