Coder Social home page Coder Social logo

brickbreaker's Introduction

Graphics Assignment 1

Brick Breaker 2D game in OpenGL 3. More details in the statement pdf

Has zoom/pan using a 2D Camera, a laser reflecting from mirrors and baskets collecting falling squares.

demo

Megh Parikh - 201501184

Controls

  • CTRL + LEFT - Move red basket left
  • CTRL + RIGHT - Move red basket right
  • ALT + LEFT - Move green basket left
  • ALT + RIGHT - Move green basket right
  • Mousewheel - Zoom
  • Arrow keys / Mouse drag - Pan (when zoomed)
  • N/M - Decrease/Increase game speed
  • A/D - Rotate cannon up/down
  • E - Toggle between mouse cursor follow mode for cannon rotation or keyboard input
  • S/F - Move cannon up/down
  • Space - Shoot Laser
  • P - Pause/Play

Extra features

  • Nice cool background made of hexagons
  • Background music
  • Moving mirror
  • 3 Lifes
  • Laser is a beam
  • Cannon can point towards mouse cursor
  • Score and Life counter
  • Zooming/panning using both mouse and keyboard
  • Modular codebase

Scoring

  • Shooting a black brick = +2
  • Shooting a red/green brick = -1
  • Collecting the correct brick in a basket (red in red/green in green) = +2
  • Collecting incorrect brick in basket = -1
  • Collecting black brick in basket = -1 life and -1 point

License

The MIT License https://meghprkh.mit-license.org/

Copyright © 2017 Megh Parikh [email protected]

Music Credits: Eric Matyas (http://www.soundimage.org)

brickbreaker's People

Contributors

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