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
06f66571cf
Upgrading to pxt 3.5.4 ( #367 )
...
* pxt/common updates
* added game lib
* removing gamelib
2018-03-16 14:32:11 -07:00
Sam El-Husseini
49dc3b0a75
Fix resizing of screen canvas to ensure it fits within the area in the ev3 svg ( #365 )
2018-03-08 14:34:27 -08:00
Peli de Halleux
d4b3ebc2e4
Missing updatestats ( #351 )
...
* aligning screeninit with pxt32
* remove shim
* missing shim
* missing shim
2018-02-26 21:25:04 -08:00
Michał Moskal
c2d26a8418
Integrate screen APIs from common packages ( #343 )
...
* starting screen api intergration
* Further image integration
* Aligning with new screen apis
* Build fixes
* Adjust to common screen state
* Fix unpackPNG
* Add game library
* Optimize screen rendering
* bumping common packages
* updated shims
* moving images into ev3
* upgrading to common packages
* added try/use
* cap
* fixed tryp age
2018-02-26 15:16:17 -08:00
Sam El-Husseini
a2218d9ba5
Fix canvas (screen) user select options to disable selection in Safari, Mozilla, etc. ( #348 )
2018-02-26 13:58:51 -08:00
Caitlin Hennessy
22ce840181
Widget fixes ( #316 )
...
* Use bBox in motor slider
* Use setRate instead of setAngle in gyro widget
2018-02-08 16:55:23 -08:00
Peli de Halleux
74ca722aac
updated IR arts
2018-02-07 09:53:58 -08:00
Peli de Halleux
931ca40f49
updated IR art
2018-02-07 08:13:46 -08:00
Peli de Halleux
e58ec06e91
IR button indexing fixes ( #303 )
...
* IR remote id fixes
* hiding private api
* fixing indexing of buttons
2018-02-05 15:11:11 -08:00
Peli de Halleux
538493369b
adding button class on remote buttons
2018-02-05 13:57:24 -08:00
Peli de Halleux
22c31c57df
fix port bug
2018-02-02 14:19:07 -08: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
Caitlin Hennessy
4dfada877c
Implement simulator sensor for ambient and reflected light ( #301 )
...
* Initial work
* More stuff
* Stuff
* Stuff
* Hardcoded dashed line
* High and low thresholds
* Use rect bBox
* Add back grabbing hand
* Threshold placement
* Cleanup
* Don't need defs
* pxtarget
* Remove dashed lines for now
2018-02-02 13:24:50 -08:00
Peli de Halleux
ba47fb0589
Support for remote control buttons ( #300 )
...
* refactor beacon function inside IR sensor
* towards sim support
* channel labels
* reverting to singletons
* hiding unused apis
* lazy allocation of button instances
* tracking button state
* hook up the state
2018-02-02 09:48:27 -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
c7cb300cd9
fixing lights in Edge/Firefox
2018-02-01 14:03:36 -08:00
Peli de Halleux
2c0cc6a3d7
Use decodebase64 ( #295 )
...
* avoid atob directly
* prevent port names to be selected
* updated pxt
2018-01-31 18:10:15 -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
Peli de Halleux
fcf91caeb4
Zoom screen ( #285 )
...
* always start with full brick layout
* adding 'on start' to template
* render entire board when selected
* zoom brick when clicking on screen
* resize when zooming
* toggle zooming of the brick
* inject close icon when selected
* fix toggling
2018-01-30 22:22:21 -08:00
Peli de Halleux
8a331648d6
Field editor fixes in Firefox ( #284 )
...
* fixing speed field picker
* switching to open sans
* alignment-baseline not support in FF
2018-01-30 20:40:41 -08:00
Peli de Halleux
a60427e2cf
using audio context manager function ( #243 )
...
* using audio context manager function
* updated pxt reference
* trigger build
2018-01-18 13:53:33 -08:00
Peli de Halleux
9fadf49b0e
Support for multiple motors in "used" logic. ( #238 )
...
* handle registerion of dual / single motors
* updated puppy
2018-01-15 23:57:21 -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
751ea1494b
motor slider fixes and fix motor output in vm
2018-01-12 13:33:25 -08:00
Sam El-Husseini
dfe84471e8
Merge pull request #144 from Microsoft/motorslider
...
Add motor slider control
2018-01-12 13:04:45 -08:00
Michał Moskal
20a4673f98
First draft of storage APIs ( #122 )
...
* First draft of storage APIs
* bumped pxt-core
* using fixed instances to seprate temp from permanent
* send console to storage
* sim support
* missing sim stubs
* adding storage blocks
* more sim support
* remove storage from default package
* fix rendering of ms
* render raw ms
* slize at better place
* duplicate bundled dir
* refactor limit
* simplify limit logic
2018-01-11 20:05:45 -08:00
Peli de Halleux
9d5ca35e83
fix battery encoding
2018-01-11 08:47:09 -08:00
Peli de Halleux
0dd5ab9bde
appliying manual speed
2018-01-10 14:08:50 -08:00
Sam El-Husseini
e93e659e8a
nit: remove unnecessary comment
2018-01-10 13:51:35 -08:00
Sam El-Husseini
8357372fb5
Update to make it more like a crank
2018-01-10 13:47:39 -08:00
Sam El-Husseini
aa8635c4e7
Always use the motor slider control
2018-01-10 10:00:48 -08:00
Sam El-Husseini
4e4f5495da
Merge branch 'master' into motorslider
2018-01-10 09:56:59 -08:00
Peli de Halleux
ce3383f1b7
Turn ratio field editor ( #225 )
...
* Turn ratio field editor (initial draft)
* Add field turn ratio editor
* Fix arrow rotation
* Fix left and right direction, remove unnecessary SVG circles.
* Update UI a little. add marker.
* updated math for turnratio angle
* slightly cuter
* cleanup
* consistent naming
* more cleanup
* fixing motor node issue
* updated package version
2018-01-09 22:05:26 -08:00
Sam El-Husseini
50f6c77fdb
Fix port labels in the simulator. Fixes #219
2018-01-09 14:43:01 -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
Peli de Halleux
9ae6482f28
fixing isReady query on motors ( #197 )
2018-01-06 00:00:04 -08:00
Sam El-Husseini
50f6b04ed4
Re-implement Math.sign so it works on IE 11 (not supported). Square shaped corners for Flyout
2018-01-05 17:35:25 -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
Peli de Halleux
aa06fd344a
store synched motor info always ( #187 )
2018-01-05 08:40:49 -08:00
Sam El-Husseini
de91dc6ab7
Handle the case where multiple motors or multiple sensors are connected to the same port. ( #181 )
2018-01-04 21:57:01 -08:00
Peli de Halleux
1e460eef9e
basic reading of battery level ( #182 )
2018-01-04 21:50:13 -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
Caitlin Hennessy
39ba9b81af
Initial work
2018-01-04 12:20:31 -08:00
Peli de Halleux
4d223374b5
Differential drive ( #164 )
...
* clear sync speed cmd
* differential drive model
* use cm/s
* fixed aggressive clearing of motor sync command
* better computation of turn artio
* improved robot dimensions
* moving block up
* hanbdle infinite case
* correct handling of inifinte time/step
* better stop handling
2018-01-03 00:27:05 -08:00
Sam El-Husseini
955a2c9757
Better fix for null dereferencing issue. Fix initial Color sensor mode (default).
2018-01-02 22:51:12 -08:00
Sam El-Husseini
b0c54e84e6
Update Color sensor control (colorGrid) to match spec
2018-01-02 22:29:12 -08:00