Game Development Reference
In-Depth Information
Figure 5-17. Heart drawing in Grapher
To draw this equation, I used Grapher with a Mac OS utility provided by default.
MacRumors.com hosts a very simple but efficient guide on the Mac Grapher
tool. In the Chapter5_Files folder, you will find the Grapher file for this equation.
Back to GameSalad: open the Carrots actor in the Actor Editor. Create two
actors attributes of type ''real'' by clicking the + sign at the bottom left of the
Actor Attribute window, as shown in Figure 5-18. Name them ''InitX'' and ''InitY.''
You will use these two attributes to store the initial location of each
implementation of the Carrots actor.
 
Search WWH ::




Custom Search