Stay flying as long as you can. When you round out of energy, you get a game over. You can get power from Power Boxes W = Up S = Down Space = Boost (boost can only be used every 10 seconds)
Part of making this game used Scratch's Make it Fly tutorial.