As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label development. Show all posts

flycombat is part of Pygamii examples. You are an airplane and you shoot down enemy’s planes.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrw5suDPN5ch1Gbk2z3MGZCS9x_huhtpEz2HMkmTP_WtXCvaTmtpu3j90m0CmXZjnEnN9E-PGY9UzYAG9Gs-L-CqjGtPQQ5uFaKBPHfp0dirg0YV0xW8TdImpJ_AIhqXEmmFB8JEDHNWc/s800-Ic42/flycombat.gif

This is a simple game as an example for the gaming development library. You get a score on top and life as well. Several different enemty planes, so it’s not too bad as an example for just 287 LOC.

Pygamii was created by Carlos Maniero, written in Python 3 with readchar, termcolor, and optional Pygame for sound, under the MIT License, currently version 0.1.1.2 (2015-12-23).

arkanoid.py from PyGamii is a clone of Arkanoid or Breakout. PyGamii is an engine for ASCII games, which only has less LOC at this moment.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1VuQ5Sx3MriIZ5Szv4jk0llT3Boa1z35E1EkEq6dHBpXmhcp6-ibIcg06YwAsPFYFlW6u6V_qZHrR_OLTJqltkITDCoe_Tu4CXs-U_JnAVhRgOm9VOxA8ZYav3oz6e8fAkwevSVgxMmU/s800-Ic42/pygamii-arkanoid.gif

Although it’s named arkanoid.py, I don’t see any power-ups falling down. Since it’s just an example, I shouldn’t expect much from it, it doesn’t have a score.

The library is small, but it uses PyGame for audio, and that probably is the reason why PyGamii named “PyGamii.” It’s not officially supports Python 2, but I found it has no problem to run with it, just it’s kind of glitch in display.

PyGamii was created by Carlos Maniero, written In Python 2/3 with readchar, termcolor, and optional Pygame for audio under the MIT License, currently git-2fe2332 (2015-12-15).