Android Game Source Codes

Well although I dont use them, I feel its helpful that I share the details about the few of the source codes for the well known puzzle games for available online, and kudos to the creators that they have made it publicly available Android Game Source Codes for the use of community, with the help of github.

1. Match 3 Source Code For Android

A developer from China, who blogs at http://blog.csdn.net/elong_2009 has made available the OpenGL version of the Match-3 game source code at github.

Game Name :  CrazyLink

GitHub Address : https://github.com/3125788/CrazyLink

crazylink

2. Crazy Cream Source Code For Android

Game Name :  CrazyCream

GitHub Address : https://github.com/titman/CrazyCream

1F4130E0F88F04FD6E71704B0135F62B

3. 2048 Source Code For Android

Game Name :  2048

GitHub Address : https://github.com/Nemisis/2048

4. Flappy birdSource Code For Android

Game Name :  Flappy bird 

GitHub Address : https://github.com/andreiverdes/flappybird

5. VectorPinball  Source Code For Android

Game Name :  Vector Pinball

GitHub Address : https://github.com/dozingcat/Vector-Pinball

6. Blokish  Source Code For Android

Game Name :  Blokish

GitHub Address : https://github.com/scoutant/blokish

How to Promote Android App

This post is the replica of the one from http://www.technewscentral.co.uk/how-to-promote-android-app/ , and I have replicated it here, because I tend to forget things, or keep tab of things soon.My thanks and apologies to the site owner.

The higher the number of installs/downloads for your app, the higher the position it will have in the google play store. So as the step 0, call all your friends and relatives with android phones, and ask them to download your app and leave a good review over there. No one wants to download an app with no reviews on it. So doing this will be a good start for your app. Ask them to +1 in google plus from market too.

  • Then start by submitting the android app to different app stores and app Android app directories. I will list a few of them here:
    • https://play.google.com
    • http://www.appbrain.com/info/developers
    • https://developer.getjar.com/
    • http://publisher.appsurfer.com/
    • https://developer.amazon.com/welcome.html
  • Another idea is to submit your app to all the review services out there. This will get you a number of downloads for your app which is good. This will give you ideas to improve your app which is better. Here is a list of app review services. This list is scraped from internet and I haven’t tried all of them. So some of the might not be working.
    • http://www.bestfreeandroidapps.com/submit-android-app/
    • http://www.mobileappsgallery.com/submit-android-app/
    • http://latestandroidapps.net/submit-android-app/
    • http://www.androidtapp.com/get-reviewed/
    • https://developer.amazon.com/welcome.html
    • http://www.androidappsreview.com/submit-your-android-app/
    • http://www.openhandsetdevelopers.com/submit-android-application.html
    • http://www.bestandroidappsreview.com/recommend-an-app/
    • http://www.androidappsgallery.com/submit/
    • http://www.androidappdictions.com/submit-an-app
    • http://www.lifeofandroid.com/submit-an-app/
    • http://www.androidrundown.com/about/submit-app-hardware-review/
    • http://apps400.com/submit-your-application-for-review
    • http://www.androidvideoreview.net/submit-app/
    • http://appstouse.com/submit-app-for-review
    • http://www.100bestandroidapps.com/submit-android-app
    • http://www.askyourandroid.com/request-for-review/
    • http://dailyappshow.com/submit-an-app-for-review
    • http://www.appbrain.com/
    • http://www.androlib.com/
    • http://www.androidapps.com/
    • http://androidzoom.com/
    • http://www.submitinme.com/directory-submission/apps-directory-submission.aspx#android
    • http://www.androidappreviewsource.com/
    • http://android.appstorm.net/category/reviews/
    • http://androinica.com/contact-us
    • http://androidki.com/
    • http:// vividroid.com
  • A List of Sites Which Accept Android App Submissions: http://bit.ly/10muZrl (Thanks to Claude for sharing this)!
  • Like websites, you can advertise you android apps also. So if you have funds, that means you have got lots of options for promotion. Like Advertising, Pay per install services, Pay per impression on good app stores like Appbrain etc. I am not going into those, as a good google search will give you lots of options. This link will help you in that:http://www.mobyaffiliates.com/blog/how-to-promote-your-ios-and-android-mobile-apps/
  • Be sure to have a gorgeous icon and promo graphics for your app as it will attract lots of downloads from google play store.
  • Create a video promo for your app and post it on youtube, metacafe, facebook, google plus etc.
  • Be sure to use the social media to promote your app.
    • http://www.reddit.com/r/Android/
    • http://www.stumbleupon.com/
    • http://digg.com/
    • http://www.twitter.com/
  • Use guest blogging to promote your app in several blogs.
  • Create a post dedicated to the launch of your app in several android forums. A few of the top forums I have given below.
    • androidforums.com/
    • forums.androidcentral.com/
    • forum.xda-developers.com/
    • www.everythingandroid.org/forum/
    • androidforum.com/
    • androidcommunity.com/forums/index.php
    • www.androidmodz.com/
    • www.talkandroid.com/android-forums/
    • www.androidpit.com
    • www.android.net/
    • www.theverge.com/forums/android-army
  • Put it in websites like piratebay, isohunt, mediafire, 4shared etc. People do search for android apps in these websites.

Thanks for Reading. I hope you now know several tips for promoting your android apps and games. and found this article helpful. If you have any more ideas, please share those here under comments section. If you don’t mind share your android apps in the comment section as well.

How to create a complete Don’t Tap the Black Tile game with Phaser

Few days back I redesigned the 2048 Game created using Phaser to show that we can modify it to cater to any format, any design or any sprite to be displayed.

Now I have come back with something new.Well There is a number one trending Game on Itunes . that is ‘ Dont Tap the Black’ game , which is driving installs like crazy.

So using Phaser, how to develop it?? I managed to utilize few minutes of my available time to code it in hurry, just to mock the flow of the tiles in the game.

Note that this only creates a flowing tilemap,where in randomly the alpha of the tile keeps on changing during the top down parallax flow.
Just need to add the tap gesture on this tiles to capture the scores.

stb

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Game.Play = function (game) {};

Game.Play.prototype = {

    create: function () {

        this.tiles = game.add.group();
        for (var i = 0; i < 4; i++) {

            for (var j= 0; j <4; j++) {
                 tile  = this.tiles.getFirstExists(false);
                 tile = this.game.add.sprite(i*80, j*120, 'tile');
                 tile.width=79;tile.height=119;
                 tile.body.velocity.y= 320;

                 this.tiles.add(tile);
                }
        }
         
       
    },
 
    update: function() {
    this.tiles.forEachAlive(function(tile){

                var x = Math.floor(Math.random() * (11))  ;
               
                 if(tile.y>480 && tile.y<520)
                    {
                            tile.y = 0;  

                             tile.alpha=1;
                                if(x*80 <= tile.x) tile.alpha=0;

                    }
                 

    });
       

    }

}

Any Body Can Develop Mobile Games With My Book

The current Market for HTML5 based games is so young that the success of developing games for HTML5 can be seen sooner or later, but faster than the other platforms such as Android , IOS or WP.
Once you develop your game you can publish it to Mobile markets using the mediation toolkits such as Cocos2d ,CocoonJS, Gameclosure , GameMaker etc.
Also you can publish it online to various HTML5 gaming markets.
The prospects for a Game developer are so huge these days that either has lot of oppurtunities open your way rather than you searching on your own with the specific skillset.
The creativity and simplicity plays an important role in case of HTML5 game development.
I have been working on a Multiplatform game , thats when it ticked me to write a Book that emphasizes on fast game development using a Javascript Framework and publishing it to the Mobile market .
The easiness of the game development using the tools I used are such that, the game can be prototyped within an hour and the complete game can be completed and released in just 2 days.

I have completed the Book and have got it Published too.

If anybody is interested in Mobile/HTML5 game development, then they can check out my Book and become a mobile game developer and release their first game within Just 2 days.

It takes months together for big budget games to produce a eye catching game that takes the market by fire. The only thing they do is marketing, and believe me for each installed app, they spend $4 to get that app/game reach your mobile, and for each of the installed games make them nowhere less than $22 to $40.

They spend millions on promoting their games, otherwise those games are still nowhere near the common developers games, only the graphics and marketing are the two important features that what make them stay put.

The current trend of mobile games has gone nostalgic, If you catch my drift and there is lot to be seen in this market now.

I have taken privilege to implement a game to start with a simple Infinite runner game where a character runs, jumps, collects coins with features like scores, leaderboards, ad networks etc in that.

The book comes with the complete game source code for the one developed in the Book.

The game I developed for this book is on google play market Just serach for “TINYRUN” (no spaces).

 

For My blog subscribers I have a  special Subscription Discount of 50% on my book.

But for the visitors too can take advantage of 25% discount on my blog here.

Cocos2d-JS Mobile Game Development on Steroids: Learn How to Develop a Multiplatform Game in 2 days

Cocos2d-JS My First Book Published Online

I have been working on this book since  last 72 hours continuously and after 4 hours of scrutiny on document formatting, I was able to publish it online.

I managed to publish over to three markets

1. Kindle :   In Live Publishing Mode <– Get it At  http://www.amazon.in/gp/product/B00JNT0JE6?*Version*=1&*entries*=0

2. CreateSpace : Still Under Review

3. Smashwords : Already Available.

My Book can be purchased at Smashwords, and I double support those who want to buy on Smashwords, I will be soon removing from Amazon and Createspace due to their worst royalty features.

Anybody who wants to buy my book, and want a 50% discount can signup to my newsletter to get the Discount Coupon for Smashwords.

Click on the below Image to goto the site and purchase now. Also dont forget to signup for the complete source code accompanying the book.

2014-04-13 22_42_25-Smashwords – Cocos2d-JS Mobile Game Development on Steroids —a book by Shreedhar

The game accompanying this book has been published on Google Play, and is available in two flavours.

1. With Integrated Ads – To give a demo of Integration features

TinyRun - Free - screenshot thumbnailTinyRun - Free - screenshot thumbnailTinyRun - Free - screenshot thumbnail

2. Paid – To give a clean experience to the players.

Tiny Run - screenshot thumbnailTiny Run - screenshot thumbnailTiny Run - screenshot thumbnail

A Quick Update on My Ebook

I have been working hours together to implement the features I have planned alongside with documenting the same into my ebook whole day  yesterday, and woke up early as 5:30 AM to finish the book.

Its really wonderful when something keeps on waking you up from sleep to work on. I made it fast so that the book is complete with uptodate and simple methods to implement the functionalities in the game with all the features I have planned to implement in my game.

Now here is the TOC of the ebook I have written, which needs some review/scrutiny before I publish it.

2014-04-13 09_46_02-Cocos2d-JS Mobile Game Development on Steroids.docx - Microsoft Word2014-04-13 09_46_58-Cocos2d-JS Mobile Game Development on Steroids.docx - Microsoft Word

 

 

 

 

 

 

 

 

 

A Book and a New Game Hand in Hand

I have started writing a book ” Cocos2d-JS Mobile Game Development on Steroids” along with lot of features I have planned to implement with my new game.

To Speak about the book,its all about how fast you can develop game as fast as 2 days to completely develop the game end to end in Cocos2d-JS/HTML5 and release it to the android market. I will be listing out step by step instructions on,

1. What tools and softwares are required

2. What needs to be configured

3. Where to get the graphics and backgrounds

4. How to create a prototype in just 1 hour.

5. How to setup the environment

6. And more steps that leads to the creation of game

7. Adding Social share features

8. Adding leaderboard and score features

9. Adding Admob ,chartboost or any other Interstitial or banner ads

10. Adding rewards features

11. Adding In app purchase features

 

The sample game will be my own new game that I have started developing and will feature all these features.

Cocos2d-JS is an open-source 2d game framework, released under MIT License. It includes Cocos2d-html5 and Cocos2d-x JavaScript Bindings, making Cocos2d cross platforms between browsers and native application. On top of the framework provided by Cocos2d-JS, games can be written in Javascript, using API that is COMPLETELY COMPATIBLE between Cocos2d-html5 and Cocos2d-x JavaScript Bindings. Cocos2d-html5 project can be easily run on browsers which supports HTML5. It also supports running game code as native application in Cocos2d-x JavaScript Bindings without or with little modification.

To Give a peek of what the Game Looks like ,

TinyRunNewGame

 

Appreneur News : Android News Aggregator

I have been following lots of appreneur blogs and was not finding enough time to go through them all at once while I was in work or when I am at home. SO just rigged up a simple aggregator app for all the blogs I follow into one single app.

Appreneur News  : 

 

Appreneur News - screenshot thumbnailAppreneur News - screenshot thumbnailAppreneur News - screenshot thumbnail

Description
To be an Appreneur one must be aware of all the updates, ideas,resources available for the drive. Appreneur News aggregates all the available resources for you and provides you 24 x 7 updates on all the happenings and ideas and resources available around the world, written and provided by the top appreneurs around the world.

There are five steps you need to take in order to become a successful Appreneur.

Research – One of the most fundamental steps in setting up any business is the research, after all, if there is no demand for what you are offering then you are simply wasting your time. Make sure there is a demand for the subject that you are creating your app around and make sure that you are able to build a complete app empire around this theme.

Build an app empire – Creating one app will not make you a millionaire, even app success stories like Angry Birds haven’t made it this far by having just one app. Most Appreneurs have a minimum of 7 apps and many have in the extreme of 50 apps on the app market. Your app empire will in turn grow the audience level of your other apps and therefore will be earning your more money.

Marketing – How will anyone know that your app exists if you do not market your app? This does not mean you need to go and take out newspaper ads worldwide or create a TV campaign, most apps work through the word of mouth marketing strategy, mainly with links through social media sites. It is vital to have your brand on social and to be active in this sphere to help network your app empire around the world.

Monetize – No money will be made if you haven’t monetized your apps. For the most simple, sit back and enjoy monetization all you need to do is sign up for an affiliate campaign. Once you are signed up, there is nothing more you can do except wait for your users to use your apps and click through to the ads. There other more profitable ways to earn money from an app, if you are willing to input your time.

Updating – No matter how successful your app is, you need to keep it fresh and updated. By updating your app, app users will be sent a notification from the app store, enticing them to interact with the app. Updating apps also brings confidence to your users that the app is an ongoing project and is cared for and nurtured by you.

 

New Game Ideas Around Flappy Bird

Holy Crap that there are already 400-600 Odd Game rip off of the original Flappy bird game, but dont know why I didnt happen to do the same rip of my own.However I often get ideas around the existing games like Flappy Bird, angry birds, papa pear, candy crush while I am travelling, or while sleeping of when I’m in Loo.

Take it granted that my ideas wont make it to the top nor its not the idea that nobody has thought about, but still idea is what that should keep flowing in a developers mind to keep his spirits up.
Well lots of talk, thats enough, here is the idea.

1. Fry the Flapping Bird

In this case, the birds fly at a high speed from left, and at the other end there is a face with a wide mouth. There are only two pipes, here, one from bottom that spits fire, and the other from top that spits out salt and pepper.
The player taps to fire, and put salt to the flappy bird, and taps again to open the mouth.
If the bird is black (its a crow) and the player should not fry or eat the bird.

2. Kill the Flapping Bird

In this case , the birds fly at a high speed from left and player must tap to fire an arrow or a rifle from bottom to kill them. Nearly same as Fishing daren game.

 

How to create a complete HTML5 2048 game with Phaser

Note : This Post is the just an extension for the article from the blog I follow, emanueleferonato. But there is a catch which I have added that is important.

 

In the blog, he says, “It’s very easy to create tweens and animations, so here what you are about to create:” Blah Blah Blah.

Instead of teaching the game development using Phaser, Emanuel has provided the full source code to create the 2048 Game on his blog.

I was actually looking for the game mechanics details since I thought I too can develop html5 games using Phaser. I was a bit dissappointed but was happy to get the complete source code there.

I didnt look in the android/ios market whether there are any 5/10 number games as the 3/2 number games, and ended up modifying the source code to run with 5,10,20,40,80 instead, but still I was not satisfied.

I really wanted to get away from the common theme of number addition in the game mechanics and just thought about how about If I put the game to use alphabets instead.

Say A + A = B,  and the next series B+B=C and son on

 

So I took the code and modifed it a bit with the content here down, to make it work with alphabets.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Just above the colours array , add
                var abs= {
                    5:'A',
                    10:'B',
                    20:'C',
                    40:'D',
                    80:'E',
                    160:'F',
                    320:'G',
                    640:'H',
                    1280:'I',
                    2560:'J',
                    5120:'K',
                    10240:'L',
                    20480:'M',
                    40960:'N',
                    81920:'O'
                };
                           var colors = {
                    5:0xFFFFFF,
                    10:0xFFEEEE,
                    20:0xFFDDDD,
                    40:0xFFCCCC,
                    80:0xFFBBBB,
                    160:0xFFAAAA,
                    320:0xFF9999,
                    640:0xFF8888,
                    1280:0xFF7777,
                    2560:0xFF6666,
                    5120:0xFF5555,
                    10240:0xFF4444,
                    20480:0xFF3333,
                    40960:0xFF2222,
                    81920:0xFF1111
                };

And then we can refer to the Alphabets from the array abs, with the given number values before setting them to the grid.

That part is done in the below lines as in code

1
2
3
4
5
6
7
8
.....
var randomValue = Math.floor(Math.random()*10);
......
fieldArray[randomValue]=5;
.......

// showing the value
 item.getChildAt(0).text=abs[value];

Now If We run the game it would work with alphabets instead of Numbers.