-
Domino代码在Android平台上
资源介绍
This is a classic game of dominoes where you play against a computer player for the Android platform. Domino pieces and game state is working OK, but there are more than a few things missing.
First, it's not very pretty. It's in OpenGL, although the perspective is fixed and not very appealing.
I couldn't get culling to work properly. I probably specified normals for the polygons in a wrong way.
There's no lightning, but here's a snippet that should get you started.
final float lightAmb[]= { 0.5f