Latest 1.3.1
Homepage https://github.com/jamesdouble/JDGamesLoading
License MIT
Platforms ios 8.0
Authors

(IOS)Let User Play Game When Loading


Introduction

First, thanks everyone for supporting my last game loading, JDBreaksLoading.

Now, I make more game. After this, I won’t make another repositry about gameloading.Now on, New game will be update in this reop.
So ~ Star & Watch this reop for more game!!

Still, don’t make user wait too long to play the game~

Thanks for using.

JDGamesLoading

Installation

  1. Cocoapod

    Now, You can use Cocoapod !

    pod 'JDGamesLoading'
  2. Fork my reop.

Usage

Now,It’s more easier to call the loading then JDBreakLoading.

Just One Line:

  JDGamesLoading(game: .Breaks).show()

For Dismiss:

  JDGamesLoading.dismiss()

GameTypes

  • .Snacks:

    JDGamesLoading

  • .PingPong:

    JDGamesLoading

  • .Breaks:

    JDGamesLoading

  • .Puzzle:
    JDGamesLoading

Game Configuration

Because there are more game now,
So I change the way to set the game configuration.

Call .withConfiguration(configuration:) Brfore .show()

let snackconfig = JDSnackGameConfiguration(snackcolor: UIColor.blue, foodcolor: UIColor.brown, snackspeed: 50)
JDGamesLoading(game: .Snacks).withConfiguration(configuration: snackconfig).show()
  • JDSnackGameConfiguration:
var Snack_color:UIColor = UIColor.green
var Food_color:UIColor = UIColor.white
var Snack_Speed:CGFloat = 10.0
  • JDBreaksGameConfiguration:
 var paddle_color:UIColor = UIColor.white
 var ball_color:UIColor = UIColor.white
 var block_color:UIColor = UIColor.white
 var RowCount:Int = 1
 var ColumnCount:Int = 3
  • JDPingPongConfiguration:
 var paddle_color:UIColor = UIColor.white
 var ball_color:UIColor = UIColor.white

Latest podspec

{
    "name": "JDGamesLoading",
    "version": "1.3.1",
    "summary": "Let User play little game when they are waiting",
    "description": "Let User play little game when they are waiting , Now Have Three Basic game.",
    "homepage": "https://github.com/jamesdouble/JDGamesLoading",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "JamesDouble": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jamesdouble/JDGamesLoading.git",
        "tag": "1.3.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JDGamesLoading/JDGamesLoading/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This