Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 777 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 777 Bytes

galaga-sprites

python script that uses pillow to create galaga/galaxian style space ship sprites

Running

  1. clone into local machine.
  2. install dependencies.
  3. use python sprite.py to run.

Usage

Arguments

  • -d <n> will make a sprite of n width and n height.
  • -s <n> will make each pixel of the sprite n by n pixels in the output image.
  • -c <n> will make a sprite with n different colors.
  • -t <n> will make a sprite with a body width of around n pixels

Examples

$python sprite.py -d 16 -s 20 -c 3

  • will create a 320x320px image of a 16x16 pixel sprite with 3 colors

Dependencies

  • Pillow
  • Noise

Examples

GitHub Logo GitHub Logo GitHub Logo GitHub Logo