Acknowledgements |
|
ix | |
Contributors |
|
xi | |
Author |
|
xiii | |
Introduction |
|
1 | (4) |
|
Chapter 1 Designing Graphically with the Language of Code |
|
|
5 | (30) |
|
Getting Started & Basic Overview |
|
|
5 | (4) |
|
Lesson 1.1 Pixel Grid System |
|
|
9 | (1) |
|
Lesson 1.2 Code And Canvas Windows |
|
|
10 | (1) |
|
Lesson 1.3 Lines, Width, And Height |
|
|
11 | (7) |
|
|
18 | (3) |
|
|
21 | (1) |
|
Lesson 1.6 Syntax, Comments, And Order Of Code |
|
|
22 | (4) |
|
Lesson 1.7 Line Commands (Stroke And No Stroke) |
|
|
26 | (1) |
|
Lesson 1.8 Coloring Pixels |
|
|
27 | (3) |
|
Lesson 1.9 Adding Transparency Values |
|
|
30 | (1) |
|
Lesson 1.10 The Processing Reference - Important Resource! |
|
|
31 | (3) |
|
Project: Geometric Design |
|
|
34 | (1) |
|
Chapter 2 Creating Responsive Environments |
|
|
35 | (22) |
|
Lesson 2.1 Dynamic Computer Programs |
|
|
36 | (3) |
|
Lesson 2.2 First Animations |
|
|
39 | (4) |
|
Lesson 2.3 Animation Trails |
|
|
43 | (1) |
|
Lesson 2.4 Finding Exact Coordinates |
|
|
44 | (3) |
|
Lesson 2.5 Complex Shapes |
|
|
47 | (2) |
|
Lesson 2.6 Linking Shapes For Synched Movement |
|
|
49 | (1) |
|
|
50 | (1) |
|
Lesson 2.8 Rotating Shapes |
|
|
51 | (3) |
|
Project: Interactive Environment |
|
|
54 | (3) |
|
Chapter 3 Automated Animations |
|
|
57 | (28) |
|
Lesson 3.1 Counting Variables |
|
|
58 | (6) |
|
Lesson 3.2 Moving Objects In Multiple Directions |
|
|
64 | (3) |
|
Lesson 3.3 Growing Shapes With The Mouse |
|
|
67 | (2) |
|
Lesson 3.4 Printin() For Debugging |
|
|
69 | (2) |
|
Lesson 3.5 Constraint() For Stopping Animations |
|
|
71 | (5) |
|
Lesson 3.6 Randomo Opportunities |
|
|
76 | (4) |
|
Lesson 3.7 Automated Rotations |
|
|
80 | (2) |
|
Project: Automated Environment |
|
|
82 | (3) |
|
Chapter 4 Animated Collages |
|
|
85 | (24) |
|
Lesson 4.1 Preparing And Importing Imagery |
|
|
86 | (5) |
|
|
91 | (2) |
|
Lesson 4.3 Fading And Coloring Images Using Tinto |
|
|
93 | (2) |
|
Lesson 4.4 Resizing Images & Multiples |
|
|
95 | (3) |
|
Lesson 4.5 Constraining Mouse Movements |
|
|
98 | (2) |
|
Lesson 4.6 Void Key Pressedo With Image Rotations |
|
|
100 | (2) |
|
|
102 | (4) |
|
Lesson 4.8 Project Optimization And Nosmootho |
|
|
106 | (1) |
|
Project: Animated And Interactive Collage |
|
|
107 | (2) |
|
Chapter 5 Conditional Interactions And Rollovers |
|
|
109 | (26) |
|
Lesson 5.1 Conditional Statements And Relational Operators |
|
|
110 | (4) |
|
Lesson 5.2 Conditional Statements With Custom Variables |
|
|
114 | (2) |
|
|
116 | (4) |
|
Lesson 5.4 Logical Operators Defining Spaces |
|
|
120 | (3) |
|
Lesson 5.5 Variations With Mouse And Keyboard Actions |
|
|
123 | (3) |
|
Lesson 5.6 Two Variables: Alternating Movements |
|
|
126 | (2) |
|
Lesson 5.7 Color Detection Using The Get() Function |
|
|
128 | (4) |
|
Project: Rollover Animation |
|
|
132 | (3) |
|
Chapter 6 Events And Interactions For Simple Games: Part 1 |
|
|
135 | (22) |
|
Lesson 6.1 Turning Things On With Boolean Variables |
|
|
137 | (2) |
|
Lesson 6.2 Toggling Between Two States Using Boolean Variables |
|
|
139 | (3) |
|
Lesson 6.3 Multiple Buttons Alternating |
|
|
142 | (3) |
|
Lesson 6.4 Booleans Working With Numerical Variables |
|
|
145 | (2) |
|
Lesson 6.5 Specific Keyboard Interactions |
|
|
147 | (3) |
|
Lesson 6.6 Creating A Walking Character |
|
|
150 | (3) |
|
|
153 | (4) |
|
Chapter 7 Events And Interactions For Simple Games: Part 2 |
|
|
157 | (32) |
|
|
158 | (4) |
|
Lesson 7.2 Continuous Motion Key Controls |
|
|
162 | (2) |
|
Lesson 7.3 For Loops Are Efficient |
|
|
164 | (4) |
|
Lesson 7.4 Color Detection With For Loops |
|
|
168 | (2) |
|
Lesson 7.5 Game Creation From Keys, Loops, And Color Detection |
|
|
170 | (5) |
|
Lesson 7.6 Image Collisions With The Distance!) Function |
|
|
175 | (5) |
|
Lesson 7.7 Two Players, Directional Movement, And Jumping! |
|
|
180 | (9) |
|
Chapter 8 Multilevel Architectures And Arrays |
|
|
189 | (33) |
|
Lesson 8.1 Basic Levels Architecture |
|
|
190 | (4) |
|
Lesson 8.2 States Within Levels |
|
|
194 | (6) |
|
|
200 | (5) |
|
|
205 | (5) |
|
Lesson 8.5 Player Options |
|
|
210 | (4) |
|
Lesson 8.6 Choice-Based Projects |
|
|
214 | (8) |
Conclusion |
|
222 | (1) |
Final Project: Multilevel Interactive Experience |
|
223 | (4) |
Index |
|
227 | |