Skip to content

Commit 1cbb8c0

Browse files
authored
Merge pull request #404 from bcorfman/successcheck
Last edits to pattern demo doc
2 parents 4ecf147 + 94c921e commit 1cbb8c0

1 file changed

Lines changed: 27 additions & 5 deletions

File tree

docs/getting-started/pattern-demo.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Success check:
137137
- Under Arrange Items, click `Distribute X`.
138138
- Under Position Selection, type `120` under `Y`, then click `Set Y`.
139139
- Under Align Selection, click `Center X`.
140+
- Under Advanced, level the ships with `Match top edges`
140141
- Click the "Close" button at the bottom of the Layout popup, or just click in a blank area of the canvas to close it.
141142

142143
7. Click a blank space somewhere in the canvas to deselect the top-row sprites.
@@ -146,6 +147,7 @@ Success check:
146147
- Under Arrange Items, click `Distribute X`.
147148
- Under Position Selection, type `340` under `Y`, then click `Set Y`.
148149
- Under Align Selection, click `Center X`.
150+
- Under Advanced, level the ships with `Match top edges`
149151
- Click the "Close" button at the bottom of the Layout popup, or just click in a blank area of the canvas to close it.
150152

151153
<img src="../assets/screenshots/playwright/ships-and-titles.png" alt="Ships and titles lined up" style="display: block; margin: 0 auto; width: 910px; max-width: 100%; height: auto;" />
@@ -160,8 +162,6 @@ Success check:
160162

161163
**NOTE:** The goal is to build the patterns one ship at a time in the same scene-start event flow. Take your time, and work ship-by-ship. Your progress is saved automatically, so you can return to the process later.
162164

163-
**NOTE:** Hit `Play Mode` in the upper-right of the canvas to check each ship's actions as you build them. After you've viewed the action steps, click the same button again to return to `Edit Mode`.
164-
165165
<img src="../assets/screenshots/playwright/actions-events-panel.png" alt="Actions and events panel" style="display: block; margin: 0 auto; width: 408px; max-width: 100%; height: auto;" />
166166

167167
<p align="center"><em>Figure 9. Actions/Events panel for authoring scene-start handlers and action steps.</em></p>
@@ -190,23 +190,30 @@ Success check:
190190
9. Click on the `Loop Body` name in the Steps list.
191191

192192
**NOTE:** The Inspector will switch to show `Loop Body` step properties.
193+
193194
10. Set the `Loop Body` step properties to the following:
194-
- `Type = Wave`
195-
- The other defaults are fine.
195+
- `Type = Wave`
196+
- The other defaults are fine.
196197
11. Click the Back arrow in the properties panel to return to the Actions list.
197198

199+
Success check:
200+
- Click the `Play Mode` button in the upper right of the canvas to check that the ship moves in a wave pattern.
201+
198202
<img src="../assets/screenshots/playwright/wave-pattern-panel.png" alt="Wave pattern inspector" style="display: block; margin: 0 auto; width: 460px; max-width: 100%; height: auto;" />
199203

200204
<p align="center"><em>Figure 10. Wave pattern inspector with intro-step progress parameters.</em></p>
201205

206+
202207
### Zigzag action
203208

204209
1. Select the ship titled `Zigzag` on the canvas or in the scene graph.
205210

206211
**NOTE:** Remember to collapse other panels besides `Actions/Events` in the Inspector if it is too cluttered.
212+
207213
2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel.
208214

209215
**NOTE:** The Action Library popup will appear.
216+
210217
3. In the Action Library categories, click the `Loops` tab.
211218
4. Under Actions, choose `Repeat With Children…`
212219
5. Leave `Children = 2`, set `Child Type = Zigzag Pattern` and click the `Create` button.
@@ -227,7 +234,7 @@ Success check:
227234
- Click the Back arrow in the properties panel to return to the Actions list.
228235
9. Click the `...` next to the Loop in the Actions list.
229236

230-
**NOTE:** A popup menu will appear below.
237+
**NOTE:** A popup menu will appear below.
231238
10. Click `+ Add Action Above` in the popup menu.
232239

233240
**NOTE:** The Action Library will popup above the Loop action.
@@ -237,6 +244,9 @@ Success check:
237244
- `Δx = -15`
238245
- `Δy = -30`
239246

247+
Success check:
248+
- Click the `Play Mode` button in the upper right of the canvas to check that the ship moves in a zigzag pattern.
249+
- Click the `Edit Mode` button to resume editing.
240250

241251
### Figure-8 action
242252

@@ -254,6 +264,10 @@ Success check:
254264
- The other defaults are fine.
255265
- Click the Back arrow in the properties panel to return to the Actions list.
256266

267+
Success check:
268+
- Click the `Play Mode` button in the upper right of the canvas to check that the ship moves in a figure-8 pattern.
269+
- Click the `Edit Mode` button to resume editing.
270+
257271
### Orbit action
258272

259273
1. Select the ship titled `Orbit` on the canvas.
@@ -289,6 +303,10 @@ Success check:
289303
- The other defaults are fine.
290304
- Click the Back arrow in the properties panel to return to the Actions list.
291305

306+
Success check:
307+
- Click the `Play Mode` button in the upper right of the canvas to check that the ship moves in an orbiting pattern.
308+
- Click the `Edit Mode` button to resume editing.
309+
292310
### Bounce action
293311

294312
1. Select the ship titled `Bounce` on the canvas.
@@ -309,6 +327,10 @@ Success check:
309327

310328
<p align="center"><em>Figure 11. Bounce pattern with the bounds helper in Center/Span mode.</em></p>
311329

330+
Success check:
331+
- Click the `Play Mode` button in the upper right of the canvas to check that the ship bounces around in the defined box.
332+
- Click the `Edit Mode` button to resume editing.
333+
312334
### Patrol action
313335

314336
1. Select the ship titled `Patrol` on the canvas.

0 commit comments

Comments
 (0)