Game Development Reference
In-Depth Information
Table 10-5. Hours Actor Attributes
Name
Hours
Size/Width
9
Size/Height
194
Click the Images tab to display the images that you just imported and drag and
drop the Chap10-hours.png into the actor.
Button
Create a new actor and double-click it to open the Actor Editor. Edit the actor
attributes with the parameters in Table 10-6.
Table 10-6. Button Actor Attributes
Name
Button
Size/Width
27
Size/Height
27
Click the Images tab to display the images that you just imported and drag and
drop Chap10-button.png to the actor.
Creating the Clock Mechanisms: Rules and Behaviors
Creating a real world mechanical clock could be a work of art. It is so small and
the movements need to be perfect, so it can take several months. Fortunately
for us, a virtual analog clock is much less complicated. The time information
isdirectly accessed from the device internal clock. The behaviors of your actors
will mostly ensure that the hands move correctly.
Clock
In order to perfectly position the clock on the screen, you will position it via
change attribute behavior.
 
Search WWH ::




Custom Search