Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jamesdouble/JDGamesLoading

Open more actions menu

Repository files navigation

JDGamesLoading

(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.

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:

  • .PingPong:

  • .Breaks:

  • .Puzzle:

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

About

(IOS)Let User Play Game When Loading

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.