{"id":462,"date":"2021-01-14T22:11:55","date_gmt":"2021-01-15T03:11:55","guid":{"rendered":"https:\/\/cynthiamcmahon.ca\/blog\/?p=462"},"modified":"2021-01-14T22:11:58","modified_gmt":"2021-01-15T03:11:58","slug":"android-tutorial-on-ad-mob-and-monogame","status":"publish","type":"post","link":"https:\/\/cynthiamcmahon.ca\/blog\/2021\/01\/android-tutorial-on-ad-mob-and-monogame\/","title":{"rendered":"Android Tutorial on Ad Mob and MonoGame"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Android Tutorial on Ad Mob and MonoGame<\/h2>\n\n\n\n<p>I have finished my first Android tutorial and MonoGame. It is on how to display banner ads using Google Ad Mob. I found many tutorials and source code on interstitial and reward ads that worked. However, I found it very hard to find any working code, or half working, on displaying banner ads. After a lot of hair pulling I found a solution that was easy to duplicate in other games. You can find the tutorial on my new Android MonoGame Tutorials page of my site. Also, you can use this <a href=\"https:\/\/drive.google.com\/file\/d\/1-Uo0W1N5UEVTB9cOtXsKyanGj0920I0r\/view?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">direct link<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Next<\/h2>\n\n\n\n<p>This tutorial came about out of the blue because I was asked about banner ads. I knew about interstitial ads and reward ads but I couldn&#8217;t do banner ads. So, I dug into it, found the solution and wrote the tutorial. For that reason I didn&#8217;t work on Eyes of the Dragon today as I had originally planned. I will be working on a couple Eyes of the Dragon tutorials tomorrow. I will be merging the three parts of tutorial 11 into one which is about making some editors so we have data to work with.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">My Projects<\/h2>\n\n\n\n<p>I did work a bit on Quintessential Duels a bit yesterday and this morning. Mostly it was trying to get banner ads working. Once I got that working I moved to the project that is part of my learning, Knight Watch. It will be a 2D MMORPG played in the browser. I was working on the site, login and registration. The login and registration system works fine. However, it could use a little more bullet proofing. Everything occurs on the same page so once you&#8217;re on the page there is no navigation. There is a brief loading when you move to the game and it loads resources. It is all built on top of React. Which I am finding pretty cool. I also have a functional tile engine with a 2D camera to scroll the map.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>\n\n\n\n<p>Normally I guess at what you want tutorials on but today I was detoured. I like being detoured. It means that I am writing what you want. It improves the quality of the blog. Also, I learn something in the process sometimes. By all means, keep detouring me. Leave comment on the blog about what you want to see<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android Tutorial on Ad Mob and MonoGame I have finished my first Android tutorial and MonoGame. It is on how to display banner ads using Google Ad Mob. I found many tutorials and source code on interstitial and reward ads that worked. However, I found it very hard to find any working code, or half &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,14,23,20,2],"tags":[],"class_list":["post-462","post","type-post","status-publish","format-standard","hentry","category-android","category-eyes-of-the-dragon","category-knight-watch","category-my-projects","category-tutorial"],"_links":{"self":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/comments?post=462"}],"version-history":[{"count":1,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts\/462\/revisions"}],"predecessor-version":[{"id":463,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/posts\/462\/revisions\/463"}],"wp:attachment":[{"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/media?parent=462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/categories?post=462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cynthiamcmahon.ca\/blog\/wp-json\/wp\/v2\/tags?post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}