Game Development Reference
In-Depth Information
Table 10-1. Project Info for Yet Another Clock
Title
Yet Another Clock
Platform
iPhone Portrait
Resolution
Independence
Unchecked
Description
This project is to demonstrate that you can build non-game apps
Instruction
None
Tags
time, clock, analog
Name and save your file as YAC.gameproj .
Creating the Background and the Clock Hands
To design your clock, you need to create the following actors:
Clock: This is the frame for the clock.
Hours: This is the hour arrow.
Minutes: This is the minute arrow.
Seconds: This is the second arrow.
Button: This is a graphic trick to hide the origin of the arrows.
Before creating the actors, import the images that you will be using for those
actors.Open the Scene Editor and select the Images tab. Click the + sign and
import the following files: chap10-button.png , chap10-clock.png , chap10-
hours.png , chap10-minutes.png , and chap10-seconds.png . These pictures files
are located in the chapter 10 file folder. Your Image tab should match
Figure 10-3.
 
Search WWH ::




Custom Search