O'Reilly logo

Learn to Program with Phrogram™!: A Guide to Learning Through Game Programming Using the Latest Version of Kids Programming Language by David Witus, Walt Morrison, Jon Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Section 3Moving Your UFO on the Screen

Using Sprites for Game Graphics 31Variables Let You Control Your Game Over Time 34Loops Tell Phrogram to Do Something Over and Over Again 35Delay 38Encountering and Fixing Errors 39Exercises: UFOs and Cars and Planes! 42

Now that your UFO is on the screen at a specific location that you know how to control through the coordinate system, it's time to make it move around the screen. Before we move the UFO, though, let's go over how you do a couple of fundamental things with Phrogram, such as creating an entirely new program. First, click on the leftmost icon on the toolbar, shown here with a red box around it. This is the Create a new program tool:

When you click that icon, a new "tab" is added in Phrogram, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required