Design Principles
Design Principles
PERFECT
PRECISION
Version 3
Produced by ustwo
@pppustwo
@gyppsy
CONTENT
Intro
110
Thanks
Colour Profiles
111
The Core
Pixel Precision
116
Techniques
135
19
Organisation
156
Accessibility
34
Export
168
86
Tips
178
Illustrator
198
Appendix
210
Contents
INTRO
The Pixel Perfect Precision Handbook is now four years old. Over
that time weve shifted the focus away from pure pixels and started
to cover more about how we work as well the new chapter on
Design and Development is a perfect example of this. Even though
our portfolio is incredibly diverse, from mobile banking apps to
physics-defying puzzle games, we always apply the same design
principles that we talk about in the following pages. Enjoy!
Product photo: Monument Valley
THANKS
Theres a few people out there who deserve a shout out. First of all
Shiro, for showing me the true meaning of pixel precision all those
years ago. All the designers out there sharing their knowledge on a
daily basis youve been a great source of both inspiration and
information. Most of all Id like to thank all my friends at ustwo for
their immense support in creating this handbook!
Product photo: Rando
THE
CORE
This first section covers core principles and topics that apply to
digital design and its relevant tools. Applicable to both seasoned
professionals and newcomers to the field, it offers a quick start
guide to some of the processes and thinking that we apply to our
projects here at ustwo.
PIXEL
PERFECT
PRINCIPLES
Users
tech-savvy.
5
Environment
Random Text
Squeezed in to Fit
Title
Object
Description
Object
Description
Object
Description
Naughty
Accessibility
Object
Description
Nice
Title
Object
Description
Object
Description
A
B
Object
Description
Object
Description
Best-Case
Worst-Case
Scenarios
Longer Title
Medium Length
Still fits well
Einen wirklich la
Das gleiche auch
Worst-Case
Affordance
Initialisation
Requirements
Hey Matt!
Begin
Naughty
Copy
Welcome
Continue
Nice
10
Naughty
Colour and Shape
Nice
11
Title
Object
Description
Object
Description
Object
Description
Object
Description
Naughty
Visual Hierarchy
Title
Object
Description
Object
Description
Object
Description
Object
Description
Nice
12
Naughty
Typography
Nice
13
Title
Title
Object
Description
Object
Description
Object
Description
Object
Description
Object
Description
Enter
Motion
Object
Description
Object
Description
Object
Description
Exit
14
Testing
15
Movie.avi
Sketch
Demo
Object
Description
Watch me!
Im going to move
Press me!
I actually work
Object
Description
Static
I dont move
Inactive
I dont do anything
Object
Description
Static
I dont move
Inactive
I dont do anything
Object
Description
Static
I dont move
Inactive
I dont do anything
Prototyping
Movie
even coded.
16
Project
Design
Screen.psd
Assets
Rectangle.png
Square Blue.png
Square Green.png
Square Orange.png
Square Pink.png
Organisation
17
Take a Break
gone unnoticed!
18
PIXEL
PERFECT
DETAILS
Naughty
Sharp Edges
Nice
20
Naughty
Alignment and
Spacing
Pixel Perfect Precision
Nice
21
Consistency
22
300
60
Hue
240
120
S
0%
352
352
Saturation
95
22
45
95
Brightness
90
98
95
45
230
249
242
116
Green
12
194
133
Blue
41
201
148
20
100%
B
Colour Model
352
Red
180
0%
352
100%
23
Colour Profile
Yes
No
Code
Naughty
Colour
Management
Pixel Perfect Precision
Nice
WWW
Max. Height
Max. Width
25
Settings
Einstellungen
Configuraes
Text Length
26
Align Text
Align Text
Align Text
Align Text
Align Text
Align Text
ABC123
ABC123
ABC123
x-height
Aligning Text on
Buttons
27
Align Text
Align Text
Align Text
Align Text
Naughty
Nice
28
Active
Selected
Disabled
Object States
29
Button
Button
Button
Outer = Inner
Inner Scaled
Borders and
Corner Radii
Pixel Perfect Precision
Borders and
Corner Radii
Filleting
Pixel Perfect Precision
Button
Button
Filleted
100%
100%
Naughty
Equilateral
Triangles
86.6%
100%
Nice
32
Project
Project
Screen_1.psd
Screen_2.psd
Screen_140401_r01.psd
Screen_FINAL.psd
Screen_140402_r01.psd
Screen_FINAL_FINAL.psd
Screen_140402_r02.psd
Screen_FINAL_FINAL_2.psd
Screen_140402_r03.psd
Screen_FINAL_FINAL_3.psd
Screen_140403_r01.psd
Screen_Latest_1.psd
Screen_140403_r02.psd
Screen_Latest_2.psd
Naughty
Version Control
Archive
Screen.psd
Nice
ACCESSIBILITY
If I make my design
accessible, wont it
look rubbish?
Accessibility
35
Types of
Impairment
Pixel Perfect Precision
impaired users.
36
Title
Title
Object
Description
Object
Description
Object
Description
amet, consectetur
adipisicing elit, sed do
eiusmod tempor incididunt
Object
Description
Object
Description
Naughty
Clarity
Nice
Keep designs as clear and concise as possible
on data connections.
37
OS
App
App
Title
Subtitle
Object
Description
Object
Description
Object
Description
amet, consectetur
Object
Description
Consistency
amet, consectetur
adipisicing elit, sed do
Object
Description
Title
Title
Object
Description
Object
Description
Object
Description
Title
Object
Search results
Object
Description
Object
Description
Navigation
Object
Description
activated elsewhere.
39
Title
Lorem ipsum dolor sit
amet, consectetur
Title
amet, consectetur
nisi ut aliquip ex ea
commodo consequat.
Naughty
Navigation
Content Structure
Nice
40
Hi!
then this
and finally
link
the bottom
for the info
Info
i
What you
Info
Info
were after!
Naughty
Navigation
Minimise Steps
Hi!
Hit the link at
the bottom
for the info
Info
i
Much easier
to get to!
Nice
41
Object
Description
Object
Description
Object
Description
Object
Description
Naughty
Navigation
Titles
Pixel Perfect Precision
Title
Object
Description
Object
Description
Object
Description
Object
Description
Nice
42
Title
Title
Object
Description
Object
Description
amet, consectetur
amet, consectetur
Naughty
Navigation
Appropriate Page
Sizes
Pixel Perfect Precision
Nice
Title
Title
Object
Description
Object
Description
amet, consectetur
nisi ut aliquip ex ea
Naughty
Navigation
Limit Scrolling to
One Direction
Pixel Perfect Precision
Nice
44
Pink
Orange
Green
Blue
Naughty
Navigation
Numbered Lists
Pixel Perfect Precision
1.
2.
3.
4.
Pink
Orange
Green
Blue
Nice
45
Action
This is a button
that initiates Action.
By pressing it you will
proceed to the next
screen of the app.
Naughty
Navigation
Labelling
Action
Go to next screen
Nice
46
Name
Gyppsy
Enter email address
Gyppsy
Email
Enter here
Naughty
Navigation
Labels Above
Input Fields
Pixel Perfect Precision
Nice
47
7mm2
Naughty
Interaction
Touch Targets
Nice
48
Action
Naughty
Interaction
Buttons and
Hyperlinks
Pixel Perfect Precision
Action
Nice
49
This is not
a link
Naughty
Interaction
Buttons and
Hyperlinks
Pixel Perfect Precision
This is not
a link
Nice
50
Delete Files
Delete Files
File 1
File 1
File 2
File 3
To delete the items tick the
box below and press Delete
File 4
Yes
File 5
Delete
Error Prevention
Design
Pixel Perfect Precision
Deleting
File 2 these files will
permanently remove
them. Are you sure you
File 3
want to do that?
No
Delete
Name
Name
Gyppsy
Gyppsy
Telephone
Telephone
01234 56789
01234 56789
Invalid number
Submit
Naughty
Error Prevention
Checked Data
Pixel Perfect Precision
Submit
Nice
52
Colour
Select colour
Colour
Pink
Enter colour
Orange
Green
Blue
Naughty
Error Prevention
Free Text
Pixel Perfect Precision
Nice
53
Select Items
Item 1
Item 2
Item 3
Item 4
Item 5
Buy
Error Prevention
Review, Confirm,
and Correct
Pixel Perfect Precision
Review
Youve chosen these items:
Item 1
Item 2
Item 3
Item 4
Item 5
Press Confirm Purchase to
buy them, or use the back
button to change.
Confirm Purchase
54
Delete Files
Trash
File 1
File 3
File 2
File 4
File 3
File 4
File 5
Delete
Error Prevention
Reversible
Submissions
Pixel Perfect Precision
Restore
previous revision.
Do you wish to
cancel this order?
OK
Cancel
Naughty
Copy
Do you wish to
cancel this order?
Yes
No
Nice
56
ex ea commodo consequat.
Naughty
Copy
Break Up Large
Blocks of Text
Nice
57
1.
Pink
2.
Orange
3.
Green
4.
Blue
Naughty
Copy
Text to Diagrams
Nice
58
PPP
Naughty
Copy
Abbreviations
PPP
(Pixel Perfect
Precision)
Nice
59
Click here
Naughty
Copy
Link Text
Pixel Perfect Precision
Pixel Perfect
Precision
Handbook
(25MB)
Nice
Loading
Naughty
Feedback
Nice
61
!
!
Alert
Naughty
Feedback
Multi-sensory
Nice
62
Return
OK
Naughty
Feedback
Error Messages
Pixel Perfect Precision
Nice
63
Name
Gyppsy
Gyppsy
Company
Company
usthree
usthree
Naughty
Feedback
Error Proximity
Pixel Perfect Precision
Nice
64
Naughty
Typography
Nice
65
Naughty
Typography
Font Size
Nice
66
Naughty
Typography
Line Length
Nice
67
Naughty
Typography
Spacing
Nice
68
Naughty
Typography
Alignment
Nice
Multiple lines of text should always be leftaligned, as the inconsistent spaces in justified
and centred text can be a problem for users
with learning difficulties. Justification also
creates distracting white rivers running
through the paragraphs.
69
Example
Example
Example
EXAMPLE
Example
Example
Naughty
Typography
Formatting
Nice
YOURE SHOUTING!
70
Example
Example
Naughty
Typography
Formatting
Pixel Perfect Precision
Nice
71
Exa
Exa
Exa
Naughty
Typography
Truncation
Pixel Perfect Precision
Example 1
Example 2
Example 3
Nice
72
Example
Example
Naughty
Typography
Merging Text with
Graphics
Pixel Perfect Precision
Nice
into a graphic.
Information
Naughty
Colour
Visual Aids
i Information
Nice
74
Passed
Failed
Naughty
Colour
Dont Rely on
Colour Alone
Pixel Perfect Precision
Nice
Naughty
Colour
Alternatives
Nice
76
Example
Example
Naughty
Colour
Colour Contrast
Nice
world situations.
77
AA
Foreground
AA (Large)
Background
AAA
AAA (Large)
Colour
Colour Contrast
Checkers
Pixel Perfect Precision
than 14pt).
78
Red /
Magenta
Colour
ColorADD
Yellow
Blue /
Cyan
White
Black
79
Colour
ColorADD
Pixel Perfect Precision
Pink
Light
Orange
Light
Yellow
Light
Green
Light
Blue
Orchid
Khaki
Red
Orange
Yellow
Green
Blue
Violet
Brown
Bordeaux
Brick
Dark
Yellow
Dark
Green
Dark
Blue
Purple
Dark
Brown
80
Title
Object
Description
Object
Description
Object
Description
Object
Description
Flashing
81
Title
ling ticker. Scrolling ticker. Scr
amet, consectetur
amet, consectetur
Naughty
Movement
Title
Nice
Text to
speech
Testing
Text to
speech
black and white, zoomed view, and text-tospeech. Try them out on real devices, rather
than simulators, as youll get a better feel for
Pixel Perfect Precision
83
Title
Object
Description
Object
Description
Object
Description
Object
Description
Testing
Colour Blindness
Preview in Adobe
Pixel Perfect Precision
84
Title
Object
Description
Object
Description
Object
Description
Object
Description
Testing
Sim Daltonism
Title
Object
Description
Object
Description
Object
Description
Object
Description
85
DESIGN
DESIGN
AND
AND
DEVELOPMENT
DEVELOPMENT
Design and
Development
Pixel Perfect Precision
Essentials
Communication
to talk.
88
Essentials
Collaboration
89
Essentials
Learning
Pixel Perfect Precision
Button
Essentials
Be Realistic
Button
91
Preparation
Specifications
92
Preparation
Deliverables
the start.
93
Version
Object
Description
Object
Description
Release
Object
Description
Object
Description
Preparation
Workflow
Pixel Perfect Precision
Preparation
Tracking
PPP09
PPP08
Supply fonts
PPP07
PPP06
PPP05
PPP04
PPP03
PPP02
PPP01
95
Button
Button
Naughty
Design
Appropriate
Styling
Pixel Perfect Precision
Nice
cant do.
Title
Track
Artist
I Love Pixels!
The Pixel Perfecti
Track
Artist
Line Me Up
The Pixel Perfecti
Track
Artist
Pixel Monkey
Tony & Dones
Track
Artist
Naughty
Design
Realistic Content
My Favourites
Nice
97
Layers
Layers
Design
T Title
Background Title
Square Blue
Square Green
Square Orange
Square Pink
Rectangles
Background
Naughty
Design
Keep Everything
Editable
Pixel Perfect Precision
Nice
assets themselves.
98
Active
Button
Selected
Disabled
Naughty
Design
Object States
Pixel Perfect Precision
Nice
99
#15d0d4
Secondary Colour
#757575
Active
Subtitle Text
Px Grotesk Light 36pt #757575
Body Text
#333333
Design
Style Guide
Pixel Perfect Precision
Title Text
Divider Line 2px #999999
Accent Colour
Selected
Disabled
Title
Object
Description
Object
Description
Object
Description
Object
Description
Design
Design in Code
.square_pink {
background-color: #ed0082;
position: absolute;
left: 32px;
top: 128px;
width: 96px;
height: 96px;
}
.rectangle {
background-color: #e8e8e8;
position: absolute;
left: 32px;
top: 128px;
width: 96px;
height: 96px;
}
them on a device.
101
Colour Profile
Yes
No
Code
Naughty
Design
Colour Profiles
Pixel Perfect Precision
Nice
102
= Deadline
Naughty
Delivery
Timing
Nice
in the meantime.
103
Project
Rectangle.png
Square.png
Square copy.png
Project
Design
Screen.psd
Assets
Rectangle.png
Square Blue.png
Untitled.psd
Square Green.png
Square Orange.png
Square Pink.png
Delivery
Organisation
104
Delivery
Naming Systems
btn_home_new
btn_home_delete
btn_home_new_default
btn_home_new_highlighted
type_location_identifier_state
bg
(background)
icn (icon)
btn (button)
img (image)
BtnHomeNewDefault
BtnHomeNewSelected
btn_home
icn_global
105
Delivery
Naming Systems
icn_global_signal_full
btn_global_menu_default
icn_global_battery_full
Title
btn_home_play_pink_default
Object
Description
btn_home_play_orange_default
Object
Description
btn_home_play_green_default
Object
Description
btn_home_play_blue_default
Object
Description
btn_global_search_default
bg_home_description
106
Naughty
Delivery
Dont Compress
Assets
Pixel Perfect Precision
Nice
107
Title
Title
Object
Description
Object
Description
Object
Description
Title
Movie.avi
Object
Search results
Object
Description
Object
Description
Object
Description
Object
Description
Object
Description
Object
Description
Watch me!
Im going to move
Static
I dont move
Title
Object
Description
Object
Description
Object
Description
Delivery
Specifications
Movie
Static
I dont move
Static
I dont move
108
Assets
Object States
Style Guide
Flows
Check Again
Delivery
Check! And Then
Check Again!
Pixel Perfect Precision
109
PHOTO
SHOP &
USTWO
Now that weve covered a lot of design principles, lets dive into
some specifics. Photoshop is our day-to-day tool here at ustwo,
and across the industry as a whole, so knowing how to use it
properly is pretty essential. The following sections show you some
of the methods and techniques we use
110
Photoshop
COLOUR
PROFILES
System Settings
112
Photoshop Colour
Settings
Pixel Perfect Precision
113
Photoshop Save
for Web
Pixel Perfect Precision
114
Color Faker
115
Photoshop
PIXEL
PRECISION
Naughty
Shape Layers
Nice
117
Naughty
Shape Layers
Other Vectors
Nice
increased. Nice.
118
Naughty
Shape Layers
Performance
Nice
119
Live Shape
Properties
Pixel Perfect Precision
Corner Editor
121
Layer Effects
122
Linked Smart
Objects
Pixel Perfect Precision
like to import.
123
W : 160 px
H : 160 px
Some Text
Info Panel
124
be pixel precise.
125
126
Shape Layer
Options
127
Nudging
Snapping
129
Align and
Distribute
Pixel Perfect Precision
130
Grids
131
Some Text
GuideGuide
all do.
132
90
drag to new
document
120
Global Light
Default Angle
133
Some Text
Live Previewing
Some Text
134
Photoshop
TECHNIQUES
Some Text
Naughty
Object Colours
Nice
136
Some Text
Naughty
Object Gradients
Nice
137
Object Gradients
Dither
138
Naughty
Concise Layer
Styles
Pixel Perfect Precision
Nice
139
Scale Layer
Effects
Pixel Perfect Precision
Layer Effect
Strokes
Pixel Perfect Precision
Naughty
Layer Effect vs.
Vector Strokes
Pixel Perfect Precision
Nice
to Retina.
142
Complex Vectors
143
Naughty
Pasting From
Illustrator
Nice
144
Naughty
Blending Modes
145
Nice
Blending Modes
146
Replacement text
Naughty
Text Alignment
Replacement text
Nice
147
Naughty
Paragraphs
Nice
148
Convert to
Paragraph Text
149
Naughty
Hyphenation
Nice
150
Naughty
Leading
Nice
151
Crisp
Text Anti-aliasing
None
Sharp
Strong
Smooth
152
Mac LCD
Text Anti-aliasing
System
Mac
blog post.
153
Some Text
Some Text
Some Text
Some Text
Naughty
Lists
Nice
154
Some Text
Some Text
Quick Preview
155
Photoshop
ORGANISATION
Layers Panel
Options
157
Some Text
Naughty
Naming Layers
Nice
158
Before
Group Layer
Renaming
After
If youd like to do some batch renaming then
download this Group Layer Renaming script
by Kamil Khadeyev. It does exactly what it
says on the tin, letting you add text or
completely rename layers, as well as attach
sequential numbers using the %n variable.
159
Some Text
Naughty
Ordering Layers
Nice
another direction).
160
Some Text
by Name
Search
by Kind
up with.
161
Popup window
Colour Coding
162
Naughty
Expanded Layer
Effects
Pixel Perfect Precision
Nice
163
Naughty
Delete All Empty
Layers
Nice
164
Before
Remove Unused
FX
After
165
Naughty
Locked Layers
Nice
166
Layer Comps
Some Text
Some Text
Some Text
Some Text
Some Text
Some Text
167
Photoshop
EXPORT
Generator
Export Scripts
Export Scripts
end up as button_normal.png.
ustwo Export [layername]
ustwo Crop & Export [layername]
Same script as above except it doesnt add
the filename, so the layer from the previous
example would export as _normal.png.
ustwo Crop & Export +1px [filename]
[layername]
In this case the asset will have a 1px margin
added to each edge so that itll display
correctly in Flash. File naming works as with
the normal Crop & Export.
Pixel Perfect Precision
171
172
173
ImageOptim
174
Reducing
Photoshop File
Sizes
Pixel Perfect Precision
565
565
Batch
Pixel Perfect Precision
Photoshop
TIPS
No Glow
Glow
Strokes
179
Fading Circles
180
Quick Shine
181
182
Extracting Logos
183
Star Fields
184
Patterns
Kuler
186
Character Viewer
Keyboard Viewer
188
Shortcuts
Paths
189
Some Text
Shortcuts
Paths
190
Some Text
Shortcuts
Paths
Some Text
that mode.
191
Shortcuts
Selections and
Brushes
Pixel Perfect Precision
192
Shortcuts
Layers
Pixel Perfect Precision
193
Shortcuts
Layers
Pixel Perfect Precision
194
Shortcuts
Keyboard
Move selection
(Command + Shift + Arrow keys)
195
Shortcuts
Keyboard
196
Keyboard
Shortcuts and
Menus
Pixel Perfect Precision
quitting Photoshop.
ILLUSTRATOR
Introduction
199
Illustrator Colour
Settings
200
Preferences
201
Grids
202
Snap to Grid
203
Smart Guides
204
Naughty
Precision
Nice
205
206
Pixel Preview On
Pixel Preview
207
Preview Blurring
208
Organisation
209
APPENDIX
PPPatterns
211