Thomas Weber
5ba4494511
ir: compile tw_menu_mouseButton
2020-12-24 21:09:31 -06:00
Thomas Weber
299d8bbaf8
Add tw_getButtonIsDown to compat layer
2020-12-24 21:03:18 -06:00
Thomas Weber
fe08a1a390
Add a docsURI
...
Even though it's not used in a single spot
2020-12-24 20:46:03 -06:00
Thomas Weber
229c6aa48d
Hopefully fix some strange issues
2020-12-24 20:17:02 -06:00
Thomas Weber
66d471d073
Update extension info
2020-12-24 20:14:48 -06:00
Thomas Weber
12cc04b0a3
Add block for individual mouse buttons being down
2020-12-24 19:23:21 -06:00
Thomas Weber
279a31e950
Internal support and tests for tracking individual mouse buttons
2020-12-24 19:04:48 -06:00
Thomas Weber
1e4d02ab71
Fix tests that broke because we have an always-loaded extension now
2020-12-24 18:43:33 -06:00
Thomas Weber
9f601995f2
Document old "last key pressed" block as legacy
2020-12-24 18:33:56 -06:00
Thomas Weber
29ed90aa63
ir: Support tw_getLastKeyPressed
2020-12-24 18:30:36 -06:00
Thomas Weber
dc9ffb0d74
saveProjectSb3 should tell the GUI whether this project uses any TW-exclusive blocks
2020-12-24 18:28:27 -06:00
Thomas Weber
9f557dfb94
Change extension id to just "tw"
2020-12-24 17:58:56 -06:00
Thomas Weber
6c221b5dac
Create a TW extension.
2020-12-24 17:51:11 -06:00
Thomas Weber
1adedafa8b
Increase stuckCounter threshold to 100 calls
...
This reduces the performance impact of the warp timer
2020-12-19 16:55:27 -06:00
Thomas Weber
e7d8ce540d
Optimize setCostume
...
Very slight, probably not measurable in real projects
2020-12-16 17:44:21 -06:00
Thomas Weber
b06ef7eec5
Optimize getCostumeIndexByName
2020-12-15 17:39:05 -06:00
Thomas Weber
63aefc6231
Compile looks_nextbackdrop and looks_nextcostume
2020-12-15 17:32:20 -06:00
Thomas Weber
8472bfd11c
Add music_midiSetInstrument to compat layer
2020-12-09 22:00:11 -06:00
Thomas Weber
fd0658bf3e
remove unnecessary start
2020-12-09 15:21:12 -06:00
Thomas Weber
8968943f28
update copyright
2020-12-08 15:47:37 -06:00
Thomas Weber
4d3b9325b6
Remove unnecssary start
2020-12-08 15:39:27 -06:00
Thomas Weber
e6c03aa7f8
js: args.stringNumber is of unknown type
2020-12-07 21:11:11 -06:00
Thomas Weber
3624712b80
Prefer script over intermediate
2020-12-05 20:41:02 -06:00
Thomas Weber
146d34e46e
compiler/execute -> compiler/jsexecute
2020-12-05 20:33:56 -06:00
Thomas Weber
1bca53d427
Use "script" instead of "tree"
2020-12-05 19:46:02 -06:00
Thomas Weber
74e0a8ee5c
More intermediate cleanup and fixes
2020-12-05 19:39:19 -06:00
Thomas Weber
9ca1a759f2
Merge branch 'develop' into abstracted-intermediate
2020-12-04 16:36:11 -06:00
Thomas Weber
de1e4ca411
Update some jsdoc
2020-12-04 16:17:39 -06:00
Thomas Weber
28459966dc
Merge branch 'develop' of https://github.com/llk/scratch-vm into develop
2020-11-29 16:33:17 -06:00
Thomas Weber
9078359afd
Do not allow framerate to go over 1000
...
Values beyond this point
a) are unnecessary
b) don't actually work in any modern browser
c) trick the sequencer into thinking it has essentially 0 WORK_TIME
2020-11-26 21:36:24 -06:00
Thomas Weber
d0364ec060
Revert "WORK_TIME should always be at least 1 millisecond"
...
This reverts commit 723064e1c2 .
2020-11-26 16:42:48 -06:00
Thomas Weber
723064e1c2
WORK_TIME should always be at least 1 millisecond
2020-11-26 16:35:27 -06:00
Thomas Weber
8dee0fdac8
Add a test for preciseProjectTimer drift
2020-11-26 10:58:35 -06:00
Thomas Weber
cb165cc024
preciseProjectTimer startTime should always match preciseTimer's startTime
...
Letting them each have their own start time can lead to slight drift where preciseProjectTimer returns a smaller number than projectTimer.
Fixes https://scratch.mit.edu/projects/453118719
2020-11-26 10:46:16 -06:00
DD Liu
a0c11d6d86
Merge pull request #2710 from fsih/useCdm
...
Handle user did not pick peripheral
2020-11-24 18:35:04 -05:00
DD Liu
04d401996c
Remove commented code
2020-11-24 16:54:07 -05:00
DD Liu
87cb4a7ef0
Add userDidPickPeripheral to bt
2020-11-24 16:49:54 -05:00
Thomas Weber
dc52b58019
Implement thread glowing ( #35 )
2020-11-24 12:06:47 -06:00
Thomas Weber
2f577e978a
Alphabetize
2020-11-24 11:33:26 -06:00
Thomas Weber
ea21a512f7
Add looks_switchbackdroptoandwait to compat layer
2020-11-23 14:33:44 -06:00
DD Liu
f19fd83563
Handle user did not pick peripheral
2020-11-23 01:01:06 -05:00
Thomas Weber
5ecd40e703
Update some docs
2020-11-21 18:27:33 -06:00
Thomas Weber
9533895ede
Separate IntermediateScript and IntermediateRepresentation
2020-11-21 18:09:19 -06:00
Thomas Weber
7c8ff1ceca
Disable some eslint rules
2020-11-21 17:51:42 -06:00
Thomas Weber
c90848ea3d
update TODOs
2020-11-21 16:25:40 -06:00
Thomas Weber
28be8c9887
js: sanitize shouldn't throw if argument is not string
2020-11-21 16:22:06 -06:00
Thomas Weber
711e899795
Include opcode in edge-activated hat error message
2020-11-20 21:14:25 -06:00
Thomas Weber
5b3d33dfc6
Add control_get_counter to compat blocks
2020-11-20 21:13:22 -06:00
Thomas Weber
11040eae0b
ir: Different error message when attempting to compile inputs as stacked blocks
2020-11-20 21:04:16 -06:00
Thomas Weber
6e9622ec4c
ir: Refactor descendInput
2020-11-20 21:03:57 -06:00