じ☆ve冰风 发表于 4 天前

How to Publish an RPG Maker Game on Android (Google Play Store)

Another post from RPG Maker Game Reviews!

Preparing Your Project for Deployment
Turn off any preloader plugins. The Play Store will not allow you to frontload a lot of audio or image files. If you have a preloader turned on, your game will freeze on Android devices.


Test Your Deployment
Deploy your game for Android/iOS. Go to File > Deployment and select Android / iOS. You can click Exclude unused files, but you might need to copy some files into your deployment folder later if it mistakenly excludes any files that you need.


https://1.bp.blogspot.com/-PZluz4sLxhs/XPbnaZ4OqhI/AAAAAAAAGbI/JktAd1uYaHUX_toGMkclLIUvdQL6uT4_wCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B1.jpg

Once it’s finished Deploying, test the deployed version by clicking on the Index file in the www folder. Chrome will not load the Index file, so use another browser. It’s important to test the deployment version. Do not assume that just because your game ran well in the editor that it will run the same once it’s deployed.

When testing at this point, you could experience two common problems:

If you have missing files, replace them in the correct folder.

If you don’t see an error message about missing files, but your game still doesn’t run correctly, turn off your plugins one by one to see which one is causing the problem. You may have multiple plugins that do not work in mobile deployment mode.


Compress Your Files
The Play Store only allows apps to be 100 MB. If your game goes over 100 MB, you’ll need to set up APK Extension folders, so it’s best to stay under the base limit if possible.


Compressing Images
Download the Pngyu image converter from https://pngquant.org/

https://1.bp.blogspot.com/-4xNTOpV6m6o/XPbntMSti4I/AAAAAAAAGbQ/RYlv21GTxCM14szg9FpaHAdRfTCLg-eMQCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B2.jpg

Adjust the Colors down. The further down you go, the smaller your file sizes will be. But do not go too low, or the colors will fade.

You can adjust each image individually or use the batch function to compress all of them at once.


Compressing Audio
Download the Music Converter from dBpoweramp. You can get a free trial for 21 days or pay $39 to keep it.

Mobile versions need m4a audio file formats, so make sure you convert all of your sound files to this format.

https://1.bp.blogspot.com/-jeTr7E5QDYs/XPboAbLBuJI/AAAAAAAAGbY/VTFMn0WKPDMkEGTwOgi70LqfAfv3x0kggCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B3.jpg

Lower the quality of your audio to make them smaller. You probably won’t notice the change, but if you’re worried about this, you can adjust each soundtrack individually. Otherwise, use the batch converter to do them all at once.

https://1.bp.blogspot.com/-7Uxr91W09H4/XPboXfAj9-I/AAAAAAAAGbg/MU2L6KitgYo1Pnt_CWaZ4S9y1toPlbEugCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B4.jpg


Compressing Videos
If you have videos to convert, use https://www.online-convert.com/. You’ll need to convert your videos to both WebM and mp4 formats. Unfortunately, you can’t compress the files too much on this platform.


Setting Up APK Extension Folders
What if you’ve compressed your files as far as you want to, and your project is still over 100 MB? You’ll need to set up extension folders for your files.


I’ll probably need to do this for my next update, so I’ll give some clearer instructions then. For now, here’s the Google Play instructions: https://developer.android.com/google/play/expansion-files


Configuring Your Android Studio Project
First, you’ll need to download the Android Studio program.

On the opening screen, select Configure > SDK Manager. You can also get there under the System Settings > Android SDK.

https://1.bp.blogspot.com/-D77l4DmWZII/XPbopv2P4iI/AAAAAAAAGbo/-xT6Ww9G78sBqYzmZHw0J-SvOJ4Yv8htwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B5.jpg

Make sure your Android Studio installation has the latest operating system versions.

https://1.bp.blogspot.com/-p8UG1FInGXI/XPbo14m41mI/AAAAAAAAGbs/lMF-mhw4DnkDnd19XsBqnusgI2dix9jRgCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B6.jpg

Finally, at the top of the window, click SDK Tools, and make sure you have all of the following.

https://1.bp.blogspot.com/-ZeQ3Yb2-Sfw/XPbpCJy_tBI/AAAAAAAAGb0/SLTMGvDz09YA9IeTtCwPTY663JHi8weXwCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B7.jpg

Now, download the Android Client from Altimit Systems.

Building Your Android Package
On the opening screen or under File, choose to open an existing Android Studio project. You’ll then open the dummy Altimit Systems project.

https://1.bp.blogspot.com/-wgVSYC9UdyI/XPbpOSx2VcI/AAAAAAAAGb4/69t8asNUjIYmpPybj962E4AmJoFjjIOlQCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B8.jpg

To start filling the dummy project with your files, you’ll need to create an Assets folder.

https://1.bp.blogspot.com/-r-lvDtkFW70/XPbpZPeq5HI/AAAAAAAAGcA/-k_WF84eEnAUAYdKVAlb-4zOjMWB3FO_QCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B9.jpg

Keep the default setting and click Finish.

https://1.bp.blogspot.com/-LroimN2YQ3E/XPbpo_b0grI/AAAAAAAAGcI/uA5_2No-E6kyvVTNNMT7O2BZfeeH2yhCgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B10.jpg

Then, copy your www folder and paste into the assets folder.

https://1.bp.blogspot.com/-0Seo5A1Olzc/XPbp4b04veI/AAAAAAAAGcQ/NvvIrXxZVS4aRRRA_D5pjHdDWqKJzhngwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B11.jpg

Uncheck the box that says Open copy in editor.

https://1.bp.blogspot.com/-LYjaaXTZqaA/XPbqGrDhAFI/AAAAAAAAGcY/DP5Q7CXxPb8Oa1DbExfqPcO2De8dvGnAgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B12.jpg

Now, expand the Gradle Scripts on the left and open build.gradle (Module: app).

https://1.bp.blogspot.com/-KFzktDB0o90/XPbqtMPh4hI/AAAAAAAAGck/80PR-1qyzfYWTaAEouyp0mIqmlKLiaPXwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B13.jpg

You’ll see a line to fill in your applicationId. You can fill this line in with your web address and game title or your name and game title.

Your version code and name can stay at 100 and 1.0.0 for your initial release.

https://1.bp.blogspot.com/-MwpOy6eb2O4/XPbq6lxDFII/AAAAAAAAGco/VAsTgBdo0UwNnoxGhEPnWenDDCk9jeO4QCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B14.jpg

When you’re finished, click Sync Now at the upper right of that window.

You’ll also want to rename your game in the dummy files and create a new icon to use.

First, find the res folder under the assets folder. Expand it until you find the values folder and click on the values.xml file.

https://1.bp.blogspot.com/-CLxJD5Rlh7o/XPbrGPzFwJI/AAAAAAAAGcw/RBYLiSY6inMPhpIe-pcij23nwDnnYQjOQCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B15.jpg

Find the line that says <string name =”app name”> and replace the RPG Maker MV name with the name of your game.

The two lines under that are for changing to your website address, Facebook page, etc. This isn’t necessary, though, and users won’t see this part.

To create a unique icon for your game, expand the mipmap folder and delete everything inside it.

https://1.bp.blogspot.com/-7zQvCAQ5ep0/XPbrbtw4u0I/AAAAAAAAGc8/yE8CJ3gozG0XOtWWcEdJaN632MpHR1zQwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B16.jpg

Then, create an image called app_icon. You can use that same image and rename it app_icon_round or use a different image. It doesn’t necessarily need to be round. Paste both files into the empty mipmap folder.


App Signing Keys
The last step before you finish in Android Studio is to choose a method to sign your apps. You can read about the different ways to do this here: https://developer.android.com/studio/publish/app-signing

The `keys` folder inside the Android project folder contains your secure publishing/signing keys. Keep it protected and safe. You won’t be able to update without it, and it can’t be recovered.

The build.gradle files contain your passwords for the keystore. You’ll see your information in the section, signingConfigs.

https://1.bp.blogspot.com/-kw7DbiM4OxM/XPbrtSiN5YI/AAAAAAAAGdE/K0bWnksSPYATjCj8FPhn4qycihPdt3CTQCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B17.jpg

https://1.bp.blogspot.com/-ZNfgZEfL9Jc/XPbr6y_WgoI/AAAAAAAAGdI/_dv0xL5O2J038jSKKPnv87u_P738DqurwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B18.jpg

https://1.bp.blogspot.com/-sHCu4lgIcd0/XPbsI8e_o5I/AAAAAAAAGdQ/oRi-v6vWL9s9xeuRxULgYdn-QaEFi2ntgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B19.jpg

You only have to generate a keystore and put it in the keys folder as in the current project structure and update the signing config in app/build.gradle


Finalize Your Build
Go to the right panel named Gradle.

Click on Expand All (the symbol next to the elephant) and find assembleRelease or assembleWebviewRelease.

assembleRelease creates the file to upload to Google Play. assembleWebviewRelease creates a file you can use to test the package on your device before you upload it to Google Play.

https://1.bp.blogspot.com/-u-boTN_ziDM/XPbsbMudhqI/AAAAAAAAGdc/83Rkb4j5Nbg6d94Zz0InoW48X_DejFCGgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B20.jpg

https://1.bp.blogspot.com/-DP4ZZ8J_8Zo/XPbsnEe__JI/AAAAAAAAGdg/O5Gfq4ITp7AThyePQXFEFIlvrmEV73ngwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B21.jpg

Right-click on either option and select Run this task to generate the APK.

To install and test the APK before release, find the installWebviewRelease task and run it while your Android device is connected to the System in debug mode.

https://1.bp.blogspot.com/-Ighk_DlZuUY/XPbs5m08VvI/AAAAAAAAGds/q6vQ49zoyAU8S3vlPFpWNK9LLAe-2TCbgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B22.jpg

After you choose Run, you’ll see a task list running like this.

https://1.bp.blogspot.com/-_uOiloD4aqI/XPbtVN4pcNI/AAAAAAAAGd0/RshFxwOFGHwrUFCDRYs2S_cfIdu9z9zUgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B23.jpg

The APK file will show up in your app > build > outputs > apk > webview > release folder.

https://1.bp.blogspot.com/-gPKrA_BnZrQ/XPbtmliZ4qI/AAAAAAAAGd8/t14MKRsVAYYww-xlPKLi8nVQ5tY7T8uwQCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B24.jpg


Setting Up the Google Play Console
Go to the Google Play Console at https://play.google.com/apps/publish and sign in.

Pay your $25 Developer Fee to start an account.

Create a Merchant Account to collect payments.

Then, click on Publish an App on Google Play.

https://1.bp.blogspot.com/-F-I6FtFakCs/XPbt0Sz7UDI/AAAAAAAAGeA/yVjgfKjWxsY1O42oVpLYgNvRRIc1J_XkgCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B25.jpg

There are a couple of things that you can do now in any order you choose.


Store Presence
Under Store Presence, you can fill in the title of your game and the description, upload screenshots and product images, include a link for your trailer, set your price, and answer a questionnaire to get the rating for your game. The questionnaire will ask you about the level and type of violence in your game as well as any other potentially offensive content. It will then create a rating and age recommendation to display with your game.

https://1.bp.blogspot.com/-rjD8Tdnq3h0/XPbuBW3NASI/AAAAAAAAGeI/MsU7byGKsS8AtOZ2TLnHTEeXAbX6zYggwCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B26.jpg

You can also write out a privacy policy. Here’s what I used for my game: https://www.christiangamesnow.net/p/blog-page.html

If you want to enable in-app purchasing, you’ll also do this under Store Presence. (See section below.)


Manage Console Users and Game Testers
If you want others to be able to help you manage or test the game, go to All Applications. Under Developer Account, you can fill in the details of your company (yourself if you don’t have a company) and set Users and permissions. This is completely customizable, and you can add or remove people at any time.

https://1.bp.blogspot.com/-EatymuesyEQ/XPbuPafkXqI/AAAAAAAAGeM/CnrYDrFfZsEHvHeKTK1qilCLbEXVHkBOgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B27.jpg

Under the Manage testers tab, you can add testers to your game to let them avoid paying for your game.

https://1.bp.blogspot.com/-Kb1dA5-WY_k/XPbubRiFLMI/AAAAAAAAGeU/rmJzrmUvRUwkYkZi1AvGFUBG1c02YBo4wCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B28.jpg


Releasing Your Game
After your APK is generated and everything else is configured in the Play Console, you’re ready to upload your game and release it either for testers or public consumption.

Go to Release Management > App Releases.

Choose one of the Tracks and click Manage. The Production track is for full public release. Click Create Release and upload your APK. Write your release notes and save it. Your release notes for your first release can simply be “Initial Release” or something similar.

https://1.bp.blogspot.com/-CkaW4TVkFGI/XPbupIcDZXI/AAAAAAAAGec/Tk6zjWP-CkU9Og8j_W9Cc4dgXmYk-1eYgCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B29.jpg

Click Review. Then, Rollout to publish your game.

https://1.bp.blogspot.com/-ztnxSDBK3vI/XPbu5GBKHNI/AAAAAAAAGek/biXbgmfgixMxN6u7JfRDCf4dmCj4adU7wCLcBGAs/s400/RPG%2BMaker%2BGame%2BAndroid%2B30.jpg


Releasing Updates
If you need to release an update, the process is very similar to creating and uploading your initial package.

Open your project and replace the contents in the assets folder with your new www deployment folder.

Expand the Gradle Scripts on the left and open build.gradle (Module: app).

Update the version code and version name and click Sync Now in the upper right corner of that window.

https://1.bp.blogspot.com/-Fnk10oJWtsU/XPbvGoSVhhI/AAAAAAAAGes/j8JIUc-UzJYzJfQp036cl2wVQQFba0JJwCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B31.jpg

In the Play Console, under App Releases, click to Create a New Release. Write a release note to explain what you changed and Rollout to publish the new version.


In-App Purchasing
To set up in-app purchasing, first, go to Store Presence > In-app products. To begin coding the purchase capability into your game, you’ll need to create a Product ID. On this page, you can also fill in the title, description, and price of your in-app product. You can create as many in-app products as you want.

https://1.bp.blogspot.com/-dyWFeyR5mwU/XPbvVOp5UyI/AAAAAAAAGe0/nUUqPDeSOss_wb97KRONnFycO3eH84vQQCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B32.jpg

You’ll then take that Product ID.

In the rpg_windows file, I added a new command to the title screen.

https://1.bp.blogspot.com/-OQb-r-UcTE8/XPbviuV60kI/AAAAAAAAGe8/09m4o-wVDNEruMWEYAjtwyieCKme2luzgCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B33.jpg

In rgp_scenes

https://1.bp.blogspot.com/-nyFSn7bT_E4/XPbvveDfIHI/AAAAAAAAGfE/L-N7IiW_FRQEeowt123tFkbZSOEqFxYBgCLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B34.jpg

https://1.bp.blogspot.com/-4TnwSAHSMws/XPbv76EiyeI/AAAAAAAAGfI/xciaY7tgQqobxwemysWPXQAP1Tx1xPkoACLcBGAs/s640/RPG%2BMaker%2BGame%2BAndroid%2B35.jpg


本贴来自国际rpgmaker官方论坛作者:Randor处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/how-to-publish-an-rpg-maker-game-on-android-google-play-store.109995/
页: [1]
查看完整版本: How to Publish an RPG Maker Game on Android (Google Play Store)