cocos2dで遊ぶにあたって、320px * 240px ぐらいの絵でゲームを作りたいけど、PCモニターではあまりにも小さいので、拡大して 640px * 480px のウィンドウに表示したい。
SCALE = 2
director.init(width=320, height=240, autoscale=True)
director.window.width = 320 * SCALE
director.window.height = 240 * SCALE
おてがる。
More than 5 years have passed since last update.
cocos2dで遊ぶにあたって、320px * 240px ぐらいの絵でゲームを作りたいけど、PCモニターではあまりにも小さいので、拡大して 640px * 480px のウィンドウに表示したい。
SCALE = 2
director.init(width=320, height=240, autoscale=True)
director.window.width = 320 * SCALE
director.window.height = 240 * SCALE
おてがる。
Register as a new user and use Qiita more conveniently