ScenePainter/Constants
From YPPedia
This page contains constants used in Puzzle Pirates. Constants are values for certain colors, text size and frame spans.
Contents
Text
Colors
Color | Hexvalue | Annotation |
---|---|---|
Name blue | #82D0FF | Ocean Master |
Name white | #FFFFFF | NPP, event characters |
Name green | #54FF00 | Greenies |
Name pink | #FFAEAE | Greeter |
Name yellow | #FFFF00 | Characters |
Font
Name | Size | Used with |
---|---|---|
default | 10 | Names (outline), Talking (speech) und Actions |
Grid
Tiles can be placed in a 32x24 pixel grid. Since a game scene is isometric actually, it is possible to place tiles halfway, which leads to overlapping.
Other elements fit usually fit into this grid, too. But because of the isometric view spacing problems may be encountered.
Animation
Component | Frame span | Action |
---|---|---|
Avatars | 0 - 5 | walking |
Avatars | 0 | everything else applicable |
everything in navsail | 0 - 5 | sailing |
everything in navsail | 0 - 49 | sinking (only orientation SOUTH) |
With Walking the model takes one cycle (6 frames) to move from the center of one tile to the center of the next