I installed the retro game engine pyxel for Python on Mac and started the sample code

Purpose

This is a memorandum when installing the retro game engine pyxel for Python on Mac and starting the sample code.

pyxel

Preparation

Library installation

brew install python3 sdl2 sdl2_image
pip3 install -U pyxel

Sample installation

install_pyxel_examples

code

cd pyxel_examples
python3 01_hello_pyxel.py

OK if the sample code image is displayed as shown below

スクリーンショット 2019-09-14 15.30.15.png

reference

pyxel Making a Pac-Man-like game with Pyxel Part 1 Try to compose with the retro game engine Pyxel [Install pyxel on mac](https://scrapbox.io/pirutys-Install pyxel on scrapbox / mac) Life game with retro game engine Pyxel [Running Invaders with Python and pyxel on line 10](https://dianxnao.com/10 running Invaders with python and pyxel on line /) I made a shooter with the retro game engine "Pyxel" Make a snowball fight game with pyxel

Recommended Posts

I installed the retro game engine pyxel for Python on Mac and started the sample code
I tried Python on Mac for the first time.
[Python] I installed the game from pip and played it
I just wrote the original material for the python sample code
I tried python on heroku for the first time
I want to absorb the difference between the for statement on the Python + numpy matrix and the Julia for statement
[Python] Sample code for Python grammar
Life game with Python [I made it] (on the terminal & Tkinter)
Get started with the Python framework Django on Mac OS X
Quickly install OpenCV 2.4 (+ python) on OS X and try the sample
I installed Linux on my Mac
Sample code to get the Twitter API oauth_token and oauth_token_secret in Python 2.7
Put MeCab binding for Python with pip on Windows, mac and Linux
I tried with the top 100 PyPI packages> I tried to graph the packages installed on Python
I measured the speed of list comprehension, for and while with python2.7.
I want to format and check Python code to my liking on VS Code
Notes on building Python and pyenv on Mac
I installed Kivy on a Mac environment
I installed and used Numba with Python3.5
I wrote the code for Gibbs sampling
I managed to solve the situation where Python does not work on Mac
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
I stumbled on the character code when converting CSV to JSON in Python
[Python] I tried substituting the function name for the function name
vprof --I tried using the profiler for Python
(Windows) Causes and workarounds for UnicodeEncodeError on Python 3
I tried python programming for the first time.
Tweet (API 1.1) on Google App Engine for Python
[Python] I searched for the longest Pokemon Shiritori
[Mac] Run the RealSense D415 sample in Python
Try CIing the pushed python code on GitHub.
Code for checking the operation of Python Matplotlib
Try importing MLB data on Mac and Python
Install Python and libraries for Python on MacOS Catalina
Until you install Anaconda for data analysis on your Mac and launch the IDE
"Stop committing Japanese files to git on Mac> <" For the time being, I wrote a script to search for incompatible Japanese files on Mac and Linux.
After changing the account name on Mac, pip and ipython became unusable, so I reinstalled the whole python and it was cured