Original Source
- Original title: Ads (Admob) in RPG Maker MV
- Original author: DoeXav
- Original date: April 16, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/ads-admob-in-rpg-maker-mv.135551/
- Source forum path: Game Development Engines > RPG Maker Tutorials > RMMV Tutorials
Summary
All credits to waffs702 + his tutorial (https://github.com/waffs702/mv_to_android/wiki/インタースティシャル広告) Hi everyone, I wanted to share a way that you can add admob to your games. First of all, download the Android Studio project to turn your RPGMV project into an android application. GitHub - waffs702/mv_to_android: RPGツクールMV/ツクールMZプロジェクトをAndroidアプリ化
Archived First Post
Hi everyone, I wanted to share a way that you can add admob to your games.
First of all, download the Android Studio project to turn your RPGMV project into an android application.
GitHub - waffs702/mv_to_android: RPGツクールMV/ツクールMZプロジェクトをAndroidアプリ化
In this case I will use an example with an interstitial ad.
Go to the following link and download the following plugins:
waffs702/mvz_plugins
-MZxNativeCore.js
-MVxNativeInterstitialAd.js
Install the plugins.
Go to the common events of your project.
You can optionally add two messages to check if the ads work if simply creating the common events without instructions is not enough.
Create an event and add the following statement: MVxNativeInterstitialAd X Y, X = Common event for success and Y = Common event for failure.
Deploy your project.
Go to the mv_to_android-master folder, open app folder and create a folder called htmlSource.
Move the files from your game's www folder to the htmlSource folder.
Open mv_to_android-master in Android Studio.
Use the view in "project" and go to app\src\main\res\values\strings.xml
Inside string.xml you will find:
The name of your game: <string name="app_name">game name</string>
The id of your application in admob: <string name="ad_application_id">id app</string>
The id of your ads:
<string name="ad_rewarded_unit_id">id rewarded ad</string>
<string name="ad_interstitial_id">id insterstitial ad</string>
You can try test ads in https://developers.google.com/admob/android/test-ads#sample_ad_units or head over to admob and test your own ads.
>Build apk
If you do not see any ads wait at least half an hour, they usually do not appear instantly.
That would be all.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
All credits to waffs702 + his tutorial (https://github.com/waffs702/mv_to_android/wiki/インタースティシャル広告) Hi everyone, I wanted to share a way that you can add admob to your games. First of all, download the Android Studio project to turn your RPGMV project into an android application. GitHub - waffs702/mv_to_android: RPGツクールMV/ツクールMZプロジェクトをAndroidアプリ化
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...