107 comments found.

Nice game! I wish to buy, can I use images instead of numbers? I hope it works on Android Studio!! Does your demo APK having only 4X4?

The game supports both images and numbers. You can make the grid 4×4 or any size you wish. Just change the size from strings.xml. I’m afraid this code was designed in Eclipse. However, it should be easily imported into Android Studio.

I want to implement undo feature, save state of current game. How to do that.

Thanks for your offer. However I requested “I want to implement”, by that I mean among whole code in which method / s do I need to look where the code of moving tiles is happening. In case I fail to implement by my own then I will surely ask you for help.

The main change which you need to undo is probably the swipe. This is handled in MainGame.java, line 466-547. So before the swipe is performed you might want to save the board.Cards then restore on undo.

Thanks for now, will let you know i have any other problem.

i don’t want to use ads. is it easy to disable or eliminate the ad features?

Ads are disabled by default. To enable them you just fill the Ad unit id in strings.xml

Android Studio support?

I’m afraid the template was designed for Eclipse. If you have some expiriance with Java it can still be imported to Android Studio.

Hi, I really like to buy this. But I don’t have eclips. And I don’t know anything about it. can I edit this (admob codes and other details) with android studio ?

This template was designed in eclipse. It could be imported in Android studio, however it takes some time to perform the import. I’m slowly converting all my templates to Android Studio. Probably this will be converted in the next month.

Hi, After import i am getting 4 errors find the screen short: https://prnt.sc/ifwvpy

error: Error: String types not allowed (at ‘configChanges’ with value ‘keyboard|keyboardHidden|orientation| screenLayout|uiMode|screenSize|smallestScreenSize’).

error: Error: String types not allowed (at ‘configChanges’ with value ‘orientation|keyboardHidden|screenSize’).

Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details.

kindly solve it

Do you have Android 4.4.2 installed and selected from the properties, as shown in tutorial?

Thank for reply, i solved it by 3.2 version and uploaded on play store.

i notice there are some bugs while play. it was in your original version also when we move tiles from right to left. some time from top first row and second row number should merge. but only first row merge (second row not merge with same number) same thing happen from row 3 and 4 from top.

i have edit share function to play store link via custom code, its working good. https://play.google.com/store/apps/details?id=com.weblydigital.twofourzeroeight

Request for feature update: add play store link via string.xml google play board features moving transaction smoothly merge.

Thank you once again

Your customisation looks awesome!

Regarding the issue you mentioned, the template is designed to only merge the first 2 number blocks. If there are others of the same number in the same line, they will not be merged. I’m not sure if it’s the same or different in the original 2048 game.

IS this a complete Game ?

yes it is :)

Ok, and last update is – 29 October 14 , isn’t it outdated ? do you not update the apps ?

I agree that this template is a bit outdated. I will be updating it to support the latest Android Studio soon.