阅读背景:

如何使用Pixmap Libgdx进行碰撞

来源:互联网 

I am making a game where a block that is black is falling down in a white background. My avatar, which is red is dodging the black blocks but if it hits the black block, the game is over. Can someone give me a hand in starting this? I just want the avatar to check if the pixel at the location of the block is black or white. Thanks.I am making a game where a block that is black




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: