Skip navigation.

Jama快餐店开发日记(四)



客人动态颜色转换部分。
由于信不过随机生成的颜色,因此自己选择了一系列的粉系色调做成数组进行随机调用。
//B G R
const ColorTable: array[0..68]of byte =(
114,222,114,
126,157,126,
218,240,117,
116,128,58,
233,154,52,
199,155,98,
95,95,94,
200,95,84,
246,100,162,
84,55,74,
106,5,72,
156,98,235,
114,89,148,
125,233,108,
108,233,181,
71,78,75,
37,214,212,
139,237,236,
56,95,95,
82,186,252,
115,152,175,
98,127,237,
40,48,79);

从背景上看来,如果3个客人同时出现的话,就更显得背景有点“吉”了。pingping想想办法啦。

Jama快餐店开发日记(三)

Comments

kenpe_e 2. March 2007, 23:22

不是阿,挺热闹的阿!!哈哈!

kenpe_e 2. March 2007, 23:26

不过应该不会同时出现3个客人的阿,不然怎么来得及……

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30