
Learn to manage multiple sprites in Unity with a snail example, using sprite mode multiple, serialized fields, and colliders to enable coloring of individual parts.
Learn to color a sprite by duplicating its texture, creating a new sprite from a copied texture, and assigning it to the renderer, while adjusting pivots for proper display.
learn to paint the snail by raycasting the current sprite, storing the current sprite renderer, coloring the hit sprite with the brush, and optimizing for brush size and performance.
Create a GPU sprite brush, build a full color shader graph that multiplies the original texture by a color, and apply the material to the brush.
Learn to draw circles with a GPU shader, using brush radius, UV position, and original versus main textures to color textures and preserve outlines.
Export and test an android apk from Unity, configure player settings, resolve graphics and memory issues, and use the profiler to diagnose texture memory usage.
Learn to fix a graphic glitch by switching graphics APIs from Vulkan to OpenGL ES 3, remove the development build checkbox, and set a 60 fps target for smoother painting.
Add three brush size buttons anchored to the bottom-right to let players change brush size, using a vertical layout group and sizes 120, 75, and 50 for landscape screens.
Learn to assign the brush texture in the shader, multiply by a hardness property to control opacity, and implement rotation with tiling and a time-based random seed in Unity.
Colors play a huge role in games, and more broadly, in real life.
Many games revolve around the painting / coloring mechanic.
Do you want to create a wonderful game where your players can color your creations, or even color the world they are in ?
Then look no further, this Course is for You !
In this course, we will explore 5 different techniques you can use to create a coloring game, in Unity.
Each one of these techniques will see its difficulty level increase.
As the level of difficulty rises for each of these techniques, so too does the vast expansion of possibilities they offer.
We will first Start with the most basic one, which is coloring a sprite. We will manage the player input to detect any image and color it with the color of your choice.
In that section, we will get to learn about 2D Raycasts, the Input class, and our sprites sorting order.
In the Second Section, we will experiment with “Line Renderers”. This is a built-in component that allows you to draw, well, lines…
But we will hack it so that it feels like a paint brush! You will learn how you can apply textures, play with its colored gradient and optimize its performance.
This will be an additional arrow to your quiver.
The Third Technique will allow you to create infinite worlds if you get it right ! You will learn how to create procedural meshes, texture them using the uvs, and optimize them.
This is a coloring course, so I’ll show you some nice tricks to use them as a paint brush. But you can totally create 3D objects with this technique, go one step further and create infinite procedural terrains. How amazing is that ?
Additionally, you will learn how to mask or restraint your drawing to a plane using the Stencil Buffer. That’s a technique that I explain in more details in another course, and you get it for free here.
After that, you will learn how to manipulate Textures in the Fourth Section. This is such an amazing power that you will have in your hands. It will allow you to edit each and every pixel to your liking.
Using that technique, we will first color the whole texture, then draw a square, and finally polish the look with a smooth rounded brush.
But that technique has limitations, as you increase the brush size, manipulating textures can be heavy on the processor.
That’s why the Fifth Section will show you how to leverage the GPU to get a much higher frame rate, thus a smoother player experience.
You will learn how to create your own shaders, pass a texture to a shader, let it apply some changes, and get your texture back to apply it to your sprites.
I’ll show you a nice trick to keep the borders of your drawing, even after it’s been colored. You can then decide if you like the look of it or not.
To complete our course, we will add colored pencils to the side of the screen, to allow the player to change the brush color.
We will also add a nice way to select the brush size.
And this will make, for an amazing coloring game.
This course will definitely step up your game dev skills, if you’re ready to Become a Color Master,
Grab it, today.