4/12/10

New piece appearance

Without Chinese character support in Java environment, when you run this chess game on your PC, you probably will get a view as same as following figure. Since each piece consists of a Chinese character and a body shape, and both of them are 3D objects. Therefore, if your PC doesn't have Chinese character font, such as "HG明朝B", "HG正楷書体-PRO" or "HGゴシックM" etc, then the Chinese character of the piece will not be rendered.

Thus, to avoid above case, I decided to use texture image to wrap each piece. The next two figures show that pieces with Chinese character images and figuer images on the surfaces, respectively.


In order to switch these two kinds of piece appearance, I added a new "Design" menu item to "Game" menu. Players can change piece appearance whenever they want.


No comments:

Post a Comment