Evgenii Legotckoi
Evgenii LegotckoiOct. 17, 2015, 6:42 a.m.

How to draw a sprite sheet in the Adobe Illustrator

I'm tired of testing GameDev processes with triangles and rectangles. It's boring and uninteresting, so it's time to blow something up. But where do you start? - you ask. And my answer is, you need to draw a sprite explosion, to be precise, then draw a sprite sheet for the explosion, which will represent the explosion animation.

But how to do that? - I was puzzled by this question. After studying several forums and video tutorials, I decided to collect the information received into one lesson on my website. So we have the following technical task for this lesson:

  1. Draw some sprite pictures, from which we will make a sprite sheet for the explosion animation;
  2. Build the sprite sheet itself and save it as a PNG file;
  3. Do it all using Adove Illustrator software.

Draw sprite pictures step by step

Note. Also, if you are not interested in reading the step-by-step manual, then I suggest immediately referring to the video tutorial at the end of the article, everything is clearly described, shown and explained.

Step one

Create a canvas file for sprite images with parameters 20 x 20 pixels. These are the pictures we will use in the next tutorials on GameDev in Qt to implement bullet explosions. We will draw explosions.

Step two

Now create a rectangular mesh on the canvas that will separate our pixels. In this case, it is necessary to set the grid parameters such that its width and height will be equal to the width and height of the sprite, and the number of vertical and horizontal dividers should be made to the number of pixels in height and width, respectively. Also, don't forget to remove the stroke and make the background transparent, we don't need an extra white color in the sprite image.

Step three

Select the Live Paint Bucket tool and left-click a Live Paint Fill group from a rectangular grid. Live Paint fills with the selected color the area bounded by separators, as well as an outline or stroke. Since the grid divides the canvas pixel by pixel, each rectangle will be one pixel, which we will fill with color using Fast Fill.

Step four

After we draw all 15 sprite images, create a new project in Adobe Illustrator. Which will contain all 15 sprite images and will be 15 images wide and one image high. That is, we will draw all the pictures in one row. We will also place the rectangle on the entire canvas. Don't forget to remove the stroke and make the background transparent.

Step five

Next, create a contour mesh in the Rectangle, consisting of one row and 15 columns for all sprite images.

Step six

And now, by going to the File menu item, using the "Place" item, add all the prepared sprites to the project.

Step seven

Now we finish creating the sprite sheet by saving it as a PNG image with a transparent background. After saving the resulting image, let's check it how it looks in a regular image viewer.

Also, the entire lesson is presented in the following video tutorial below.

Video tutorial

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
AD

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:50points,
  • Rating points-4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:20points,
  • Rating points-10
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 11:51 a.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 2:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 8:19 a.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 7:51 a.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 11:02 a.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 3:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 6:04 a.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 3:49 a.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…
9
9AnonimOct. 25, 2024, 9:10 a.m.
Машина тьюринга // Начальное состояние 0 0, ,<,1 // Переход в состояние 1 при пустом символе 0,0,>,0 // Остаемся в состоянии 0, двигаясь вправо при встрече 0 0,1,>…

Follow us in social networks