Skip to content

Commit 216b1fd

Browse files
committed
Update main.blocks, main.ts
1 parent 7be5540 commit 216b1fd

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

.github/makecode/blocks.png

-12.7 KB
Loading

.github/makecode/blocksdiff.png

23.5 KB
Loading

main.blocks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="jklA:2+%8I!;1ybm8^#j" x="0" y="0"/><block type="keyonevent" id="+X5IMjXuG:wHI*:u7D:`" x="240" y="60"><field name="button">controller.A</field><field name="event">ControllerButtonEvent.Pressed</field></block><block type="gameupdate" id="M}26)Y+Dr,%U2}-bj^Zp" x="240" y="280"/></xml>
1+
<xml xmlns="https://developers.google.com/blockly/xml"/>

main.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
2-
3-
})
4-
game.onUpdate(function () {
5-
6-
})
1+

0 commit comments

Comments
 (0)