The project was build with XCode (Version 6.0.1) for iOS SDK 6 or later.
Newer versions of XCode should build this project without problems.
Compile warnings can safely be ignored, most of these warnings are coming from the external libraries that we we are using in this source code.
This source code kit allows you to create universal apps for both iPhone and iPad. In addition to the specific customizations below, you’ll also need to change the following:
Application Bundle Identifier (Bundle ID)
App Icons and Splash Screens.
The above is standard for all iOS apps and won’t be detailed here.
GAME ENGINE FILES: (Levels, Global Data, Sound, Timer, Physics, etc)
All files for game engine are situated in “core” folder. Here the main classes for building levels (Global data, support classes for sound, timer, physics).
EXTERNAL LIBRARIES: (Ads, Parsing, JSON, etc)
All externals libraries are situated in “external” folder. In this folder we place libraries for Ads, parsing JSON, Cosos2d, box2d and etc.
Every scene is in separate folder:
Menu Scene & IAP:
This contains all the classes for the game menu. It is located at the start of the game. This is also the location of the classes for the inapppurchases (Only UI)
Here we placed all classes for building gamescene and process user’s input.
End level scene:
This scene is where user can see result of level. This scene appears after hero drops below the screen or dies.
Fish boss scene:
This scene is for the main boss in game. Other small enemies are situated in game scene.
Kingdom of Coins scene:
It is scene where user converts coins to diamonds. This scene appears after player loses level.
All resources in “Resources” folder
Art should be packed in atlases. Sources of atlases in “Zwoptex” folder. We use 2 packages for art it is “sd” and “hd”.
You find there *.zwd files which may by opened by zwoptex (https:// www.zwopple.com/zwoptex/). The name of atlasses should be preserved.
The arts are visible in xcode on path “viking/Resources/art”
The main constants of game you can find in DBConstantsApp.h file, DBConstants.h The constants which are responsible for pilar behaviour are in Customization.h file.