2020-06-20から1日間の記事一覧
付属するPyxel EditorでPyxelアプリケーションで使用する画像を作成できます。 Pyxel Editor 以下のコマンドで起動します。 pyxeleditor [Pyxelリソースファイル]pyxeleditor snakeこのようなドットを一つ入れただけのファイルを作成してみます。 本体ソース…
Pyxel (ピクセル) はPython向けのレトロゲームエンジンです。 [pyxel公式](https://github.com/kitao/pyxel/blob/master/README.ja.md) import pyxel TILE_SIZE = 8 MAP_WIDTH = 29 MAP_HEIGHT = 23 class Snake: def __init__(self): pyxel.init( MAP_WIDTH…