8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

cocos2d 描画領域に View を重ねる(3.0 rc1)

Posted at

cocos2d-x 3.0 の rc0 では、広告ADを表示するときなど、cocos2d で描画している領域に Android の View を重ねる場合は popupWindow を使う必要がありました。(以下参照)
cocos2d-x 3.0beta2(Android)で広告ADを導入してみる(NativeActivityでJava用パーツを使う)。AdStir編

ですが、cocos2d-x 3.0 の rc1 は、popupWindowを使わずとも addContentView で重ねることが可能になっています。

rc0 では org.cocos2dx.lib.Cocos2dxActivity が NativeActivity を extends していましたが、rc1 では 2系と同様、Activity を extends するように戻されたためです。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?