Extension—Makey Makey

With the Makey Makey extension, you can combine some keys.

Add the Makey Makey extension

1. Click the Sprites tab and click + extension at the bottom of the Blocks area.

1596678324368-09d85f7e-60ff-4c06-b35c-189b1765b5bc.png

2. On the Extension center page that appears, click + Add at the bottom of Makey Makey.

image.png

After being added, the extension and its blocks are displayed in the Blocks area.

1596707266501-dc7e454e-05ae-4b88-a6b2-ad85108bdff8.png

Use the Makey Makey blocks

1. Drag the Makey Makey block when ( ) key pressed and Motion block change y by ( ) to the Scripts area to add a control key for the sprite.

1596707371143-a2aaf616-6b28-4c07-a124-29e9503e05cf.gif

2. Repeat the previous step to add control keys as shown in the following figure.、

1596707106846-b01c436c-5a87-41ba-99a7-e90ac55101c7.png

3. Use the controller to control the sprite.

1596707105894-d20bf30c-8895-4825-9046-64eebead2352.gif

4. You can also make the sprite do a somersault by compiling the following script.

1596707530213-1532bdf6-b047-4ae0-b93e-47688f7cfe63.png

1596707106854-b465e313-3ebf-4dee-867d-59a8286c637a.gif

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.