Game Development Reference
In-Depth Information
Creating an Optimized Collision Polygon: Using the
Path Tool
Let's start over, either by closing the previous project, and using the File Open to
reopen the sprite1.png file, or by deleting the previous Selection Path in the Paths
palette. This time, instead of the Fuzzy Select Tool, use the Paths Tool, and select the
Design Edit Mode in the options (bottom) part of the Toolbox, and select the Polygon-
al checkbox option. This will keep our lines nice and straight, like the polygons you
see in 3D modeling packages such as Blender. Click in the InvinciBagel character's
hair, and then click another point on his left shoulder, as shown in Figure 16-8 . This
will automatically draw a line segment (polyline) between the two points for you. Click
a third point at the elbow, a fourth point at the wrist, a fifth point at the toe, a sixth
point at the knee, a seventh point at the thigh, an eighth point at the heel, and so on, to
create an outline using straight lines that perfectly contains the InvinciBagel run state.
 
 
Search WWH ::




Custom Search