[PYTHON] Make a cocos2d game in a pixel double window

When playing with cocos2d, I want to make a game with a picture of about 320px * 240px, but it is too small on a PC monitor, so I want to enlarge it and display it in a window of 640px * 480px.

SCALE = 2
director.init(width=320, height=240, autoscale=True)
director.window.width = 320 * SCALE
director.window.height = 240 * SCALE

I'm sorry.

Recommended Posts

Make a cocos2d game in a pixel double window
Make a squash game
Make a rock-paper-scissors game in one line (python)
Make a Tetris-style game!
Make a bookmarklet in Python
Let's make a rock-paper-scissors game
Let's make a number guessing game in your own language!
Make a curtain generator in Blender
Let's make a shiritori game with Python
Let's make a combination calculation in Python
[Python] Make a game with Pyxel-Use an editor-
I want to create a window in Python
Make a simple pixel art generator with Flask
I tried playing a typing game in Python
I want to make a game with Python
Make a copy of the list in Python
[Python] Make a simple maze game with Pyxel
Make a joyplot-like plot of R in python
I tried to make a ○ ✕ game using TensorFlow
Try to make a Python module in C language
Make a simple Slackbot with interactive button in python
How to make a shooting game with toio (Part 1)
Let's make a simple game with Python 3 and iPhone
Let's make a cron program in Java! !! (Task Scheduler)