HTML and CSS Reference
In-Depth Information
Creating a customer queue
We have created a way to make sushi. Now it's ime to serve the customer. We create the
customer queue in this task.
Prepare for lift off
The customer graphics is generated from Adobe Flash. It contains two frames: normal and
angry. The following figure shows the two states of the customer:
The reason why we use a canvas for the customer view is because with it we can opionally
add animaion to both the frames. For example, an angry sprite can be an animated movie
clip that animates an angry bubble.
The customer asset is generated in the assets.js file from Flash and can be found in the
code bundle. The bundle also includes the source of the Flash document to easily modify
the graphics.
 
Search WWH ::




Custom Search