Code Monkey home page Code Monkey logo

balls's Introduction

balls

This is an app that combines UIKit dynamics, colors, and sound effects for an engaging experience.

What It Looks Like:

Colorful Grayscale In Action

Gameplay:

To play, simply tap on the screen. When you tap on the screen, a ball will drop from wherever you tapped, unless you tap on a ball. We'll talk more about that in a moment.

As you create balls, they'll fall to the bottom of the screen. When two balls collide, the background will change colors to the average of color of the two balls.

If you tap on a ball, you'll simply pick up whatever ball you've tapped on. When you're finished dragging that ball around, release it to drop it to the bottom.

You can only have up to 10 balls on the screen at once, for performance reasons. If you spawn a ball when there ae already 10, one or more of the older balls will shatter.

Requirements:

iOS 7.0 + iPad

Balls requires iOS 7 to run because it makes use of new technologies included with UIKit Dynamics.

License:

Please don't redistribute or sell this in any form, modified or otherwise. All rights reserved.

balls's People

Contributors

mosheberman avatar

Watchers

 avatar  avatar  avatar

balls's Issues

Toggle Gravity

Turning on gravity should remove extra balls, so we only have a few to manipulate. Disabling gravity would remove the limitation.

Custom Ball Size

Allow users to choose the radius of the ball or let them choose to use a random one.

Accelerometer support.

It would be super cool if the accelerometer altered gravity in some way that was realistic.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.