Commit Graph
61 Commits
Author SHA1 Message Date
Paul Kaplan 7414ead04a Merge branch 'develop' into feature/checked-callback 2017-05-30 12:33:56 -04:00
Paul Kaplan 71551e063a Merge branch 'develop' into feature/monitor-labels-using-reducer 2017-05-25 21:26:17 -04:00
Paul Kaplan 843182cdc0 Add comment about when auto layout doesn't work 2017-05-25 16:45:03 -04:00
Paul Kaplan b4892eb10f Add callback for checked 2017-05-23 15:17:52 -04:00
Paul Kaplan 9d41f09e1b Use a function instead of object lookup to simplify defaults 2017-05-23 09:55:13 -04:00
Paul Kaplan d580598558 Add dynamic labelling 2017-05-22 15:18:17 -04:00
Paul Kaplan 188a92e636 Consume opcode and transform to category and label for monitors 2017-05-22 14:39:01 -04:00
Ray Schamp 0ae48ad511 Update dropdown menus on open (#343)
Update Dropdown Menus On Click
2017-05-19 16:22:58 -07:00
TheBrokenRail 840c9cfa3d Merge branch 'develop' into patch-10 2017-05-17 15:28:57 -04:00
DD Liu f385070f6d remove unused functions 2017-05-15 16:41:08 -04:00
DD Liu 1ea257b536 fix merge 2017-05-15 10:44:49 -04:00
DD Liu 98bc44ab05 Merge branch 'develop' into monitors 2017-05-15 10:24:33 -04:00
Ray Schamp ae529ea20d Only listen to targets update
This reduces the complexity of the reducer, as well as how frequently it's run. The VM will emit a targets update after a step if any target info has changed.
2017-05-12 11:45:06 -04:00
DD Liu 0e442aae3e Revert 2017-05-11 15:16:09 -04:00
DD Liu 08f5b6c786 add add monitors event 2017-05-10 17:01:20 -04:00
DD Liu 7329942e0b GUI accepts remove monitors actions 2017-05-10 15:14:34 -04:00
DD Liu 2c2a8a3faa make monitors update method 2017-05-09 12:07:27 -04:00
TheBrokenRail cdcb08b7eb Update blocks.js 2017-05-04 20:38:43 -04:00
Ray Schamp d7d1ad9ea1 Move VM into a reducer
Otherwise it's very annoying to get access to the storage engine to load asset data.
2017-05-04 15:44:02 -04:00
Chris Willis-Ford 1a8b2f66a3 Merge pull request #321 from cwillisf/storage-internal-constants
Get `Asset` and `AssetType` from storage instance
2017-04-24 09:50:51 -07:00
Christopher Willis-Ford a0f7d75fdc Get Asset and AssetType from storage instance 2017-04-20 16:15:43 -07:00
Ray Schamp 58d482d102 Move to PropTypes for React 15.5
With jscodeshift thank God
2017-04-20 19:02:59 -04:00
Chris Willis-Ford 47d6cf7441 Merge pull request #261 from cwillisf/use-storage
Use scratch-storage
2017-03-23 22:13:59 -07:00
Christopher Willis-Ford 2be8205aee Move scratch-storage init/attach to vmListenerHOC
Attaching the storage module in `vmListenerHOC` means it can propagate
down to the GUI, stage, and blocks naturally. The default VM property
value has been removed from those places so that we're not instantiating
extra VM instances any more. Instead, using one of those components
outside of the `vmListenerHOC` framework will require providing a VM
instance as a property.
2017-03-23 11:58:07 -07:00
Paul Kaplan 4c23f42196 Add sound library component and action
Remove target pane button and actions

Add back putting the sound library in the ui
2017-03-22 15:57:52 -04:00
Christopher Willis-Ford 4f66fbc48b Create ScratchStorage instance & give it to the VM
There are a handful of places where the GUI code could use the storage
module directly; converting those is for a later change.
2017-03-20 15:28:37 -07:00
TheBrokenRail d7ae5411b0 Fix sprites in drop-down (#94)
* Update blocks.js
2017-03-10 14:26:52 -05:00
Ray Schamp 40eeabdd6b Fix story letter SVGs in the sprite library (#230)
Fixes #220
2017-03-09 15:32:37 -05:00
Eric Rosenbaum 5695afd34f Remove script that modifies json 2017-03-07 14:12:48 -05:00
Eric Rosenbaum da87e74d41 Add some sounds to each letter sprite in the library json 2017-03-07 14:06:43 -05:00
Eric Rosenbaum a97ed1a94d Script to add a set of sounds to each letter sprite in the library 2017-03-07 14:06:17 -05:00
Ray Schamp 30ca4dbce6 Fix no-var warnings 2017-03-01 14:55:35 -05:00
Andrew Sliwinski 497b2df157 Move letters / numbers to top of the sprite library. Resolves GH-137 2017-03-01 11:28:46 -05:00
Eric Rosenbaum c4decffcdb Check for empty sound array 2017-02-15 17:27:36 -05:00
TheBrokenRail ff0ed97e27 Add sprites to drop-down menus (#81) 2017-02-13 19:02:25 -05:00
Eric Rosenbaum 312fafab08 Dynamic menus for costumes and backdrops 2017-02-09 17:21:56 -05:00
Eric Rosenbaum f2cad9c115 Sound menu updates on workspace update 2017-02-08 12:15:34 -05:00
Eric Rosenbaum c4ae964a3e monkeypatch dynamic sound menu into scratchblocks
/ht @rschamp
2017-02-07 17:23:11 -05:00
Silly Inventor e6d036aa14 Added Image Size and Resolution Data to Backdrop Library For Missing Files 2017-01-19 12:17:12 -05:00
Ray Schamp 845076ca18 Replace other libraries with static json
Remove MediaLibrary helper since it is now unused
2017-01-12 09:26:57 -05:00
Ray Schamp 26bfe9560f Static-ify sprite library 2017-01-11 18:58:46 -05:00
Ray Schamp b85c61a60b YAGNI: Remove clutter from GUI component 2016-12-20 16:49:43 -05:00
Ray Schamp 24389c30c3 Reduxify sprite selector
In preparation to split the sprites from the stage, start managing the target list state in a single place.
2016-12-02 19:16:19 -05:00
Ray Schamp e3b0069487 Refactor libraries to be a part of SpriteSelector 2016-12-02 15:22:50 -05:00
Ray Schamp 85b1509072 Send modifier keys to VM but allow bubbling
This allows the keys to be used for developer shortcuts, but also keeps the "if any key pressed" block working (and hacked key blocks).
2016-11-29 10:52:12 -05:00
Ray Schamp 0bfcd3fed2 Don't capture keys intended for the browser
This is mostly because it was annoying that Cmd-Opt-J didn't work, but seems like a good thing to have in general.
2016-11-29 10:05:28 -05:00
Ray Schamp 97b0f26bef Fix minilog prefix 2016-10-24 09:39:50 -04:00
Ray Schamp 91547c1fb5 No need to supply @return if there's no return 2016-10-24 09:39:35 -04:00
Ray Schamp 5b7c557f89 Fix JSDoc return statements
null !== undefined
2016-10-23 16:25:33 -04:00
Ray Schamp 3113f31f46 Add shapeFromPropTypes utility for passed props 2016-10-22 11:44:26 -04:00