Git Product home page Git Product logo

brick-breaker-graphicsprogramming's Introduction

GraphicsProjectSubmission

##Brick Break Game

Instructions:

  • I have mostly tested this game on the browser Google Chrome and would recommend you do too
  • The aim of the game is to deflect the ball off the paddle and to break all the bricks at the top of the canvas

The Work

  1. http://www.w3schools.com/js/js_function_invocation.asp
  2. http://www.html5rocks.com/en/tutorials/canvas/notearsgame/
  3. http://answers.unity3d.com/questions/338888/score-count-increase-on-hit.html
  4. http://www.sitepoint.com/basic-animation-with-canvas-and-javascript/
  5. https://www.khanacademy.org/computer-programming/paddle-ball/830543654
  6. http://billmill.org/static/canvastutorial/paddle.html

Bugs

  • I was going to add in lives, so that you would have X amount of lives before the game ended but i decided not to as when you lose a life the ball spawns from a point i've set on the canvas but it randomly shoots it in different directions each time.So if the paddle was on the right side of the screen and the spawned ball shoots the ball left, you won't have enought time to move the paddle to the left side to get the ball, which results in a life being wasted. I could not figure out how to fix the direction in which the ball was being shot out so i decided to leave it out completely.

  • The second bug which i also could not figure out how to solve is when the ball hits the side of the paddle, it glitches (vibrates) while moving through the paddle and then bounces up at the bricks as if it hit it normally.

Synopsis

  • Honestly when i first started doing this module i didn't like it as i always got lost in the class and couldn't get the programs to work, and that got me worried about doing the project as i kept thinking i wouldn't be able to do it.

  • Throughout the project i was finding it frustrating at times but my friends and I worked together and as we went along we started to get the hang of things and that's when i started to enjoy doing the work, when i developed an understanding of the language.

brick-breaker-graphicsprogramming's People

Contributors

lynskey08 avatar

Watchers

James Cloos 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.