Skip to content

Automatically stretch out the 1px edge of each tile in a sprite sheet to compensate for tile bleed in 2D game development.

Notifications You must be signed in to change notification settings

johnedvard/tile-bleed-margin-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

tile-bleed-margin-generator

Automatically stretch out the 1px edge of each tile in a sprite sheet to compensate for tile bleed in 2D game development.

bleed.sh

first argument is the name of the spritesheet we want to bleed. second argument is SPRITESHEET_WIDTH third argument is SPRITESHEET_HEIGHT fourth argument is TILE_SIZE

Example sh bleed.sh spritesheet.png 640 576 16

How to use in Unity

Unity tilemap settings

About

Automatically stretch out the 1px edge of each tile in a sprite sheet to compensate for tile bleed in 2D game development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%