Commit Graph
504 Commits
Author SHA1 Message Date
Thomas Weber 41eceef19b Refactor frame loop logic and make "0 FPS" use requestAnimationFrame instead of setInterval 2021-12-13 16:22:16 -06:00
Thomas Weber 1c7c85a89d Move tw-emit-fast and tw-extended-json to util 2021-08-15 12:23:23 -05:00
Thomas Weber 8b63a8115d Disable another intentionally broken test 2021-08-03 16:31:11 -05:00
Thomas Weber d0d27ddbd1 First unit tests for jsexecute runtime functions 2021-07-13 11:49:14 -05:00
Thomas Weber a8cfa25d9d More work on the "thread map" concept 2021-06-10 11:44:41 -05:00
Thomas Weber 59f3c0ebe8 Fix some more startHats bugs 2021-06-09 23:02:57 -05:00
Thomas Weber d27589e24a Compute targetsUpdate targetList lazily
small up to 2% optimization in some projects when outside editor
2021-06-09 21:55:09 -05:00
Thomas Weber 416281f99b Merge branch 'develop' of github.com:LLK/scratch-vm into develop 2021-05-21 18:34:18 -05:00
Thomas Weber 64b3a919b4 Update self configuration
Can now store high quality pen
Warp timer no longer stored automatically
2021-05-15 01:46:08 -05:00
Thomas Weber f1a61ff7f4 Write more ExtendedJSON tests and fix more bugs 2021-05-15 01:27:26 -05:00
Thomas Weber 34872f8f60 Write ExtendedJSON tests and fix a few bugs 2021-05-15 01:09:24 -05:00
Thomas Weber 0e8ec4d9dc Use ExtendedJSON to fix storing infinite clones 2021-05-15 00:59:48 -05:00
Thomas Weber 8c365062bf Project self-configuration (#55) 2021-05-15 00:29:01 -05:00
Eric Rosenbaum 7a2393bd56 test not serializing origin if it is not present 2021-05-04 20:29:31 -04:00
Eric Rosenbaum fb09f9cbb9 test serializing origin 2021-05-04 15:36:03 -04:00
Eric Rosenbaum 8483c1a467 add test of deserializing origin 2021-05-04 15:29:36 -04:00
GarboMuffin 92c53a5a36 Allow serialization optimizations to be disabled 2021-05-01 21:58:54 -05:00
Thomas Weber 9d69b93f46 Fix more keypress issues 2021-04-16 15:11:57 -05:00
Thomas Weber fbec54a0c9 Fix key up events being skipped when modifier keys are in use 2021-04-14 19:00:48 -05:00
Thomas Weber d3cd3d8109 tests: Test runtime.setInterpolation
This tests the interpolation setter itself. It does not test the interpolation.
2021-03-26 20:03:30 -05:00
Thomas Weber 8c4c46b871 test: Add a test for runtime debug mode 2021-03-26 19:54:36 -05:00
Thomas Weber 7dc378c3b1 tests: Test fencing & fencing runtime option 2021-03-26 19:53:21 -05:00
Thomas Weber e2d538105e tests: Add test for sound effects & miscLimits: false 2021-03-26 19:46:54 -05:00
Thomas Weber 55a21ff74a tests: Add test for Scratch3PenBlocks._clampPenSize 2021-03-26 19:38:13 -05:00
Thomas Weber c71a94aada Remove precise project timer
#38
2021-01-31 14:28:17 -06:00
Thomas Weber 320e60133f Test mouse position clamping 2021-01-30 21:32:08 -06:00
Thomas Weber eb140a2493 Add Runtime.stageWidth, Runtime.stageHeight 2021-01-30 20:23:31 -06:00
Thomas Weber 6f5917aadd Write some more tests 2021-01-12 12:35:45 -06:00
Thomas Weber 145014e5a7 Add Mouse.usesRightClickDown 2020-12-31 18:04:13 -06:00
Thomas Weber 279a31e950 Internal support and tests for tracking individual mouse buttons 2020-12-24 19:04:48 -06:00
Thomas Weber cea1f9b21d Fix precise timer test 2020-09-17 15:37:12 -05:00
Thomas Weber bfa6cdde8a Write tests for our changes to clock and keyboard 2020-09-17 15:31:04 -05:00
Thomas Weber d55b2593a5 Reenable io_clock.js cycle test because it passes again 2020-09-17 14:49:25 -05:00
Thomas Weber 2ae1d66616 Disable tests that we intentionally break 2020-09-17 14:31:43 -05:00
DD Liu 7c652246df Merge pull request #2356 from adroitwhiz/cast-to-black
Cast malformed color hex strings to RGBA 0,0,0,255 instead of null
2020-09-03 15:52:52 -04:00
apple502j 9bed114e48 Use new updateCPURenderAttributes in video sensing 2020-08-01 00:09:53 +09:00
Chris Willis-Ford a9f473feb6 Merge pull request #2476 from cwillisf/fix-extension-url
sanitize extension ID in getExtensionIdForOpcode
2020-07-14 11:47:02 -07:00
Eric Rosenbaum 45c95f3370 Move test 2020-06-23 17:13:11 -04:00
Eric Rosenbaum 60aeebf668 Test that clock is reset on runtime dispose 2020-06-22 11:56:10 -04:00
Eric Rosenbaum 540d9c676c Merge pull request #2341 from apple502j/patch-9
Clear some stats when disposing runtime
2020-06-22 10:25:41 -04:00
Christopher Willis-Ford 90b9da45f4 sanitize extension ID in getExtensionIdForOpcode 2020-06-15 17:59:15 -07:00
adroitwhiz fe6b07acca Consistently format text bubbles 2020-06-09 13:28:58 -04:00
apple502j 03db30d400 Update sensing_of fields if variable gets renamed
Thanks @adroitwhiz and @fsih for some advice!
2020-05-22 19:00:43 +09:00
Chris Willis-Ford 7af161f1a2 Merge pull request #2011 from joker314/fix/random-costume
Give all backdrops a more equal chance of being randomly picked
2020-05-19 13:11:38 -07:00
adroitwhiz 05dcbc176f Remove RenderedTarget.setSay + its test 2020-05-18 01:35:32 -04:00
Joke Book 15d97ccaa7 End randIntWithout test case with t.end() 2020-05-07 16:38:45 +01:00
Joke Book 8700a70262 Fix randIntWithout test case 2020-05-07 16:37:01 +01:00
Joke Book e5cc0e302d Use correct denominator in randIntWithout test 2020-05-07 16:28:50 +01:00
jokebookservice1 57445a4d49 Merge branch 'develop' into fix/random-costume 2020-05-07 16:11:08 +01:00
adroitwhiz cbe912e1be Add malformed hex RGB color *list* test 2020-05-01 15:06:52 -04:00