Coder Social home page Coder Social logo

ios-space-invaders-clone's Introduction

iOS Space Invaders Clone

A simple Space Invaders clone for iOS. Optimized for iPads and targeting iOS 8.1.

Controls and Gameplay

  • Game is landscape only
  • You are the red "ship" in the bottom of the screen. Your goal is to destroy all of the "Invaders" - the other blocks - before they deplete your health or reach your ship.
  • Score is shown in the upper right of the screen. Your score increases for each Invader destroyed. More points are granted for higher difficulty levels
  • Health is shown in the upper right of the screen. Each time you are hit by and Invader, your health drops by 10%
  • Difficulty can be changed from the main menu - the first screen you see when you start the game. The higher the difficulty, the less time you have until the Invaders reach you.
  • Your ship is controlled by the accelerometer on your device. Tilt your device left or right to move.When the device is level, you will stop moving.
  • Your ships fires whenever you tap the screen. It's as simple as that!

Building/Editing

Requires that Cocoapods be installed to build. If you do not have Cocoapods, use the command

sudo gem install cocoapods

in a terminal window.

After Cocoapods is installed, navigate to the ios-space-invaders-clone folder and use the command

pod install

in a terminal window to download all required dependencies and generate a workspace.

Open the SpaceInvaders.xcworkspace file with Xcode.

More information about Cocoapods can be found here

Acknowlegements

ios-space-invaders-clone's People

Contributors

eric-carlton avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.