登录 注册
当前位置:主页 > 资源下载 > 10 > Domino代码在Android平台上

Domino代码在Android平台上

  • 更新:2024-10-06 18:39:26
  • 大小:52KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:其它 - 开发技术
  • 格式:ZIP

资源介绍

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