2D Character Tutorial UT2k4

From Moviesandbox

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
This Tutorial requires knowledge of the Unreal Editor and Moviesandbox, so please be sure you feel familiar with those tools before creating your own characters. For beginner tutorials, go visit the [[Tutorials]] page.
This Tutorial requires knowledge of the Unreal Editor and Moviesandbox, so please be sure you feel familiar with those tools before creating your own characters. For beginner tutorials, go visit the [[Tutorials]] page.
-
<h2>How 2D-Characters are set up</h2>
+
<h3>How 2D-Characters are set up</h3>
<p>The 2D-Characters in Moviesandbox are basically a set of textures that are drawn on the screen. The angle from which you look at the character, the characters own rotation and the state the character is in (i.e. walking, idling, animating) dfine the texture that is displayed.</p>
<p>The 2D-Characters in Moviesandbox are basically a set of textures that are drawn on the screen. The angle from which you look at the character, the characters own rotation and the state the character is in (i.e. walking, idling, animating) dfine the texture that is displayed.</p>
<p>It works pretty much like the character display in the very first version of the game DOOM from idSoftware[http://www.idsoftware.com]. <br>
<p>It works pretty much like the character display in the very first version of the game DOOM from idSoftware[http://www.idsoftware.com]. <br>

Revision as of 19:33, 9 April 2006

Contents

Introduction

in this document, we will show you how to create your 2D-Character and set it up so it works inside Moviesandbox. This Tutorial requires knowledge of the Unreal Editor and Moviesandbox, so please be sure you feel familiar with those tools before creating your own characters. For beginner tutorials, go visit the Tutorials page.

How 2D-Characters are set up

The 2D-Characters in Moviesandbox are basically a set of textures that are drawn on the screen. The angle from which you look at the character, the characters own rotation and the state the character is in (i.e. walking, idling, animating) dfine the texture that is displayed.

It works pretty much like the character display in the very first version of the game DOOM from idSoftware[1].
Right now, Moviesandbox treats every 2D-Character as a 4-sided object, so you would need 4 textures for a fully functioning character. Here's an example of what an Idle texture from the front and from the side might look like.
Image:2DIdleFront.jpgImage:2DIdleSide.jpg
Obviously, you would want to use Alpha channels on the textures, and a texture sequence instead of just one static texture.
Moviesandbox uses its own naming convention to keep track of the different textures that below to the same character.

Creating a simple character

As mentioned above, Moviesandbox treats 2D characters as if they would have only 4 sides, thus, each characters must have a texture for each side. In addition to that, every character has at least three states - moving, idling and animating.
Every state needs textures for all 4 sides of the character to display correctly, which leaves you with 12 textures or texture sequences to be generated.

Fill in example character textures here

Once you have your textures set up, import them into UnrealEd in your own package and follow the naming convention described below.


File Naming conventions

Every Texture's name consists of the character name followed by the side and then the state that the texture represents.

<p>filename_XAAA_A00 whereas X is the side the texture represents and AAA is the state name the texture is for.

Examples:
Garry_FWlk_A00 is the character Garry, depicting the front part of the character while walking.
Tobias_LIdl_A00 is the character Tobias, depicting the Left Side of the character while standing.

Personal tools
Moviesandbox for UT2004