Username:     
Password:     
             

Projects
Breakout 1.2
 
Classic breakout using information from the MEMS accelerometer to move the paddle.

Code size:4 KB Author:Remy
Source files included:yes Version:1.2
Use circleOS:yes (1.5) Creation date:2007-07-09 12:06:01
Hardware modification:no Modification date:2010-12-14 15:04:07
Based on the STM32 Primer:All
   
Downloads:2318 Views:28484
   
Vote:
Average ratings:2.95/5 (1673 rates)

Download:    Breakout-1.2.zip (30 KB)

Description:


Breakout:

You have to prevent the ball from touching the bottom of the screen, thanks to the movable paddle which influences the horizontal ball speed and inverts the vertical ball speed. The ball bounces off the top and side walls and breaks the bricks. The number of points given by a broken brick depends on the number of hits succeeded before the ball touches the paddle.

There are 5 lives per level and vertical ball speed is increased after each of the 4 available levels.

Use the mems to move the paddle and enjoy!

 

Technical description:

- Each level is represented by 5 bytes (5 rows of bricks so one byte per  row where 1 bit represents 1 brick).

Revision 1.1 is an update to make Breakout compatible with CircleOS v1.5.

Revision 1.2 by Raisonance : Project source(s) were modified to ensure compatability with Primer2. The archive is updated with a Ride project adapted to Primer2.