Libraries

s&box libraries list

Sprite Tools (OBSOLETE)

facepunch.spritetools

Do not use anymore, SpriteRenderer and Sprite Resource are built-in now.

About

UPDATE: DO NOT use this library unless you've already made a game with it and need it for backwards compatibility. The Sprite resource and SpriteRenderer component now exist in-engine and do not require a Library to be used.

About Sprite Tools


A suite of 2D Sprite tools for S&box.

Features:
> 2D Sprite Resource
- Animations
- Change Speed/FPS
- Change Origin Point
- Toggle Looping
- Attach Points
- Broadcast Messages
- Spritesheet Importer
> 2D Sprite Component
- Set Current Animation, along with playback speed
- ActionGraph properties for each Broadcast Event
- Create Attach Points as "Procedural Bone" child GameObjects
- Enable/Disable Shadows
- Tint Color (Tints the sprite a specific color, removing non-existent colors)
- Flash Color (Blends the color of each pixel towards the Flash Color, replacing all pixels with one color)
> 2D Tileset Resource
- Tiles
- Custom Tile Sizes
- Tile Metadata (Names/Tags)
- Autotile Brushes
- Support for 2x2, 3x3, and 3x3 minimal tilesets
- Import Autotiles from an existing Resource
> 2D Tileset Component
- Tile/Autotile Painting (Paint Tool, Eraser Tool, Rectangle Tool, Line Tool)
- Multiple Layers (each can have it's own Tileset)
- Collision Generation

Report Issues Here >>> https://github.com/Facepunch/sbox-spritetools/issues <<<

Media

More by Facepunch

04
Spline Tools thumbnail
Spline Tools facepunch.splinetools

Work In Progress Spline Tools.

+0 24h
12favorites
17upvotes
86%Terry score