Archive for the ‘Vectorart’ Category

Recently I made my first animation – rotating wings for windmill made by IvanMorve.

Some of you might wonder how I did it. The truth is that was quite simple. Here is a small tutorial, step by step:

NOTICE:

N1: Because vertical and horizontal perspective in TMW are quite the same, our wings will have ratio 100% of width and 70% of height. That ratio makes elliptic shape, and it’s impossible to rotate object after drawing it in this perspective.

N2: To shorten amount of time for this particular task we will use GIMP to rotate the wings – however when we rotate objects there is serious quality loss. To prevent that we will make base wing 2 times larger (512×512 instead 256×256), then rotate it making each frame of animation. At the end we scale it down to proper size and aspect ratio: 256×180 px.

N3: Because of wings symmetry we will make only one fourth part of frames.

STEPS:

S1: Inkscape design. Just a outline. Mine looks like this:

S2: Painting. I redraw wings in GIMP using tablet. Make sure that wings are symmetric.

S3: Now rotate this wings and save it in another file.
3FPS: 90/3 = 30 deg
4FPS: 90/4 = 22,5 deg
5FPS: 90/5 = 18 deg
6FPS: 90/6 = 15 deg
etc..
I made animations with 4fps and 8fps. And I must say that 8fps looks hell better then 4 ;)

S4: Scale down every image to correct size and perspective. In this case its 256 x 256*0,7  ~= 256 x 180 px

S5: Viola! Our frames are ready.

ManaSource.org

First of all. I made this tutorial in November 2008, but somehow I forgot to publish.

In April I described how to design outlines for pixelart purposes. Today I decide to show how to break “square” outlook of tiles. So we will challenge an almost inmposible shape – spiral tower. Moreover that spiral construction will be tilable and allows us to build the tower with unlimited height.

Tools:
– Inkscape (www.inkscape.org)
– GIMP (www.gimp.org)

1. Lets try to draw “gear” in Inkscape. We will use for that [polygon] tool.

spiraltower-001

2. Duplicate our gear-shaped object, and rotate it.

spiraltower-002

3. Convert it to perspective view by changing height to 70%

spiraltower-003

4. Now add colour (I think white is best choice) to each “gear” and move it like this:

spiraltower-004

5. Now all we need is just correction of distribution. We do that because we want our tower to be vertically tilable. Remember that 32×32 grid is very helpful. Notice that I mirrored whole shape, because right side of it was darker – and now it will be easier to manage correct light and shadow effects.

spiraltower-005

6. It’s done. Shape on the right is our base tile. And who said that was an “impossible shape”?

spiral-tower-shape

If you got any questions, just ask in comments.

I’ve decided to make my first pixelart tutorial. Long time ago (aprox. 3 years) I drew well. It’s out of perspective and it does not look not as good as it supposed to. Now I will try to correct some of the mistakes, showing you at the same time how to use reference capabilities of Inkscape and GIMP.

Tools we need:

  • Inkscape – Free Open Source vector image editor – http://inkscape.org/
    Available for various platforms: Linux, Windows, MacOS, etc…
  • GIMP – Gnu Image Manipulation Program – http://gimp.org/
    Also available for: Linux, Windows, MacOS, etc…
  • Coffee, lots of coffee :) Some of you might use cigarettes instead coffee but it isn’t recommended

1. Analysis

Old well we are going to repleace

Something is wrong with this well… Let’s try to describe potential mistakes:

  • Incorrect perspective. The rounded part should be a circle flattened to 70% of height
  • The top part with rope has a different perspective that the bottom part
  • Strange shadow – it should rather fall behind – since we’ve got the sun form S-W at 45deg. angle
  • Texture on the well is same as on the pavement

Well graphics is located on data/graphics/tiles/desert_x2.png. Let’s take a look.

Old desert_x2 tileset

As you can see we got 64x64px. This could be a potential problem. However we aim to not brake existing maps. So we ought use this space. Also to make our new well a bit more 3D’ish I’ve decided to make the rope part at a different angle.

2. Design

Now is the time for showing Inkscape’s vector capabilities.

File -> Document Properties
Width: 64px
Height: 64px

Now draw a circle 54x54px with 1px outline. And make direct TOP planar view of our well. You should have something similar to this:

Now let’s rotate our well. Angle? How about 30 degrees? You will see the purpose of this action later. Now we’ve got:

So what now? Now we select all, and change the units on the toolbar (from px to %), make sure that you have unlocked the aspect ratio (small lock between W and H values), and type 70% into H (height). Looks odd, don’t you think? But consider that this is how circles should look in the TMW’s perspective view.

Now is the time to show how we could make it to look like a 3D object. We simply have to duplicate the blacks rings, place them above and connect with lines. Operation is similar to the EXTRUDE operation used in the 3D editiors. The results of the operation:

Because of the space limitation we might have to reduce the height of the well, but now let’s concentrate on the wooden part with rope. Green rectangle stand for the outer box. Red squares are side pillars. Lets extrude them.

Zoom 400%. Take a look at this. Yellow shape with green bevels is our container for the wooden construction. Finally red pillars could be also thinner. If you are going to ask where will we put crank – notice we’ve got space on both sides of well. We could align our well to one side – doubling the space. So that is not a problem. So let’s concentrate now on the wooden construction. It has to be rounded. So we must put circle in correct perspective on either side part of container, and then simply connect nodes. Sounds easy.

Accomplished design should looks more less like the one on the bottom. Don’t forget to change the black outlines into gray – it allows us to recolour them much easier. Now we should export our well in scale 1:1. This is the end of the design phase. Time to pixel!

Final product of DESIGN PHASE:

3. Pixelart

Many people start from this step. Without doing the analysis, without the concept art and the design drawings/sketches. Of course they can. But I can’t. I like when the objects in the game are well pixelated, with the corect palette, perspective. That’s the reason why I showed you 2 previous steps. certainly, all of you have seen many pixelart tutorials. However I never seen someone who would design a base for a pixelart in Inkscape. At least you should try :)

Let’s look one more time on the old well and compare it to the new shape:

Do you see what I was talking about?

Next we will add some details to our design sketch.

Now, it is time for some textures.

Some other details, like wooden pillars:

wooden rope construction and some highlights:

Shading and some finishing touches on the brick surface:

Correct placing (I moved it to the left). Adding a crank and background, shadows and shadings. And it’s done:

All we need to do now is edit desert_x2.png. I see some minor mistakes – especially on the main well shadow, but it could be improved before committing into SVN.

I’ve decided to correct the shadow… Now is a bit better.

Now it’s done. Lets take a look how it now looks in game.

Now you can see that the cactus and the well are in the same perspective, the box is a bit off. Maybe next time we will draw some boxes!

Thanks for your patience. As you can see it isn’t as hard as it looks. I hope you’ve enjoyed this tutorial.

The end :)

Or maybe not… :P Here is the version without the background.

Oh WELL


Click to enlarge

TMW Weapons Concept Art

Posted: January 5, 2007 in GPL, The Mana World, Vectorart