0
0

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.

#1 Cocos2d-xの画面設定的なやつ

Last updated at Posted at 2016-03-07

// 学校の先生に教えてもらったCocos2d-xの実機での画面サイズ変更等(※メモ)

// #1 縦向きに表示するゲームを実機でテストしたら横向きで表示される。

A. proj.android\AndroidManifest 内のscreenOrientetion = landescape ←をportraitに変える
(※landescape = 横向き / portrait = 縦向き)

// #2 画面のサイズが合わない

A. AppDelegate.cpp内の
/* Size frameSize = glview->getFrameSize();
           ︙
} */
register_all_packages();の前の"}"までコメントアウト又は消す

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?