View unanswered posts | View active topics It is currently Thu Dec 26, 2024 3:38 am



Reply to topic  [ 7 posts ] 
 Spriting a gun: a quick tutorial 
Author Message
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Spriting a gun: a quick tutorial
I figured that since making a detailed sprite can be challenging for beginners, I could offer my assistance by showing how I usually do it, along with some basic information about the process. So, without further ado; let's start spriting!


STEP -1: THE PROGRAM


BEFORE EVEN STARTING, if you haven't already, you should find yourself a suitable image editing program. I personally go with Windows Vista's MSPaint. I use a 7, but you can find a tutorial on how to install the Vista version over the Windows 7 one. The reason for that is because 7 ruined everything for MSPaint. Vista is the closest you can get to the XP one (which I am the most affectionate with), with a different default palette and 10 undos instead of 3.

As much as Windows goes, I'm not entirely sure which programs work on other operating systems. You can always go with GIMP or Photoshop, if you prefer. I would strongly recommend a free program called GraphicsGale though, if you're new to spriting. If you're not attached to anything already, such as MSPaint, you can get along well by starting fresh.

I also expect that you to know how to apply color palettes to your files, so I won't be going through that in this tutorial.


STEP 0: THE CANVAS


Open a base canvas for your work, preferably in the color of the not-so-eye-friendly Fuchsia Magenta. The base doesn't necessarily need to have the palette applied to it, but you should definitely use the colors of the palette at all times. The indexed palette property can be applied later on the finished sprite.

When you are going for detailed sprites, there is no other option than to zoom in hard to see even the very slightest change in colors.


Image


That's a single pixel on a 35x10 area. Note that I will merely zoom in to help you see the progress, the proportions will stay the same.

Image

That's better. Let's get started already.


STEP 1: A SILHOUETTE


Start by making a crude silhouette of what you're planning to to. In this case, a simple carbine rifle.

Image

Here's a fairly simple gun and a box magazine. The row of gray shades used can be found on the bottom of the palette.bmp file. The very darkest blacks are very similar, so I usually cut the very leftmost one out completely.

But hey, that gun doesn't look very detailed at all. It's pretty much ugly, and I'm not even talking about the silhouette. Sure, you may want to give a minimalist approach every now and then, but for now, let's give this rifle some more shapes.

Image

That's more like it. I also made the magazine curve a bit for this one, but a boxy magazine is completely fine anytime.


STEP 2: SHADING


This step will include the majority of changes in this tutorial. There will be multiple layers of colors set from darkest to lightest. Note that this is how I usually do it, you can decide the order all by yourself.

Image

I start by simply halving the sprite approximately from the middle part with the next lighter color. This will give an idea of what parts should be better lit (top) and darker lit (bottom).

Image

Since we're not doing a completely black gun, I will limit the darkest black to the very bottom parts. At this point I basically decide where I don't want the very darkest black to be.

Image

Keep gently adding the lighter dark colors on top, leaving the darker at the bottom parts. Keep in mind that you need to have your own idea of your gun, and it's your responsibility to test and try out how different shades look. I usually leave significant outlines to my sprites. Other styles can work just as well for CC, such as adding very little or no outlines.

Image

This color is one of the darker inner textures for the gun. At this point it should look a bit like dark plastic. The lighter you go, the more careful you should be when applying bright colors.

Image

Small, boxy areas around the body can make the gun look more metallic. The slight dots I left for the forearm grip can be seen in many different forms. Remember to try stuff out yourself, you're not going to learn otherwise. A good perception of 3D shapes can be very helpful, even though it's just 2D images.


STEP 3: FINISHING TOUCHES


Image

Here, I mainly used the very lightest color for the spring guard, also on the bottom of the magazine. This is where I would normally stop, as it looks quite nice and simple already. If you want to go all-out though, you can try experimenting with other colors than grey, trying adding some rust, for example.

Image

At this point you should be careful, because at this point is where you usually go overboard. I tried adding some more shine with the lightest grey and some brown rust here and there. An easy way to picture stains of all sorts is to view the color next to the "clean" color that represents the same lightness value, as shown here.

Image

After you've finished, you can try placing your gun sprite on top of the magazine to see what it would look like. When you go back to coding, I recommend checking out this helpful thread by Azukki for info about making offsets for your guns.

Image

And I guess that's about it for this small tutorial! I hope you've practiced along, or maybe even learned something new! These steps can be somewhat followed in other situations, such as actor spriting, too. I however strongly recommend that you try things out for yourself, it's the best way to really get into it.

Questions can be asked.


Sun Apr 20, 2014 1:02 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Spriting a gun: a quick tutorial
Can I use that sprite?







Mon Apr 21, 2014 1:46 am
Profile
User avatar

Joined: Sat Apr 19, 2014 8:52 am
Posts: 14
Location: Straya
Reply with quote
Post Re: Spriting a gun: a quick tutorial
I'm a mega spriting virgin and this tut is great, I understood everything. :grin:


Last edited by -[Ayil]- on Mon Apr 21, 2014 1:03 pm, edited 1 time in total.



Mon Apr 21, 2014 11:40 am
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post Re: Spriting a gun: a quick tutorial
Fantastic post 4zk. Your goddamn sprites <3


Mon Apr 21, 2014 12:50 pm
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Spriting a gun: a quick tutorial
I personally like to sprite on a more neutral blue-gray canvas, it helps keep the tones more balanced and keep up contrast as the high intensity magenta can make you blind to that.


Mon Apr 21, 2014 5:27 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Spriting a gun: a quick tutorial
I totally agree with the fact that magenta isn't the best to stare at.

Asklar wrote:
Can I use that sprite?

Go ahead. :lol:

I don't really do that much stuff for muzzle flash sprites, I prefer adding other effects to go along with them instead.

Most of the vanilla ones are good for basic lead-based guns. Fancier flashes can have stuff like smoke particles.


Mon Apr 21, 2014 5:48 pm
Profile
User avatar

Joined: Mon Jun 24, 2013 5:08 am
Posts: 430
Location: Reconstructing W.A.S Forces,
Reply with quote
Post Re: Spriting a gun: a quick tutorial
wow thanks 4zk this will be really handy


Tue Apr 22, 2014 11:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.055s | 13 Queries | GZIP : Off ]