Commit graph

32 commits

Author SHA1 Message Date
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
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
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
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
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
9814b2a7ce Provide top-level window.ScratchAudio to iframes 2016-02-02 17:31:16 -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
3e0a600953 Fixing window.Settings in Localization util 2016-01-22 16:20:03 -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
878e5597b3 Fixing value of Events.dragDiv 2016-01-21 16:49:58 -05:00
Tim Mickel
c194ca8c2b Adding requires for Intl.js locale-data 2016-01-21 16:12:04 -05:00
Tim Mickel
5c65dff9c9 Converting broken exports to getters/setters 2016-01-20 16:33:27 -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
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
620aa133b2 SVG2Canvas module 2016-01-13 17:18:25 -05:00
Tim Mickel
2fa0f3bed4 Sound.js module 2016-01-13 16:46: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
b4b79d82ee Updating preprocessAndLoadCss to work async 2016-01-13 15:30:06 -05:00
Tim Mickel
f16a22c346 Switching lib to use function exports 2016-01-13 15:05:55 -05:00
Tim Mickel
7dec89ddb3 Fix localization includes and remove default locale messages 2016-01-13 14:51:47 -05:00
Tim Mickel
ba6846f049 Merge conflicts on Localization.js 2016-01-13 14:05:50 -05:00
Tim Mickel
960a4c43ff Updating localization includes to use short codes 2016-01-12 15:12:19 -05:00
Tim Mickel
41522cf4f1 Modules pass 2016-01-12 15:08:37 -05:00
Tim Mickel
e88af5b6df Initial commit 2016-01-08 14:31:04 -05:00