Commit Graph

27 Commits

Author SHA1 Message Date
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
3c4c38eb59 Fix null dereferencing issue. Fix sensor mode changed not clearing cached control. 2018-01-02 22:22:14 -08:00
Sam El-Husseini
f30eac41e9 Persist selected state of controls across simulator restarts 2017-12-28 11:17:18 -08:00
Peli de Halleux
01f7fe633c
Motorworks2 (#141)
* fixing polarity

* allocate motor on motorUsed only

* perform sub-step integration step for better precision
2017-12-28 09:07:57 -08:00
Sam El-Husseini
a9a9a89811 Better fonts and better alignment of motor reporter control 2017-12-27 20:43:39 -08:00
Sam El-Husseini
2fb75a2d83 Added todo 2017-12-27 17:07:50 -08:00
Sam El-Husseini
0da175a8cd Add motor reporter control 2017-12-27 17:06:23 -08:00
Sam El-Husseini
8be4bb11d8 Fix resizing in controls to work for all sizes including full screen 2017-12-27 16:30:42 -08:00
Sam El-Husseini
0aa41e9a64 Fix resizing flickering issue, remove flip animation on start, remove the need for a default height and width in the layout engine 2017-12-24 11:59:01 -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
ac1e5d2846 Remove constant resize 2017-12-19 21:20:06 -08:00
Sam El-Husseini
11b4bbc07e Fix controls 2017-12-19 17:20:01 -08:00
Peli de Halleux
9cca35d49f encoding 32bit angle into data buffer 2017-12-19 16:54:44 -08:00
Peli de Halleux
aa031036ee updating motor state in game loop 2017-12-19 16:03:26 -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
785ddff706 Reverting screen optimization to use SetInterval and didChange 2017-12-19 12:53:12 -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
Peli de Halleux
8fa6cf41ca updated build files 2017-10-23 13:43:59 -07: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
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
Sam El-Husseini
46c18af461 Initial board SVG and basic simulator 2017-07-11 11:15:17 +03:00