Commit Graph

29 Commits

Author SHA1 Message Date
Sam El-Husseini
e4c3fa0e57 Make the light around the color sensor appear bright and not a reflection of the current color detected. (#561) 2018-05-03 08:39:06 -07:00
Sam El-Husseini
84990d66a9
Update simulator as per latest lego UI design for sensors. Fix full screen layout issues. (#554) 2018-05-02 13:58:59 -07:00
Sam El-Husseini
3c96cfcc0a Change to always show the sensor controls. (#526) 2018-04-16 11:50:12 -07:00
Sam El-Husseini
7f8499bb5f
Always show the motor value regardless if it's 0. (#509) 2018-04-13 14:01:25 -07:00
Sam El-Husseini
379a6a26be
Add large and medium motor speed labels (#480)
* Add large and medium motor speed labels

* Support dual motor labels.
2018-04-10 11:50:58 -07:00
Sam El-Husseini
b8286ab0b9
Medium motor resizing (#472) 2018-04-09 16:24:01 -07:00
Sam El-Husseini
ac1380ec92
Better screen zoom that makes use of the full width of the simulator. (#471) 2018-04-09 16:21:41 -07:00
Sam El-Husseini
d837a515dc Fix brick color not changing to the color red. Fixes 453 (#456) 2018-04-08 03:35:02 -06:00
Sam El-Husseini
0dc2548d0b
Optimize simulator for light mode. (#379)
* Optimize simulator for light mode.

* Add user-select none.
2018-03-28 13:36:52 -07:00
Peli de Halleux
69fcb7407a
Simulator support for remote (#302)
* fixing up state

* upgrading ir simulator

* displaying remote

* updated infrared svg
2018-02-02 13:38:54 -08:00
Peli de Halleux
89a82b54dc
Ir proximity in simulator (#299)
* support for IR proximity

* fixing build issue

* missing break

* remove auto-start of sensor

* setting mode on onEvent

* flooring slider value

* bump up proximity

* fixing threshold blocks
2018-02-01 22:03:01 -08:00
Peli de Halleux
d7ef7c353c typo in generated filter 2018-02-01 14:08:28 -08:00
Peli de Halleux
a0907e7229
fixing button down issues on touch/mouse (#294) 2018-01-31 14:21:17 -08:00
Peli de Halleux
635d4a7624
Fixing race condition of button animation (#292) 2018-01-31 11:48:53 -08:00
Sam El-Husseini
da9bea30b5 Update large motor view SVG so that the drop shadow is outside the hole SVG 2018-01-12 13:50:09 -08:00
Sam El-Husseini
9890f2340a Add no-drag class and set on synced motor labels. Fixes #213 (#221) 2018-01-09 12:04:37 -08:00
Sam El-Husseini
76ff39605a Remove synced motor label when motors are no longer in sync (#189) 2018-01-05 10:54:42 -08:00
Sam El-Husseini
f3f87331c8 nit 2018-01-04 14:09:10 -08:00
Sam El-Husseini
5aef77ccc6 Generalizing motorView for both medium and large motor views. Initial work towards synced motor views. Adding sync label for controller motor. 2018-01-04 14:03:50 -08:00
Sam El-Husseini
f30eac41e9 Persist selected state of controls across simulator restarts 2017-12-28 11:17:18 -08:00
Sam El-Husseini
fb31b81f7e Update motor SVG assets and connections 2017-12-27 14:48:15 -08:00
Sam El-Husseini
c398a5a133 Update padding and fix wiring order 2017-12-26 23:19:04 -08:00
Sam El-Husseini
180f32f25c Simulator refactoring to support better resizing of modules and controls 2017-12-22 14:00:23 -08:00
Sam El-Husseini
c989e2fdab
Merge pull request #121 from Microsoft/motorphysics
Motor work
2017-12-19 17:07:15 -08:00
Sam El-Husseini
d3dcb5de85 Use setChangedState for touch and color sensors 2017-12-19 17:01:45 -08:00
Peli de Halleux
7123bfecd3 removing cancel animation stuff 2017-12-19 16:21:14 -08:00
Sam El-Husseini
ef5fa9ae82 Minor fix to killing the animation when the sim is killed 2017-12-19 14:55:43 -08:00
Sam El-Husseini
2157af3e63 Using game loop instead of queueAnimationUpdate 2017-12-19 14:20:35 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00