View RSS Feed

sunde887

  1. Breakout Tutorial

    by , 10-21-2011 at 01:32 AM
    The first step in designing something is to think it through. What pieces should it have and how should they work together? What methods, and instance variables should a class have? Letís start by naming the classes we will need for brick breaker (or breakout/whatever you want to name it).

    We will need a paddle which the player controls, a ball which moves around the screen, and the bricks which are meant to be broken. There will also be a canvas class which everything is drawn upon. ...
    Tags: sports Add / Edit Tags
    Categories
    Uncategorized