4 Months Ago
Added "Import Spritesheet" button which opens a blank import dialog Merge branch 'main' into spritesheet-importer Merge branch 'main' into spritesheet-importer Merge branch 'main' into spritesheet-importer TextureAtlas.FromSprites orders list by name so order doesnt matter TextureAtlas.FromSpritesheet re-orders list so order doesn't matter Merge branch 'main' into spritesheet-importer Create SceneWorld thru EditorUtility Created SpritesheetPreview widget Created SpriteRenderingWidget as a generic for SpriteEditor and SpritesheetImporter to both extend Import settings control widgets Import Settings Groups Importer window shows importing image Remove unused shaders and renamed main shader & material to "sprite_2d" Spritesheet Importer Overlay Buttons Fixed transparency issues with spritesheet importer Fixed origin/attachment materials Created sprite_sheet_grid which draws over the spritesheet import preview Update sprite_2d vmat initial variables Attempt at grid shader Spritesheet Importer Window UI https://files.facepunch.com/CarsonKompon/2024/July/04_18-39-ImperturbableCorydorascatfish.mp4 Remove debug logs Remove some other un-needed stuff Add SpriteSheetRecf to SpriteAnimationFrame TextureAtlas class now caches the atlas itself instead of just the texture Created TextureAtlas.FromAnimation which respects sprites *and* spritesheets Spritesheet Import Button which saves image+rect data to the selected animation Timeline optimizations with respects to spritesheets FrameButton supports spritesheet frames Preview now supports a supplied rect SpriteComponent now supports sprites with spritesheets Improve TextureAtlas caching Support sprites that aren't square aspect ratio in the Sprite Editor UI Imported some more spritesheet test assets Fix spritesheet size being used instead of rect size for spritesheet frames Update Frame List automatically after importing spritesheet Remove Spritesheet Overlay Update player and example scene Fix SpriteFlags not applying OnStart