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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdmdrDre4TJzLeIl1TRaakfiv80lGyfb07BgpDlY9StXsmZQ3ZdhSiWv7dzaTn6F4k9Qrpl1frTb3Qpx8EeFo6IMf9WKv2xauiPr_0lgQfOkJ_KosPpXkF2dn_X7Ck1YudgtZX2DfhlHiu/s320/chess7_1.jpg)
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