Skip to content

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

Notifications You must be signed in to change notification settings

probably-not-porter/galaga-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages