Discussion on Tilting Side Scrolling Game - Promote Any Business

73 comments found.

Hi can i place full screen ad with your app ? this code is included?

Hi, Sorry full screen interstitial ads aren’t included in app.

Hi,

I wanted to ask if there is any simple way to add animated enemy objects in the game. You are using bitmaps for images so i am not able to figure out how to create animation. Do u think i will need to use a game engine for it?

Hi, The app already includes a class (gif.java) that can animate images. The plane is already using it.
/**
     * 
     * @param res
     *            The resources object containing the image data
     * @param id
     *            The resource id of the image data
     * @param itemsx
     *            number ofcoloums
     * @param itemsy
     *            number of rows
     * @param length
     *            number of images in animation
     * @param speed
     *            speed of animation 1-100
     * @param distinct
     *            number of different sub animations - ie. different start image
     * @param scale
     *            scale factor of image
     */
    public gif(Resources res, int id, int itemsx, int itemsy, int length, int speed, int distinct, float scale);

check out how it’s being used for the myplane variable and try to do the same thing for the enemies

I tried it but i am not able to get it. Your list of obstacles is an array of Bitmaps. All the checks performed for collision etc are done on this array. How do i add a gif type in this array.

Yes, you’d have to convert everything. a better solution would be to just change the drawing algorithm.

you can initialise the gif in line 550 like I done with the myplane:
enemyimage[0]= new gif(getResources(), R.drawable.your_enemy_image1, 3, 1, 2, 2, 1, width * 0.15f);
enemyimage[1]= new gif(getResources(), R.drawable.your_enemy_image2, 3, 1, 2, 2, 1, width * 0.15f);
Then, in line 945:
//draw obstacles
for (int i = 0; i <= obstaclex.size() - 1; i++) {
    //canvas.drawBitmap(obstacle_img[obstacletype.get(i)], obstaclex.get(i) - (obstacle_img[obstacletype.get(i)].getWidth() / 2), obstacley.get(i) - (obstacle_img[obstacletype.get(i)].getHeight() / 2), null);
    enemyimage[obstacletype.get(i)].draw(canvas,  obstaclex.get(i) - (obstacle_img[obstacletype.get(i)].getWidth() / 2), obstacley.get(i) - (obstacle_img[obstacletype.get(i)].getHeight() / 2), 0);

}

hope this helps

if i buy could you help me put the full screen ads?

Hi, Sorry the package doesn’t include interstitial ads.

Hi,

I have trouble changing the old admob SDK, the new google play services

I show my changes:

OLD
import com.google.ads.AdRequest;
import com.google.ads.AdSize;
import com.google.ads.AdView;
NEW
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.AdView;
OLD
AdView ad = new AdView(this, AdSize.BANNER, "xxxxxxx_AdUnitId_xxxxxx");
NEW
AdView ad = new AdView(this);
        ad.setAdUnitId("xxxxxxx_AdUnitId_xxxxxx");
        ad.setAdSize(AdSize.BANNER);
OLD
AdRequest request = new AdRequest();
        request.addTestDevice("275D94C2B5B93B3C4014933E75F92565");///nexus7//////testing
        request.addTestDevice("91608B19766D984A3F929C31EC6AB947");  /////////////////testing//////////////////remove///////////
        request.addTestDevice("6316D285813B01C56412DAF4D3D80B40"); ///test htc sensesion xl
        request.addTestDevice("8C416F4CAF490509A1DA82E62168AE08");//asus transformer
        ad.loadAd(request);
NEW
AdRequest request = new AdRequest.Builder()

        .addTestDevice("275D94C2B5B93B3C4014933E75F92565")///nexus7//////testing
        .addTestDevice("91608B19766D984A3F929C31EC6AB947")/////////////////testing//////////////////remove///////////
        .addTestDevice("6316D285813B01C56412DAF4D3D80B40")///test htc sensesion xl
        .addTestDevice("8C416F4CAF490509A1DA82E62168AE08")//asus transformer
        .build();

that’s it, apart from putting admob ID and load the new library google play services.

The game does not give error but does not load the ad. Any help?

Thanks

I’ve also changed this

OLD

<activity
            android:name="com.google.ads.AdActivity" 
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" >
        </activity>

NEW

<meta-data android:name="com.google.android.gms.version" 
    android:value="@integer/google_play_services_version" />

                             <activity
            android:name="com.google.android.gms.ads.AdActivity" 
             android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" >
        </activity>

Already solved. Do not worry. Best regards

Sorry for the late reply. Glad you solved it.

hi 2 questions please: 1. does this game have admob in it?? 2. with what software you create it, eclipse?

Hi, This game has admob, but it still has the old admob sdk. I’ll be updating it in the following month. It was created in eclipse.

Hi,

Got your app with the birthday bundle ( which is ages ago). Now I’m planning to use it (with alphabets). Do you do customization?

Thanks

Hi, Sorry I can’t offer a customisation right now.

HI, plz update with google play services as soon as possible. Plz.

hi are you you plan to given any update?

yea sure. I’m currently planning to update the admob version to the new version when I find some time

Hi, Can this project be easily imported into Android Studio?

I have never tried to import it into Android studio myself, however it should work fine.

Good if added push notification… If needed I can add for you push notifications.. skype me salbiz@live.com

Hello the new image I added for the plane seems to be flashing constantly I replaced the image with a image of the same size can you give me a idea what this could be?

Thanks,

Strange. on which phone are you using the game? If you still have the problem you can send me the .apk file via email (melvin@neurondigital.com) and I’ll take a look at it.

any update ? since last update 15 June 13

I’m afraid that was the last update.

hi any idea if you given latest update?

Hi, I have no upcoming updates of this app, currently. If you purchase the app now, any future updates could be downloaded for free.

by
by
by
by
by
by