pxt-arcade 1.13.12 → 1.13.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/sim.js +233 -67
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.json +1 -1
- package/docs/static/skillmap/racer/share.png +0 -0
- package/docs/test/skillmap/racer/racer1.md +87 -78
- package/docs/test/skillmap/racer/racer2.md +50 -55
- package/docs/test/skillmap/racer/racer3.md +113 -27
- package/docs/test/skillmap/racer.md +69 -0
- package/docs/test/skillmap/space/space1.md +205 -0
- package/docs/test/skillmap/space/space2.md +186 -0
- package/docs/test/skillmap/space/space3.md +374 -0
- package/docs/test/skillmap/space/space4.md +409 -0
- package/docs/test/skillmap/space/space4a.md +291 -0
- package/docs/test/skillmap/space/space5.md +433 -0
- package/docs/test/skillmap/space/space6.md +343 -0
- package/docs/test/skillmap/space.md +109 -0
- package/docs/test/tutorials/birthday.md +2 -2
- package/docs/test/tutorials/blazing.md +18 -5
- package/package.json +3 -3
|
@@ -117,9 +117,21 @@ This makes sure that each sprite doesn't drop off the screen once gravity is app
|
|
|
117
117
|
|
|
118
118
|
- :binoculars: Look at your project in the game window to see what your code has done.
|
|
119
119
|
|
|
120
|
-
You should three
|
|
120
|
+
You should three sprites all in a row.
|
|
121
121
|
|
|
122
122
|
|
|
123
|
+
~hint What's a sprite? 💡
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
In Arcade, each character or image that does something is called a **SPRITE**.
|
|
128
|
+
|
|
129
|
+
Sprites have properties that you can use and change -- things like scale, position, and lifespan are all properties of sprites.
|
|
130
|
+
|
|
131
|
+
Our players will be sprites, too.
|
|
132
|
+
|
|
133
|
+
hint~
|
|
134
|
+
|
|
123
135
|
|
|
124
136
|
|
|
125
137
|
|
|
@@ -175,7 +187,7 @@ game.onUpdateInterval(900, function () {
|
|
|
175
187
|
|
|
176
188
|
## {8. Add the Finish Line}
|
|
177
189
|
|
|
178
|
-
**Add an
|
|
190
|
+
**Add an end point**
|
|
179
191
|
|
|
180
192
|
We need to know when the projectiles reach the left side of the screen so the players can get a point.
|
|
181
193
|
|
|
@@ -254,7 +266,7 @@ The first player should jump when you press the **(A) button** or space bar.
|
|
|
254
266
|
You can make **player 2** jump by pressing the **U key** on your keyboard,
|
|
255
267
|
or your can click the multiplayer icons to test any player with the space bar.
|
|
256
268
|
|
|
257
|
-

|
|
258
270
|
|
|
259
271
|
|
|
260
272
|
|
|
@@ -355,14 +367,13 @@ sprites.onOverlap(SpriteKind.Projectile, SpriteKind.Player, function (sprite, ot
|
|
|
355
367
|
|
|
356
368
|
Use the multiplayer icons to test your game with each player.
|
|
357
369
|
|
|
358
|
-

|
|
359
371
|
|
|
360
372
|
You should lose a life when a fireball hits anyone on the team, but gain a point when all players avoid a fireball.
|
|
361
373
|
|
|
362
374
|
|
|
363
375
|
|
|
364
376
|
|
|
365
|
-
|
|
366
377
|
## {Finale}
|
|
367
378
|
|
|
368
379
|
**🔥 Way to Go 🔥**
|
|
@@ -371,6 +382,8 @@ You have finished your multiplayer game!
|
|
|
371
382
|
|
|
372
383
|
When you're ready, sign-in and click **Done** to work together with friends online to win your game.
|
|
373
384
|
|
|
385
|
+
**Can your team score 20 points before they're out of lives?**
|
|
386
|
+
|
|
374
387
|
|
|
375
388
|
|
|
376
389
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-arcade",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.13",
|
|
4
4
|
"description": "Small arcade editor for MakeCode",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"pxt-common-packages": "10.4.6",
|
|
37
|
-
"pxt-core": "8.6.
|
|
37
|
+
"pxt-core": "8.6.19"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.11.
|
|
40
|
+
"pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.11.2"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"serve": "node node_modules/pxt-core/built/pxt.js serve",
|