Commit Graph

127 Commits

Author SHA1 Message Date
Sam El-Husseini
2157af3e63 Using game loop instead of queueAnimationUpdate 2017-12-19 14:20:35 -08:00
Sam El-Husseini
785ddff706 Reverting screen optimization to use SetInterval and didChange 2017-12-19 12:53:12 -08:00
Sam El-Husseini
0529759a80 Fix ultrasonic value to use cm instead of 0.1 cm units (#110)
* Fix simulator

* use 250 instead of 255
2017-12-18 20:30:56 -08:00
Sam El-Husseini
e6e1dce59f Add tiny padding around the screen for the canvas. 2017-12-18 17:07:23 -08:00
Sam El-Husseini
84c1079e50 Fix Safari bug. 2017-12-18 13:19:49 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00
Caitlin Hennessy
e591bed6ad Add 'clear screen' block to brick category (#100) 2017-12-15 14:29:10 -08:00
Caitlin Hennessy
a02f364a4c Update function names for consistency 2017-12-15 10:42:44 -08:00
Caitlin Hennessy
d436bd1227 Fix simulator stop() method 2017-12-14 09:41:01 -08:00
Caitlin Hennessy
cb648019bb Progress 2017-12-14 09:17:47 -08:00
Caitlin Hennessy
2d81be3b24 Add 'stopAllSounds' block 2017-12-13 16:31:42 -08:00
Richard Knoll
fa867c3a34 Cleanup 2017-12-12 15:24:36 -08:00
Sam El-Husseini
1bf1eb16f0 Update to latest TS and update blocks colors to match Lego's edu colors 2017-12-11 16:55:00 -08:00
Caitlin Hennessy
e87e1767b5 Null check 2017-12-08 11:16:47 -08:00
System Administrator
193f66fd2d Limit sound concurrency to 1 2017-12-07 16:27:28 -08:00
Michal Moskal
ebbbe6e86c Add sounds (only simulator for now) 2017-10-30 17:25:58 +00:00
Michal Moskal
9cdb4081fd Add PNG decompressor in SIM 2017-10-30 14:42:08 +00:00
Peli de Halleux
8fa6cf41ca updated build files 2017-10-23 13:43:59 -07:00
Sam El-Husseini
84d80131d4 Various UI fixes. Block refactoring and adding touch and color blocks. 2017-10-03 02:28:44 -04:00
Michal Moskal
0dfde3b65f Implement text/icon methods in simulator 2017-07-13 22:01:39 +02:00
Sam El-Husseini
5ea8048f0c Limit screen updates to once every 30ms and only if needed. 2017-07-12 12:26:14 +03:00
Sam El-Husseini
8215e8446a Sim screen canvas implementation and _setPixel. 2017-07-12 10:25:17 +03:00
Michal Moskal
ad5d5daee5 Adding local include with constants; dropping LMS enum 2017-07-11 16:18:59 +02:00
Sam El-Husseini
b4428b1eef Update lights orange color 2017-07-11 16:20:19 +03:00
Sam El-Husseini
0ef0fdf69a Fixed button mappings. 2017-07-11 13:04:01 +03:00
Michal Moskal
4f6941e6cf Implement button mmap 2017-07-11 11:40:40 +02:00
Sam El-Husseini
46c18af461 Initial board SVG and basic simulator 2017-07-11 11:15:17 +03:00