From b611909d9942edcd0457a4bc2a0fd1612557a3f1 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 4 Apr 2019 13:41:28 -0700 Subject: [PATCH] adding led game sprite (#1959) --- pxtarget.json | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pxtarget.json b/pxtarget.json index cb0b6442..97df1a2c 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -110,7 +110,14 @@ "listsBlocks": true, "functionBlocks": true, "functionsOptions": { - "useNewFunctions": true + "useNewFunctions": true, + "extraFunctionEditorTypes": [ + { + "typeName": "game.LedSprite", + "icon": "send", + "defaultName": "sprite" + } + ] }, "onStartColor": "#1E90FF", "onStartNamespace": "basic", @@ -287,9 +294,11 @@ "simScreenshot", "simGif" ], - "bluetoothUartFilters": [{ - "namePrefix": "BBC micro:bit" - }], + "bluetoothUartFilters": [ + { + "namePrefix": "BBC micro:bit" + } + ], "docMenu": [ { "name": "Support", @@ -448,4 +457,4 @@ "simGifMaxFrames": 44, "simScreenshotMaxUriLength": 300000 } -} +} \ No newline at end of file