O'Reilly logo

Collaborative Online Game Creation by Naveena Aswadhati, Nanu Swamy

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

Creating the manager Object

Open the Script Editor by clicking the Script Editor button located on the Objects tab. There should be two object listed in the Game Objects window on your right. Click on the manager object to start working with it. Begin creating the seven world variables by clicking on the New Var button in the World Vars panel on your right. The details of each of these variables are listed in Table 11.2. The variables managerxpos and managerypos keep track of the manager object’s X and Y coordinates. The rows and columns variables define the number of rows and columns to break the puzzle picture into. picturewidth and pictureheight define the puzzle picture’s actual width and height in pixels. The initialized world variables ...

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