App Source Code for Sale
Fruit Ninja Game (Fruit Slayer)
Full Project Source Code of one of the best selling Game for iOS.
Your challenge is to cut as much fruit as you can while avoiding the dangerous poison bottles. If you slash multiple fruits in one move you’ll be awarded with extra points. Don’t let them fall… end their life right away! Some objects have extra powers:
- Lucky fruit (+10 points)
- Extra time (+10 seconds)
- Double points (everything gets doubled for 10 seconds)
- Realistic 3D models with amazing physics
- Incredible splatter effects
- Multiple game modes: Classic, Arcade and Zen
- Cool audio effects and ambiance
- Game Center leaderboards and achievements
- Customizable sword color
- Intelligent level generator (based on player’s skills)
- Multitouch and multitasking supported
FruitSlayer is written in Objective-C & OpenGL ES 1.0. No special frameworks were used, just plain Objective-c. Just unzip the container file and run in Simulator/Device. No special setup is needed. The game can run on iOS Simulator or Devices running iOS 4.0+.
The project folder contains:
"Objects" - 3D Studio Max Objects created for this game "Texture" - The PNG + PVRTC texture used for the 3D objects "Blender Scripts" - These scripts convert the 3D objects to .H files used by the game
If you want to replace in-game objects with your own objects:
1) Build new 3D files using Blender or 3D Studio Max 2) Import them in Blender (http://www.blender.org/download/get-blender/) 3) For each object export the left half, right half and full object to .h files using the python scripts objc_hfile.py or objc.py in the "Blender Scripts" folder. 4) Import the resulting .h files in your project, and implement logic for them
This game is ready to be published in the AppStore. Just setup GameCenter leader boards and achievements like in the screenshot files.
This folder contains all the Adobe Photoshop files used to create the game graphics: icon, splash, main menu, in-game and game-over.
This folder contains a few screenshots that might be used in iTunes Connect.
The menu screens are normal UIKIT view controllers. The game window is a 3D animated OpenGL View running at 60 FPS (GLView.h + GLViewController.h).
"GameClasses" - This is where the game logic sits
"OpengGL Classes" - OpenGL ES rendering code
"OpenAL Classes" - OpenAL audio code
"GameKit" - GameCenter code
"ShareKit" - Share to Facebook & Twitter code
TIP: To update the game logic just modify the "Game.h" and "Game.m" files.
Good luck! Robert Neagu - Developer