2015
Lynda
Jesse Freeman
1h 09m
English
Palette swapping, a technique borrowed from old school game engines, is a great system for dynamically changing the colors of sprites at runtime. While it's not built into Unity, with a little ingenuity and the advanced techniques shown in this course, you can emulate palette swapping in any 2D sprite-based game. Jesse Freeman will show you how to build custom menus and inspectors to analyze and change sprite's colors, save custom color palettes with scriptable objects, change colors on sprite textures at runtime, and even apply color changes to animated sprites. Last, he'll show how to optimize this workflow and reuse it in other Unity projects.
Topics include:
Importing artwork
Working with sprites and animations
Creating scriptable objects
Sampling colors from sprite textures
Extending Unity and building a custom inspector
Creating custom textures
Optimizing the palettes
Cleaning up sprites in Photoshop
00. Introduction
01. Project Setup
02. Creating Scriptable Objects
03. Reading Colors from Textures
04. Building Custom Inspectors
05. Creating Custom Textures
06. Optimizing
07. Conclusion
www.lynda.com/Unity-2D-tutorials/Advanced-Unity-2D-Sprite-Palette-Swapping/383045-2.html
Download File Size:212.74 MB