I think there are many techniques you could use to make a game like this. I still have to figure it out... have you checked the manual and some tutorials? That might give you some ideas on how to make it.
Also, is this thread a double of this one : ?