A useful tool to find sprite image
A sprite is a small raster graphic (a bitmap) that represents an object such as a character, a vehicle, a projectile, etc. Sprites are a popular way to create large, complex scenes as you can manipulate each sprite separately from the rest of the scene. This allows for greater control over how the scene is rendered, as well as over how the players can interact with the scene.
#cd to your image folder $cd image $pip install Sprite-sheet-project $python3 >>> from sprite_nvqMinh.spriteutil import SpriteSheet >>> import timeit >>> start = timeit.timeit() >>> image = Image.open('1.png') >>> sprite_sheet = SpriteSheet(image) >>> sprites, labels = sprite_sheet.find_sprites() >>> print(len(sprites)) >>> image = sprite_sheet.create_sprite_labels_image() >>> end = timeit.timeit() >>> print(end)
Step 1 : clone from github to your git repository firstname.lastname@example.org:intek-training-jsc/sprite-sheet-nvqMinh29101992.git Step 2 : git branch to see all branches
-Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Sprite_sheet_project-1.1.3.tar.gz (5.3 kB)||File type Source||Python version None||Upload date||Hashes View|
|Filename, size Sprite_sheet_project-1.1.3-py3-none-any.whl (17.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for Sprite_sheet_project-1.1.3.tar.gz
Hashes for Sprite_sheet_project-1.1.3-py3-none-any.whl