Commit Graph

110 Commits

Author SHA1 Message Date
Joshua Granick
76e51a2379 Asset library fixes/unification for Flash 2017-01-23 10:32:19 -08:00
Joshua Granick
a8b1e2cf1a Fix font preload 2017-01-19 17:56:56 -08:00
Joshua Granick
feec323117 Improve asset library progress events (close #886) 2017-01-14 16:21:38 -08:00
Joshua Granick
b280054c33 Unify DefaultAssetLibrary around AssetManifest logic 2017-01-14 13:38:16 -08:00
Joshua Granick
7d7f19f8db Hide template ApplicationMain/DefaultAssetLibrary classes from dox gen (close #494) 2017-01-09 14:54:02 -08:00
Joshua Granick
e059593a0b Respect 'embed=false' assets on HTML5 2016-12-22 09:00:04 -08:00
Joshua Granick
5d9f3e9ec5 Bytes embed fix 2016-12-19 17:08:42 -08:00
Joshua Granick
e9b2609d29 Fix HTML5 font preload 2016-12-19 14:08:58 -08:00
Joshua Granick
1ad14bf7d3 Asset manifest improvements 2016-12-12 18:16:41 -08:00
Joshua Granick
89eb883bb0 Progress on a smarter asset manifest system 2016-12-12 16:32:56 -08:00
Joshua Granick
61fec3eefe Push asset logic deeper into 'loadFrom*' static methods and AssetLibrary 2016-12-11 13:50:34 -08:00
Joshua Granick
c2437cd291 Keep DefaultAssetLibrary 2016-12-09 10:37:26 -08:00
Joshua Granick
55301ca4cf Move hxProject.certificate to .keystore, use iOS config for profile, identity and team ID, some file cleanup 2016-12-02 17:04:41 -08:00
Joshua Granick
2b12cb3e91 Guard if manifest is not found on -livereload 2016-11-23 14:16:07 -08:00
Joshua Granick
11ca4a1bca Make Future progress use two Ints instead of one Float 2016-11-09 13:39:00 -08:00
Joshua Granick
4ab3e880ca First pass at new HTTPRequest API 2016-11-08 11:46:56 -08:00
Joshua Granick
f4c1a5c82c Use lime.utils.Log for DefaultAssetLibrary warning 2016-10-28 15:10:53 -07:00
Joshua Granick
6d02f5acec event.target fix 2016-10-24 11:05:00 -07:00
Joshua Granick
bc74c1982c Rename loadFile -> loadFromFile 2016-10-06 13:27:41 -07:00
Joshua Granick
31dacebe5e Simplify audio loading, use AudioBuffer.loadFile(s) 2016-10-05 15:30:21 -07:00
Joshua Granick
944084d6ac Preload embedded HTML5 audio 2016-10-05 12:06:27 -07:00
Joshua Granick
a5b85e357a Improve DefaultAssetLibrary.isLocal 2016-10-05 09:47:30 -07:00
loudoweb
d3055e6e7a should fix isLocal when using not embedded assets on html5 and cpp 2016-10-05 16:02:02 +02:00
Joshua Granick
1c5ca75b67 C# fixes 2016-09-26 11:48:55 -07:00
Joshua Granick
5945147b8a Fix issue with not finding assets in Linux build 2016-07-20 14:16:05 -07:00
Joshua Granick
b7ba1aeea3 Quick patch for Mac 2016-07-08 19:41:11 -07:00
Valentin Lemière
668f59ae1c Use application relative asset path on desktop only, fix android asset loading 2016-06-07 15:52:39 +02:00
Valentin Lemière
9d51809c0d Load assets from next of the executable, #Fix openfl/723 (#719) 2016-06-06 14:56:05 +02:00
Carlos Ballesteros Velasco
55ab5b5672 Make DefaultAssetsLibrary.loadBytes binary-safe in flash 2016-03-10 14:29:17 +01:00
Joshua Granick
49ed4943ee Add lime.utils.Bytes to fix @:file embed and 'readFile' behavior 2015-11-24 23:03:13 -08:00
Joshua Granick
f16716c2e8 Add simple HTTPRequest class to help fill holes from URLLoader and make a few small fixes 2015-11-21 00:28:21 -08:00
Joshua Granick
23be787198 Remove ByteArray, use Bytes. Will need to replace URLLoader with a Lime API for easier network requests 2015-11-20 21:34:41 -08:00
Joshua Granick
d3d2409b84 Add cache-breaking string to remote requests 2015-11-10 10:54:31 -08:00
Joshua Granick
77cc799253 Minor tweak 2015-10-02 09:54:53 -07:00
Valerio Santinelli
06487ad363 tvOS support for default assets library 2015-10-02 18:36:46 +02:00
Valerio Santinelli
1fe5147158 First few changes to build a tvOS target 2015-09-28 20:03:27 +02:00
Joshua Granick
f7ae00f635 Cleanup 2015-09-04 11:56:36 -07:00
Joshua Granick
9b266891dd Improve Assets, use Futures and Events 2015-09-04 09:35:00 -07:00
Joshua Granick
14d1ae7abe Add guard against null 2015-09-01 10:06:46 -07:00
Joshua Granick
6434c67b00 Template fix 2015-08-07 21:55:09 -07:00
Matan Uberstein
e8434d4f59 Fixed CPP target embedded assets 2015-07-27 12:26:51 +02:00
Matan Uberstein
75b807f91a Fixed html5 image loading through DefaultAssetLibrary where id and path doesn't match. 2015-07-20 11:39:14 +02:00
Joshua Granick
7bed38562c Fix use of Assets.load* with the same ID and different callbacks 2015-07-17 16:46:07 -07:00
Joshua Granick
74604c9077 Use TheadPool instead of BackgroundWorker to limit Assets.load* requests at once 2015-07-10 17:35:06 -07:00
Joshua Granick
89ad4e1290 iOS font embed fix 2015-07-07 13:23:34 -07:00
Joshua Granick
087203455c Simplify use of BackgroundWorker in Assets, add optional onError condition in worker 2015-07-06 10:21:47 -07:00
Joshua Granick
0882e27537 Renamed WorkerThread to BackgroundWorker, improve 2015-07-06 10:05:58 -07:00
Joshua Granick
7f4f91bc53 Make Assets.load* use a background thread on native 2015-07-03 12:08:50 -07:00
ProPuke
182e010424 fixed: html5 async asset loading 2015-06-13 15:15:36 +01:00
ProPuke
3c98ca61ac fixed: html5 runtime errors loading missing assets 2015-06-13 05:26:17 +01:00