25 Commits

Author SHA1 Message Date
Leo
82386e8144 Fix remove life animation causing microbit stuck ()
On the real microbit board, if the program execute other game blocks while
the remove life animation is playing, it would cause strange behavior or
even make the game stuck.
2019-09-03 13:30:40 -07:00
Galen Nickel
aff219c6ef Fill in some parameter TODO's () 2019-04-04 20:32:48 -07:00
Xuefeng education
30b6ae3acd Remove punctuation for isTouching, isTouchingEdge ()
* Remove punctuation for isTouching, isTouchingEdge

* Update isTouching,isTouchingEdge in core-strings.json
2018-12-02 21:41:52 -08:00
Galen Nickel
55e5125449
Add game state boolean ref docs ()
* Add game state boolean doc refs

* Add check for _img validity

* JS guru tricks
2018-12-02 20:11:17 -08:00
Xuefeng education
b867e909d2 Show block for isGameOver(),isRunning(),isPaused() () 2018-11-28 21:12:53 -08:00
Galen Nickel
08e9c9c416 Add game 'life' api reference () 2018-11-01 22:22:54 -07:00
Peli de Halleux
4b2ed73382
fix brightness () 2018-10-11 14:08:46 -07:00
Sam El-Husseini
9bc6d994a8
Update block pallette slightly to more saturated colours in order to increase constrast between block color and stroke color () 2018-10-01 14:39:51 -07:00
Richard Knoll
4c28160a34
Fixing authoring on a few APIs for Monaco toolbox () 2018-08-14 10:18:23 -07:00
Richard Knoll
68361499a2
Fixing blink on sprites () 2018-08-06 14:34:04 -07:00
Peli de Halleux
09471f84de updated strings 2017-10-16 10:01:41 -07:00
Peli de Halleux
cdbc34550a Various fixes ()
* adding running time micros

* support for system micro seconds

* restore display mode after plotting sprites

* bump pxt
2017-10-11 11:31:07 -07:00
Peli de Halleux
fa8dfd1dc3 Game score fix ()
* guard against spurious 'add score' animations

* don't render sprites while background animation

* switch to bw while doing score animation

* clean up display mode

* updated enum declarations
2017-09-25 10:54:40 -07:00
ganicke
6110abc17f Enable more help topics for game API. 2017-08-10 12:01:20 -07:00
Peli de Halleux
5e7cba3882 ensure game library runs in greyscale 2017-08-02 15:00:25 -07:00
Peli de Halleux
74799c65ac Support for pause/resume of game rendering loop ()
* added pause/resume

* don't override displaymode in game engine

* avoid setting light sensing display mode
2017-08-01 08:17:53 -07:00
HelenFoster
07f86be501 Make Game blocks summary comments more helpful () 2017-07-21 05:35:50 -07:00
HelenFoster
ab4e1c3dd7 Stop deleted sprites touching others ()
* Stop deleted sprites touching others ()

* Update description of Delete Sprite block ()
2017-07-21 05:15:56 -07:00
Peli de Halleux
1e4014dc03 Gamefixes ()
* call plot after deleting sprite

* fix double registration
2017-04-21 10:40:31 -07:00
Peli de Halleux
5d8ccd1d6d adding namespace to api categories ()
* adding namespace to api categories

* add icon for led

* adding icons for control, game, images, pins and serial.
2017-01-05 07:01:50 -08:00
Peli de Halleux
1649811015 expose "delete" in blocks.
fix for https://github.com/Microsoft/pxt/issues/870
2016-12-08 08:54:05 -08:00
Peli de Halleux
14f16f9b2c expose game.setScore in blocks
fix for https://github.com/Microsoft/pxt/issues/881
2016-12-08 08:51:18 -08:00
Peli de Halleux
d457c3e8d0 exposing delete in blocks 2016-12-06 16:19:35 -08:00
Richard Knoll
9f5ebdfb78 Adding advanced attribute to blocks and categories () 2016-10-11 13:48:25 -07:00
Sam El-Husseini
277d5a721c rename "microbit" package to "core" ()
* rename "microbit" package to "core" 

* shouldn't edit the package id.

* updating package.json

* updated the wrong version

* missed updating pxt.json of tests
2016-10-10 16:21:50 -07:00