Ok here's how I'd begin, just a layout of what you need to accomplish:
- Using a for/next loop create and position a given amount of blocks properly near the top of the screen.
- Use 5 for/next loops to create the boxes. Each loop will create 10 objects and color them properly. Eg:
Loop 1 will create boxes 10 to 20 and color them red
Loop 2 will create boxes 21 to 31 and color them blue
Loop 3 will create boxes 32 to 42 and color them green
Loop 4 will create boxes 43 to 53 and color them yellow
Loop 5 will create boxes 54 to 64 and color them purple
Then, use the PONG bouncing code you currently have to calculate bouncing with the paddle and with each box.
When a collision is detected, if the object collided with's number is anywhere from 10 to 64 then delete the object and increase score by x amount of points.
The reason I said to use seperate for/next loops is because then you can change the scoring and amount of hits needed for each color. Eg:
If the ball collides with a block object and the block is blue then just delete the blue object and give the user 10 points. BUT if the ball collides with a block object and the block object is yellow then increase the user's score by 30 and delete the object.
Finally, do a check to see if all of the block object's are deleted, if so, go to the next map.
If you get far enough into it you could create a map editor yourself and distribute it to others to make their own block sets.
Goodluck!
Current Projects: SHADE - Game Maker | Mecho - TGC Puzzle Entry | Halo Physics Engine | COLD - Polygonal Collision Detection