Skip to content

Commit 19e392d

Browse files
Merge pull request scratchfoundation#5263 from LLK/hotfix/hoc-2-tutorials-2019
[hotfix] Add 2 HoC tutorials
2 parents 5253554 + f19ac74 commit 19e392d

30 files changed

+446
-116
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
/node_modules
66
npm-*
77

8+
# Double copies of all the static assets and tutorial gifs
9+
/src
10+
811
# Testing
912
/.nyc_output
1013
/coverage

src/lib/libraries/decks/en-steps.js

Lines changed: 66 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,34 @@ import moveArrowKeysUpDown from './steps/move-arrow-keys-up-down.en.png';
170170
import glideAroundBackAndForth from './steps/glide-around-back-and-forth.en.png';
171171
import glideAroundPoint from './steps/glide-around-point.en.png';
172172

173+
// Code a Cartoon
174+
import codeCartoonSaySomething from './steps/code-cartoon-01-say-something.en.png';
175+
import codeCartoonAnimate from './steps/code-cartoon-02-animate.en.gif';
176+
import codeCartoonSelectDifferentCharacter from './steps/code-cartoon-03-select-different-character.en.gif';
177+
import codeCartoonUseMinusSign from './steps/code-cartoon-04-use-minus-sign.en.gif';
178+
import codeCartoonGrowShrink from './steps/code-cartoon-05-grow-shrink.en.gif';
179+
import codeCartoonSelectDifferentCharacter2 from './steps/code-cartoon-06-select-another-different-character.en.gif';
180+
import codeCartoonJump from './steps/code-cartoon-07-jump.en.gif';
181+
import codeCartoonChangeScenes from './steps/code-cartoon-08-change-scenes.en.gif';
182+
import codeCartoonGlideAround from './steps/code-cartoon-09-glide-around.en.gif';
183+
import codeCartoonChangeCostumes from './steps/code-cartoon-10-change-costumes.en.gif';
184+
import codeCartoonChooseMoreCharacters from './steps/code-cartoon-11-choose-more-characters.en.jpg';
185+
186+
// Talking Tales
187+
import talesAddExtension from './steps/talking-1-add-extension.en.gif';
188+
import talesChooseSprite from './steps/talking-2-choose-sprite.en.png';
189+
import talesSaySomething from './steps/talking-3-say-something.en.gif';
190+
import talesChooseBackdrop from './steps/talking-4-choose-backdrop.en.png';
191+
import talesSwitchBackdrop from './steps/talking-5-switch-backdrop.en.gif';
192+
import talesChooseAnotherSprite from './steps/talking-6-choose-another-sprite.en.png';
193+
import talesMoveAround from './steps/talking-7-move-around.en.gif';
194+
import talesChooseAnotherBackdrop from './steps/talking-8-choose-another-backdrop.en.png';
195+
import talesAnimateTalking from './steps/talking-9-animate.en.gif';
196+
import talesChooseThirdBackdrop from './steps/talking-10-choose-third-backdrop.en.png';
197+
import talesChooseSound from './steps/talking-11-choose-sound.en.gif';
198+
import talesDanceMoves from './steps/talking-12-dance-moves.en.gif';
199+
import talesAskAnswer from './steps/talking-13-ask-and-answer.en.gif';
200+
173201
const enImages = {
174202
// Intro
175203
introMove: introMove,
@@ -276,7 +304,7 @@ const enImages = {
276304
flyAddScenery: flyAddScenery,
277305
flyMoveScenery: flyMoveScenery,
278306
flySwitchLooks: flySwitchLooks,
279-
307+
280308
// Pong
281309
pongAddBackdrop: pongAddBackdrop,
282310
pongAddBallSprite: pongAddBallSprite,
@@ -291,7 +319,7 @@ const enImages = {
291319
pongResetScore: pongResetScore,
292320
pongAddLineSprite: pongAddLineSprite,
293321
pongGameOver: pongGameOver,
294-
322+
295323
// Imagine a World
296324
imagineTypeWhatYouWant: imagineTypeWhatYouWant,
297325
imagineClickGreenFlag: imagineClickGreenFlag,
@@ -308,26 +336,26 @@ const enImages = {
308336
imagineSwitchBackdrops: imagineSwitchBackdrops,
309337
imagineRecordASound: imagineRecordASound,
310338
imagineChooseSound: imagineChooseSound,
311-
339+
312340
// Add a Backdrop
313341
addBackdrop: addBackdrop,
314-
342+
315343
// Add Effects
316344
addEffects: addEffects,
317-
345+
318346
// Hide and Show
319347
hideAndShow: hideAndShow,
320-
348+
321349
// Switch Costumes
322350
switchCostumes: switchCostumes,
323-
351+
324352
// Change Size
325353
changeSize: changeSize,
326-
354+
327355
// Spin
328356
spinTurn: spinTurn,
329357
spinPointInDirection: spinPointInDirection,
330-
358+
331359
// Record a Sound
332360
recordASoundSoundsTab: recordASoundSoundsTab,
333361
recordASoundClickRecord: recordASoundClickRecord,
@@ -341,9 +369,35 @@ const enImages = {
341369

342370
// Glide Around
343371
glideAroundBackAndForth: glideAroundBackAndForth,
344-
glideAroundPoint: glideAroundPoint
345-
372+
glideAroundPoint: glideAroundPoint,
373+
374+
// Code a Cartoon
375+
codeCartoonSaySomething: codeCartoonSaySomething,
376+
codeCartoonAnimate: codeCartoonAnimate,
377+
codeCartoonSelectDifferentCharacter: codeCartoonSelectDifferentCharacter,
378+
codeCartoonUseMinusSign: codeCartoonUseMinusSign,
379+
codeCartoonGrowShrink: codeCartoonGrowShrink,
380+
codeCartoonSelectDifferentCharacter2: codeCartoonSelectDifferentCharacter2,
381+
codeCartoonJump: codeCartoonJump,
382+
codeCartoonChangeScenes: codeCartoonChangeScenes,
383+
codeCartoonGlideAround: codeCartoonGlideAround,
384+
codeCartoonChangeCostumes: codeCartoonChangeCostumes,
385+
codeCartoonChooseMoreCharacters: codeCartoonChooseMoreCharacters,
386+
387+
// Talking Tales
388+
talesAddExtension: talesAddExtension,
389+
talesChooseSprite: talesChooseSprite,
390+
talesSaySomething: talesSaySomething,
391+
talesAskAnswer: talesAskAnswer,
392+
talesChooseBackdrop: talesChooseBackdrop,
393+
talesSwitchBackdrop: talesSwitchBackdrop,
394+
talesChooseAnotherSprite: talesChooseAnotherSprite,
395+
talesMoveAround: talesMoveAround,
396+
talesChooseAnotherBackdrop: talesChooseAnotherBackdrop,
397+
talesAnimateTalking: talesAnimateTalking,
398+
talesChooseThirdBackdrop: talesChooseThirdBackdrop,
399+
talesChooseSound: talesChooseSound,
400+
talesDanceMoves: talesDanceMoves
346401
};
347402

348-
349403
export {enImages};

0 commit comments

Comments
 (0)