Mô tả

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.

Bạn sẽ học được gì

Learn how to write Clean Code

Learn about Various Painting Techniques

Learn how to Leverage the GPU for Performant Code

Learn how to edit Textures & use Render Textures to your advantage

Learn how to Create a Kids Coloring Game

Learn how to Color Objects Using different Brushes

Yêu cầu

  • How to make your way through the Unity Editor
  • C# Basics
  • If you've taken some of my courses, it's a plus ;)

Nội dung khoá học

7 sections

Method #1 - Coloring a Whole Sprite

4 lectures
Project Setup
03:56
Coloring One Sprite
09:34
Dealing with Multiple Sprites
09:19
Dealing with Multiple Sprites - Part 2
07:12

Method #2 - Painting with Line Renderers

6 lectures
What is a Line Renderer ?
03:42
Drawing the First Lines
10:21
Drawing Better Lines
05:11
Coloring the Lines
03:48
Performance Optimization
04:24
Adding Textures
05:25

Method #3 - Painting with Procedural Meshes

7 lectures
What's a Procedural Mesh ?
04:08
Creating the First Mesh
10:33
Adding Brush Size
05:38
Finally Drawing with Meshes
10:04
Performance Improvement
06:45
Changing the Mesh Texture
07:54
Masking
07:29

Method #4 - Painting on Masked Sprites

7 lectures
Coloring the Sprite Texture
08:16
Coloring the Sprite in a Different Way
09:07
Drawing our First Square
10:58
Using Player Input
06:21
Painting the Sprite Correctly
05:01
Keeping the Sprite Outline
06:10
A Smooth Rounded Brush
08:41

Method #5 - Painting by Leveraging the GPU

8 lectures
How to use the GPU to our Advantage ?
02:27
Creating the Full Color Shader Graph
05:16
Using our Shader
05:42
Drawing Circles with the GPU
08:46
Better Drawing with the GPU
02:53
Exporting the APK & Testing
04:36
Performance Improvements
05:57
Fixing Graphic Glitch
02:13

Creating the Actual Coloring Game

7 lectures
Creating the Size Buttons
05:28
Size Buttons Manager
14:31
A Scroll View for our Pencils
04:16
The First Pencil Container
04:58
Our First Pencil is Moving
08:57
How to Pick a Pencil ?
12:26
Finally Chaning the Brush Color
10:10

Bonus Section

1 lectures
Bonus Lecture
00:20

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.