You can easily start up a little breaking game by one line.
Switch branches/tags
Nothing to show
Clone or download
Latest commit d696358 Oct 11, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JDBreaksLoading.xcodeproj Add Image Dec 16, 2016
JDBreaksLoading Change File Dir Oct 11, 2017
JDBreaksLoadingTests Initial Commit Dec 14, 2016
JDBreaksLoadingUITests Initial Commit Dec 14, 2016
Readme_img Add Image Dec 16, 2016
.JDBreaksLoading.podspec.swp Change File Dir Oct 11, 2017
JDBreaksLoading.podspec Update Readme Oct 11, 2017
LICENSE Create LICENSE Jan 18, 2017
README.md Update README.md Oct 11, 2017

README.md

JDBreaksLoading

Alt text Alt text Alt text Alt text


Introduction

JDBreaksLoading Based on simple UIView and SpriteKit.

You can easily start up a little breaking game by one line.

By the way, don't make user wait too long to play the game~

Thanks for using.

Alt text

Usage

To add JDBreaksLoading to your view, just give it a frame and addSubview.

  let jdbreaksLoading:JDBreaksLoading = JDBreaksLoading(frame: frame)
  self.view.addSubview(jdbreaksLoading)

Installation

CocoaPods

 platform :ios, '8.0'
 use_frameworks!
 pod 'JDBreaksLoading'

Game Configuration

The default [ Ball, Block , Paddle -> All white, Block count: 3 ]

If you want to chagnge some game setting (color, block...etc).

You will need to set 'JDBreaksGameConfiguration'

  let config:JDBreaksGameConfiguration = JDBreaksGameConfiguration(paddle_color: UIColor.white, ball_color:  UIColor.white, block_color:  UIColor.white, blocks_count: 3)
  let jd:JDBreaksLoading = JDBreaksLoading(frame: frame, configuration: config)
  self.view.addSubview(jd)

Meta

JamesDouble – jameskuo12345@google.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/jamesdouble/JDBreaksLoading