0

我的 iOS Coco2D 游戏中有以下代码:

CCSprite *mysprite = [CCSprite spriteWithFile:@"mypng.png"];
// ...Some code here... //
[mysprite visit];

在 Coco2D Android 中,我写道:

CCSprite mysprite = CCSprite.sprite("mypng.png");
// ...Some code here... //
mysprite.visit(****GL10 PARAMETER EXPECTED HERE*****);

我应该在访问方法中写什么作为参数?

4

1 回答 1

0

尝试使用

mysprite.visit(CCDirector.gl)

虽然没有确认

于 2012-02-01T23:20:23.483 回答