Jumper - An Arcade Bouncing Game Game Template

Documentation version 2


Getting Started #back to top

This documentation will help you familiarise yourself with the 'Jumper' Android App. The aim of the player in the game is to tilt his device and keep jumping up as high as he could. The game features coins, powerups and bombs. Thanks for buying this template! Hope you have as much fun customising it as I did building it.

Setting up the Android App#back to top


Before You Start

  1. Make sure your have Android Studio 3.3.1 installed and in the Android SDK Manager make sure you have the following installed:

    • Build tools v28.0.3
    • Google USB Driver
    • Android API 28 SDK

  2. Try to place the project file as close to root (C:/) as possible as windows has a path character limit of 240chars. So, if you get the error:"Failed to crunch file...", reduce the path length.


Importing and running

  • Step 1 - Open up Android Studio and click 'open an existing Android Studio project'.


  • Step 2 - Drag and drop the 'Jumper' folder in the dialog to go quickly to the folder.

  • Step 3 - Make sure 'Jumper' is highlighted and click 'ok'.


  • Step 4 - Press the Play button to test the app on the emulator or connect your phone via usb to your computer to try it on your phone.


Changing Package name

This step must be done else you will have problems uploading to Google play and the Rate feature will not work.

  • Step 1 - Make sure the 'Compact Empty Middle Packages' option is deselected as shown below.


  • Step 2 - Rename the package id by right clicking on 'neurondigital' and selecting 'refactor' and 'rename' as shown below.


  • Step 3 - Click Rename package.


  • Step 4 - In the popup menu type in your company name. Then press 'refactor' and in the next popup window press 'Do Refactor'. Do the same for 'jumper'. The package name should be in this format: com.yourcompany.AppName


  • Step 5 - Open Jumper/build.gradle and put in the same package id as before instead of the 'com.neurondigital.jumper'. This is shown below.


Replace icon and Images

  1. The images can be found under jumper/res/drawable. To replace the images just copy/paste the image in the drawable folder to replace the other.

Replace Audio and Music

  1. The audio can be found under jumper/res/raw. To replace the audio just copy/paste the sound file in the raw folder to replace the other. These are the used placeholder audio in the demo:

    1. Falling - http://audiojungle.net/item/falling/5732400
    2. Game Over - http://audiojungle.net/item/comedic-game-over-sound/5951327
    3. Bounce and beep - http://audiojungle.net/item/cartoon-bounces/1848773
    4. Coin - http://audiojungle.net/item/collected-coin/5031219
    5. music - http://audiojungle.net/item/happy-game/409203

Add AdMob interstitial Ads (optional)

  • Create an interstitial Ad on AdMob and paste the AD unit Id and App Unit Id in the strings.xml file. The Ad displays when the user clicks a property in the home screen. Make sure to add this to start making money from your App. The display rate can be changed from strings.xml from the ad_shows_every_X_clicks parameter.


Add AdMob Banner Ads (optional)

  • Like the interstitial Ad, create a Banner Ad on AdMob and paste the AD unit Id and App unit Id in the strings.xml file. The Ad displays in the bottom of the screen. Ideally to not annoy the user, it's either the banner or the interstitial ad, so you may wish to leave one of the Ad IDs in strings.xml empty.


Translation

  • All translatable text is contained within the strings.xml file.


Modifing Bar Positions

  • Open MainGame.java in eclipse and go to line 103:

    Here you can modify the bar positions and add special items on any bar. To add a bar just add a line to the bar_positions[][] array :

    { , , ,  },

    Bar types: BAR_NORMAL, BAR_BREAKS, BAR_MOVE

    Special item types: NOTHING, COIN1, COIN5, COIN9, BOMB, TRAMPOLIN, ROCKET1, ROCKET2, BALLOON


Export your App as a .APK for Google Play

  • Go to Build| Generate Signed APK... and export the .APK file.

Support Desk #back to top

If you need any support,

  1. First check the FAQ questions of the item on codecanyon.
  2. If you don't find anything there check the item comments section.
  3. If you still don't find your answer it would be best to ask your question in the comments section for others to see.
  4. For private support, please send me a message via my Codecanyon page.

Support for my items includes:
  • * Responding to questions or problems regarding the item and its features
  • * Fixing bugs and reported issues
  • * Providing updates to ensure compatibility with new software versions
Item support does not include:
  • * Customization and installation services
  • * Support for third party software and plug-ins
Before seeking support, please...
  • * Make sure your question is a valid Theme Issue and not a customization request.
  • * Make sure you have read through the documentation and any related video guides before asking support on how to accomplish a task.
  • * Make sure to double check the template FAQs.
  • * If you have customized the template and now have an issue, back-track to make sure you didn't make a mistake. If you have made changes and can't find the issue, please provide us with your changelog.

Version History (Changelog) #back to top


						-----------------------------------------------------------------------------------------
						Version 1 - 02/07/2014
						-----------------------------------------------------------------------------------------

						- Initial Upload
                        
                        -----------------------------------------------------------------------------------------
						Version 2 - June 26, 2014
						-----------------------------------------------------------------------------------------

						- Bug Fixes
                        
                        -----------------------------------------------------------------------------------------
						Version 3 - Nov 18, 2014
						-----------------------------------------------------------------------------------------

						- The app has been updated to use the new Google Play Service library for the ads, instead of the old admob library.

						-----------------------------------------------------------------------------------------
						Version 4 - May 11th, 2017
						----------------------------------------------------------------------------------------

						- Updated from Eclipse to Android Studio
						- updated to use the latest Admob library version
                        
                        
                        -----------------------------------------------------------------------------------------
						Version 5 - Feb 28th, 2019
						----------------------------------------------------------------------------------------

                        - Updated Android target SDK version to v28.
                        - Migrated to AndroidX
                        - Updated all libraries
                        - Updated Admob library to v17 – Now includes Admob App Id
                        - New Online Documentation
                        - New Video Tutorial