Tags
Language
Tags
March 2024
Su Mo Tu We Th Fr Sa
25 26 27 28 29 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 1 2 3 4 5 6

Unity 5: 2D Emulate Palette Swapping for Sprites

Posted By: Landau17
Unity 5: 2D Emulate Palette Swapping for Sprites

Unity 5: 2D Emulate Palette Swapping for Sprites
MP4 | Video: 720p | Duration: 1:09:16 | English | Subtitles: VTT | 223.4 MB



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