Deniz Ozkaynak
844765bde6
Created a variable to replace a hardcoded value
...
In ../src/editor/ui/UI.js there's a random hardcoded value of 136 that helps determine the scale of fullscreen mode. Not sure what this number represents but it should be a variable.
2018-10-13 20:35:10 -04:00
Donald
29ebbeece6
Code format & sort npm script params
2018-09-11 14:27:15 +08:00
Donald
d60ea5e7cb
Upgrade webpack to 4.18.0
...
Add 'watch' and 'dev' npm scripts
2018-09-11 14:13:38 +08:00
chrisgarrity
a4737a4399
Don’t adjust paintEditor point on Android
...
Fixes the issue where the editor doesn’t draw where the finger is touching on Android.
2018-05-02 15:01:45 -04:00
chrisgarrity
9336953985
Add languages
...
Added:
- German
- Japanese
- Portuguese
- Swedish
- Chinese (China)
Needed to modify Localization utilities to handle China locale in additional to language.
2017-09-16 14:33:28 -04:00
chrisgarrity
0f2c31bfc9
Add documentation for AppUsage
...
Also make ternary operators easier to read.
2017-08-23 11:53:13 -04:00
chrisgarrity
1862c41394
Revise cookie
2017-08-14 15:58:57 -04:00
chrisgarrity
b6a36dbf32
Handle official catface and logo
...
Hide all the usage elements, and re-show the logo/catface if coming from the usage page.
2017-08-11 09:13:52 -04:00
chrisgarrity
952ce54b52
Don’t reload index
...
Instead of reloading the page, just load Start and have Start hide the usage parts.
2017-08-10 17:03:30 -04:00
chrisgarrity
852df3edbb
Add splash page for usage tracking
...
* Adds a usage cookie
* Only asks for usage on first launch
* will need checking with the official version to make sure the right elements are showing/hiding.
2017-08-10 10:00:22 -04:00
chrisgarrity
16e4b7ce27
Limit size of sounds
...
We know that projects with lots of (large) sounds tend to crash ScratchJr. Hopefully reducing the size of the sounds will help to reduce the number of crashes.
2017-07-17 11:25:59 -04:00
chrisgarrity
f752ff5760
Fix formatting and restart bug
...
In the current system you can’t have the same sound playing more than once at the same time - this is how it was implemented on Android, so we used the same restriction on iOS.
However in the previous version if you interrupted the sound to play it again, it continued from where it was instead of starting over. So it didn’t appear to do anything. Added resetting the current time to 0.0 on play to restart sounds.
2017-03-14 14:31:18 -04:00
chrisgarrity
e9d0d0d7be
Change iOS to use native sound.
...
This is after the coding session with Paula - mostly just clean up of obsolete code and leftover debugging output.
2017-03-08 11:16:31 -05:00
chrisgarrity
6a6d92e06b
[WIP] new audio engine
...
Post coding session with Paula
2017-02-21 17:17:35 -05:00
chrisgarrity
e035b0f86e
Sanitize filename
...
Allow non-latin characters, but remove anything that could be problematic
2016-09-19 15:17:13 -04:00
chrisgarrity
9923c34e76
Add new languages to ScratchJr
...
Needed slight adjustment to css for settings
added new language codes to settings.json and Localizations.js
2016-09-06 17:33:17 -04:00
chrisgarrity
6e46696d2c
Localize sample project name
2016-06-22 11:58:48 -04:00
chrisgarrity
3d6e015a6b
Add settings to index page topbar
...
Add the settings button to the topbar - used in the PBS Kids version.
2016-05-26 14:00:21 -04:00
Tim Mickel
70ddc00913
Merge pull request #56 from tmickel/bugfix/storystarter-autosave
...
Prevent new projects via autosave in story-starter mode
2016-04-11 14:37:51 -04:00
Tim Mickel
7fd14cc6d4
Add missing line-break in UI.js
2016-04-11 14:31:04 -04:00
Tim Mickel
5dd0bc964e
Prevent new projects via autosave in story-starter mode
2016-04-11 14:13:45 -04:00
Tim Mickel
ae52b67863
Disable autosave when onHold, Project.saving, or info box open
2016-04-11 14:01:26 -04:00
Tim Mickel
c49870dd6b
Add link for gear icon to settings page
2016-03-24 15:57:36 -04:00
Tim Mickel
b9a232d90b
Add gear icon to top right of splash page
2016-03-24 15:46:15 -04:00
Tim Mickel
693698c514
SVG2Canvas.processXMLnode to not getElementById
...
This addresses #29 in iOS, which was causing photos in thumbnails to not crop. A note about what was going on is included in the code.
2016-03-24 14:05:45 -04:00
Tim Mickel
6676b37a80
Remove for-of loop which requires Symbol polyfill
2016-02-08 12:43:12 -05:00
Tim Mickel
db3724072f
Only polyfill window.Intl when it doesn't exist
...
The Chrome Webview already had an existing window.Intl. This was causing an assignment error.
2016-02-08 12:33:33 -05:00
Tim Mickel
9f45c2f7a8
Add config for disabling the lobby settings page
...
In some editions we may not have completed translations. For these, the settings page can be hidden.
2016-02-03 15:51:16 -05:00
Tim Mickel
09773e3186
Add analytics event for changing the language
2016-02-03 15:34:41 -05:00
Tim Mickel
f715c5054c
Fix IO.refreshLobby for modules
2016-02-03 12:02:57 -05:00
Tim Mickel
de99fabacc
Fixing broken iOS import in ScratchAudio
2016-02-03 11:32:46 -05:00
Tim Mickel
6cde452728
Add getter for currentLocale to Localization.js #465
2016-02-03 11:19:28 -05:00
Tim Mickel
ad7e80adfd
Adding about page localizations for PBS KIDS
2016-02-02 18:31:27 -05:00
Tim Mickel
1a0801b74d
Reconciliation of PBS KIDS edition splash page
2016-02-02 18:19:06 -05:00
Tim Mickel
1da87914cc
Refactor app.js entry-point to have different JS files for each page
2016-02-02 17:43:22 -05:00
Tim Mickel
9814b2a7ce
Provide top-level window.ScratchAudio to iframes
2016-02-02 17:31:16 -05:00
Tim Mickel
b8f4e84bc9
Restructure of entry/app.js to load CSS first
2016-02-02 16:51:40 -05:00
Tim Mickel
ce419f1b7a
Moving inappAbout call out of iOS.waitForInterface
2016-02-02 16:41:02 -05:00
Tim Mickel
7b28c13f84
blocks.html, interface.html, paint.html remaining scripts
...
Moved to app.js entry
2016-02-02 16:38:31 -05:00
Tim Mickel
fdbf07b6d9
Includes and code stubs for rest of in-app help
2016-02-01 12:05:40 -05:00
Tim Mickel
def37de218
Adding module about page and include roots
...
Localization, MediaLib, and Settings loads need an adjustable path for now because inapp/ pages are in a subdirectory.
2016-02-01 11:57:41 -05:00
Tim Mickel
b102d7a100
Use app bundle JS for getting started video
2016-01-22 16:44:46 -05:00
Tim Mickel
2f2d36dd86
Merge entry-points and bundles for editor, home, index
2016-01-22 16:20:18 -05:00
Tim Mickel
3e0a600953
Fixing window.Settings in Localization util
2016-01-22 16:20:03 -05:00
Tim Mickel
1849431ccd
Asynchronous loading of MediaLib
2016-01-22 16:19:51 -05:00
Tim Mickel
d062dbf4ac
Make Localization.includeLocales async
2016-01-22 15:42:56 -05:00
Tim Mickel
0c65882bd0
Moving Settings to window.Settings
2016-01-22 15:42:42 -05:00
Tim Mickel
13b983bd57
Adding ontouchstart function to trigger focus for spriteform
2016-01-22 14:52:31 -05:00
Tim Mickel
8c2a26a070
Adding Camera and iOS to window globals
2016-01-22 14:15:15 -05:00
Tim Mickel
5ba2f40efc
Fixing Paint splash and splashshade requests
2016-01-22 14:01:50 -05:00
Tim Mickel
527d8d7129
Disambiguation of Paint vs. editor frame
2016-01-21 16:53:03 -05:00
Tim Mickel
878e5597b3
Fixing value of Events.dragDiv
2016-01-21 16:49:58 -05:00
Tim Mickel
f2bd87d60f
Library frame vs. editor frame disambiguation
2016-01-21 16:49:41 -05:00
Tim Mickel
e492858569
Fixing UI.js references to window.gDW, gDH
2016-01-21 16:15:03 -05:00
Tim Mickel
c194ca8c2b
Adding requires for Intl.js locale-data
2016-01-21 16:12:04 -05:00
Tim Mickel
d984dba0a6
Adding getter for Project.js loadIcon
2016-01-21 15:50:15 -05:00
Tim Mickel
c2f4c82ff0
Fixing imports
2016-01-21 15:47:25 -05:00
Tim Mickel
581a0f9acc
Remove extra imports from Paint.js
2016-01-21 15:37:46 -05:00
Tim Mickel
1c32ecf0a5
Convert remaining modules
2016-01-21 15:32:41 -05:00
Tim Mickel
bf07d98ccd
Modularize remaining objects with static methods
2016-01-21 15:10:18 -05:00
Tim Mickel
55d8b40691
Module version of ScratchJr.js
2016-01-20 17:27:30 -05:00
Tim Mickel
de405ce7f9
Fixing editor.js entry script
2016-01-20 16:43:35 -05:00
Tim Mickel
5c65dff9c9
Converting broken exports to getters/setters
2016-01-20 16:33:27 -05:00
Tim Mickel
b01ba1efa0
Fixing iOS.js exports
2016-01-20 15:44:47 -05:00
Tim Mickel
b22973207a
Fixing SVG2Canvas "dispatch tables"
2016-01-13 18:58:39 -05:00
Tim Mickel
2a5ce50122
Fixing broken imports
2016-01-13 18:55:15 -05:00
Tim Mickel
0650f47071
Fixing broken static function in Home.js, SVG2Canvas.js
2016-01-13 18:55:03 -05:00
Tim Mickel
45b5b5c343
Camera.js module
2016-01-13 18:49:14 -05:00
Tim Mickel
b1aad9ce58
Ghost.js module
2016-01-13 18:43:56 -05:00
Tim Mickel
7e7a890d86
Layer.js module
2016-01-13 18:39:12 -05:00
Tim Mickel
4c36409a7c
PaintAction module
2016-01-13 18:35:02 -05:00
Tim Mickel
8982929084
Paint.js module
2016-01-13 18:26:18 -05:00
Tim Mickel
93a7b66cc8
Consolidation of Paint module
2016-01-13 18:09:02 -05:00
Tim Mickel
eae6c944f0
PaintUndo.js module
2016-01-13 18:06:52 -05:00
Tim Mickel
4361198487
Path.js module
2016-01-13 18:02:46 -05:00
Tim Mickel
9b4a8a94d7
Removing old Path tools
2016-01-13 17:55:21 -05:00
Tim Mickel
01973b5dae
Consolidation of PathBkg, PathEdit, PathMgmt, PathTools
2016-01-13 17:54:48 -05:00
Tim Mickel
1479db4633
SVGImage, SVGTools modules
2016-01-13 17:50:18 -05:00
Tim Mickel
65324db2ae
Moving Layers.js to Layer.js
2016-01-13 17:48:31 -05:00
Tim Mickel
4abc3e2ddc
SVGTools module
2016-01-13 17:46:28 -05:00
Tim Mickel
53ac780598
Transform.js module
2016-01-13 17:40:50 -05:00
Tim Mickel
535e61f628
Matrix and Rectangle modules
2016-01-13 17:34:02 -05:00
Tim Mickel
fdd74a411c
DrawPath module
2016-01-13 17:30:57 -05:00
Tim Mickel
8174793126
utils/Events.js module
2016-01-13 17:27:56 -05:00
Tim Mickel
aeb536dbc7
Removing /external/ which should come from node_modules
2016-01-13 17:18:38 -05:00
Tim Mickel
620aa133b2
SVG2Canvas module
2016-01-13 17:18:25 -05:00
Tim Mickel
740a670d8f
IO.js module
2016-01-13 17:05:42 -05:00
Tim Mickel
efb1e8aee7
geom/Vector.js module
2016-01-13 16:55:55 -05:00
Tim Mickel
dfed05680f
Imports for home.js entry
2016-01-13 16:53:02 -05:00
Tim Mickel
fe3cf41883
Samples module
2016-01-13 16:52:51 -05:00
Tim Mickel
2fa0f3bed4
Sound.js module
2016-01-13 16:46:29 -05:00
Tim Mickel
184a899061
Home.js module
2016-01-13 16:42:09 -05:00
Tim Mickel
1f1a56b1a7
Fixing iOS.mediacounter variable
2016-01-13 16:42:01 -05:00
Tim Mickel
bac2962c98
Module version of Lobby.js
2016-01-13 16:15:09 -05:00
Tim Mickel
0563821d6b
Imports for index.js
2016-01-13 16:04:36 -05:00
Tim Mickel
b7b1520a55
Creating bundle for home.html
2016-01-13 16:04:29 -05:00
Tim Mickel
667e1d4e62
Removing illegal read-only sampleRate set
2016-01-13 15:54:50 -05:00
Tim Mickel
640828085b
Module version of ScratchAudio.js
2016-01-13 15:54:27 -05:00
Tim Mickel
ca72375e97
Exporting iOS.js variables
2016-01-13 15:54:19 -05:00
Tim Mickel
82a4a470fa
Module version of iOS.js
2016-01-13 15:40:00 -05:00