今回はちょっと実用処理から離れてPythonでゲームを作ってみよう。Pythonにはさまざまなライブラリが用意されており、その中にはゲーム開発に特化したライブラリもある。今回はPyGameと呼ばれるライブラリの使い方を紹介する。PyGameで迷路ゲームを作って ...
Step 0: Ready the game. Please ensure that the main file of your game is named main.py. Please ensure that your game will run with pygame_sdl2. Generally, this consists of adding the lines: try: ...
Pygame is a free and open-source cross-platform library for the development of multimedia applications like video games using Python. It uses the Simple DirectMedia Layer library and several other ...
新しい同人誌を作りました。『PythonとPygameで作る レトロ風RPG 全コード』という本です。 PythonでPC向けのゲームを作るための、開発環境の構築や、プログラムの書き方、実例をまとめた本です。サンプルコードや、EXE化したゲームなどが付属しています。
RPGゲームをpygameで作ろうとしたことがある。 当初はRPGゲーム作りなんて初めての経験だったし、pygameしか自分は知らなかった。 その後、Qtを学び、Qtに慣れ親しんだ。 そこで、QtでRPGゲームを作ってみようと思いいたった。 多分・・・多分だが・・・Qtの方 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する