Put your identifiers in code:
1) game/proj.android/res/values/ids.xml
<string name="app_id">@REPLACE@ YOUR GOOGLE PLAY GAME SERVICES APP ID</string>
<string name="leaderboard_id">@REPLACE@ YOUR GOOGLE PLAY GAME SERVICES LEADERBOARD ID</string>
Read this: http://developers.google.com/games/services/android/quickstart
2) game/proj.android/src/com/ursinepaw/utils/AdMob.java
.addTestDevice("@REPLACE@ YOUR DEVICE ID")
mAdView.setAdUnitId("@REPLACE@ YOUR ADMOB AD UNIT ID");
To register your app in AdMob and receive your Unit Id, visit http://apps.admob.com
3) game/proj.ios_mac/ios/Info.plist
<string>com.test.test</string>
4) game/proj.ios_mac/ios/RootViewController.mm
mAdMobBannerView.adUnitID = @"@REPLACE@ YOUR ADMOB AD UNIT ID";
5) change package names, replace com.ursinepaw.impossiblefrog to your name
In Platform.cpp there are two constants, which describe how many pixels pattern have before repeat.
const int TRACK_PATTERN_WIDTH = 90;
const int PLATFORM_PATTERN_WIDTH = 44;
Change graphic
All resources can be found in game/Resources
Game:
arrow.png - arrow, which show direction of platform
cloud_0.png - cloud
cloud_1.png - cloud
cloud_2.png - cloud
forest.png - background sprite with forest
frog.png - HERO (normal state)
frog_die.png - HERO (died)
frog_jump.png - HERO (in air)
ground.png - ground
platform.png - platform texture
platform_edge.png - platform edge texture
platform_track.png
Fonts: (BMFont format)
digits.fnt - digits for score
digits.png
Interface:
btn_back.png - button for navigation to previous screen
btn_leaderboards.png - button to open leaderboard
btn_play.png - button to start game
btn_rate.png - button to open your game’s page in store
game_over.png - title for game over screen
results.png - background for results window
title.png - GAME LOGO
Sounds:
click.wav - played when user tapped on button
jump.wav - played when frog jumps
Compile code
Game written with use of cocos2d-x, so you need read this tutorials if don’t work with it before:
http://www.cocos2d-x.org/wiki/How_to_Build_an_Android_Project_with_Eclipse
http://www.cocos2d-x.org/wiki/How_to_run_cpp-tests_on_iOS