dimanche 4 octobre 2015

Crazy Jump Swift 2 (Games)

Descripcion:

How to play? Tap for jump the players to avoid crashing Simple and addictive

Easy customization – no programming skills.

http://ift.tt/1M8Ncwh

Features

  • Devices: iPhone and iPad
  • iOS: 9.0
  • Developed on Xcode 7
  • Language: Swift 2
  • Game Framework: SpriteKit
  • Ads: iAd, adMob, Chartboost
  • Game Center
  • in-App Purchases

Easy Configurations

If you wish to modify some aspects of the game, you can change the variables and constants in Configurations.swift
//Game Configurations
    let heightJump:CGFloat = 0.35
    let durationJump:Double = 0.8
    let obstacleSpeed:CGFloat = 75
    let widthLine:CGFloat = 10
    let useBackgroundImage:Bool = false
    let colorBackground:UIColor = UIColor.blackColor()
    let durationGameOverAnimations:Double = 0.5
    let configSound:Bool = false
    let scorePosition_bottom:Bool = false
    let useScaleImage:Bool = true
    let playersPositions_RelativeCenter:CGFloat = UIScreen.mainScreen().bounds.size.width/2 * 0.90
    //Font
    let fontName:String = "Molot" //Info.plis -> Fonts provided by application
    let fontColor:UIColor = UIColor.whiteColor()
  • heightJump: height that players can jump.
  • durationJump: time in seconds it takes to do the whole jump.
  • obstacleSpeed: the speed at which the moving obstacles.
  • widthLine: width the lines(vertical and horizontal).
  • useBackgroundImage: the background of the game can to have an image or only color.
  • colorBackground: color of background.
  • durationGameOverAnimations: duration of the animation for game over, if you do not want animation you put 0.
  • configSound: to use button for mute game.
  • scorePosition_bottom: where position the score(true = bootom, false = top).
  • useScaleImage: to use size of your images(make sure to provide all versions of your images) or to use relative size.
  • playersPositions_RelativeCenter: the players how far from the center.
Change Sounds: If you sounds have others names change it here
//Sounds
    let soundJump = "jump.caf" 
    let soundGameOver = "gameOver.caf" 
    let soundClick = "tap.caf" 
Configure if you want use banner ads -> iAd / adMob and the position Top or Bottom. If you want use “Chartboost” and when show on screen game over.
//Ads
    // -  Banners
    let useBannerAds:Bool = true
    let use_iAds:Bool = false
    let use_adMob:Bool = true
    let bannerPosition_bottom:Bool = true
    let showBannerGameplay:Bool = false
    let adMobID:String = "ca-app-pub-5463627996411476/5864942547" 
    // - Chartboost
    let use_chartboost:Bool = true
    let showChartboostWhenGameOver:Int = 1
    let chartboostID:String = "5384b1f41873da015c88d17d" 
    let chartboostSignature:String = "2166c451c84b24317fefdc953919d123c2cbf489" 
For to use in-app Purchases -> usePurchaseNoAds=true and change your productID
//In-App Purchase
    let usePurchaseNoAds:Bool = false
    let purchaseID:String = "com.pixelbulls.crazyjumps.inapp.noads" 
For GameCenter -> change ID of your leaderboard
//GameCenter
    let leaderboardID:String = "com.pixelbulls.crazyjumps2.score" 
For Rate -> change the number of you Apple ID
//Rate App
    let appleID:String = "922546991" 

Custom Images

You can replace existing images by drag and dropping your new sprite onto the ‘Set Viewer’ in Assets.xcassets. Make sure to provide all versions of your image. It is also a good idea to keep the size of your new sprites the same size as the old, original sprites.

via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire