Create a Flash game like Deflection – part 3

Multipart tutorial: available parts 1, 2, 3

In this 3rd part we are going to create a complete game with exit and two levels.

Read parts 1 and 2 if you haven’t done it already.

I’ll also fix a bug reported by Questo:

I was playing around and if you right click while making a line it sotps the ball but the ball keeps moving when you put lines on it. it’s pretty cool.

It’s not a difficult task since the game engine is already working… I just created a makelevel function that handles level creation with a switch

And now you can play this two levels game… take the blue ball to the green circle.

Now you have all the basics to create your own Deflection game… so I expect to see something interesting on NewGrounds in a few hours.

Download the full source code and show me what you did.

Multipart tutorial: available parts 1, 2, 3