Commit Graph

41 Commits

Author SHA1 Message Date
Joshua Granick
2ccee960dc Rename Emscripten target to WebAssembly 2023-05-30 08:53:09 -07:00
Joseph Cloutier
c44e292a06 Use applicationDirectory to locate assets.
`programPath()` returns the directory of the executable, but that isn't
always the asset root. (Notably, in the case of Mac apps.)
2023-01-13 21:19:52 -05:00
player-03
63d2f896fb Merge pull request #1597 from player-03/remove_kha
Remove the defunct Kha backend.
2022-11-18 14:07:20 -05:00
Joseph Cloutier
1546e826c2 Remove the defunct Kha backend. 2022-11-14 12:14:22 -05:00
player-03
76e1df8ef4 Merge pull request #1538 from player-03/programPath
Allow running native apps from other directories.
2022-10-10 13:35:54 -04:00
player-03
f38119d181 Merge branch 'develop' into rootPath-improvements 2022-09-03 15:22:26 -04:00
Josh Tynjala
e3a755ff60 ManifestResources: use Dynamic instead of AssetLibrary when disable_preloader_assets is defined 2022-06-14 07:41:50 -07:00
Josh Tynjala
4e1974fc9f ManifestResources: if disable_preloader_assets is defined, keep the public API available
Ensures that existing custom templates still work
2022-06-14 07:07:22 -07:00
Joseph Cloutier
0e6bfa830b Allow running native apps from other directories.
It isn't always safe to assume `./` is the app directory, and removing
that assumption opens up options.

Requires at least Haxe 3.4, but I don't think Lime supports 3.3 anyway.
2022-06-07 11:47:18 -04:00
Josh Tynjala
0ecf27d2d6 disable_preloader_assets haxedef
When the project contains no assets, excludes asset-related classes for big file size savings
2021-11-18 10:46:07 -08:00
player-03
fd89a87dfb Standardize formatting
This file isn't entirely consistent with the rest of Lime, but it is self-consistent and I think we should keep it that way.

(I fixed a few unrelated lines while I was at it. I know it makes the pull request less tidy, but I wanted to confine simple formatting changes to a single commit.)
2021-03-29 05:25:00 -04:00
Kostas Chatzikokolakis
7ac8d0c27e ManifestResources: append "/" to rootPath if missing 2021-01-27 13:37:02 +02:00
Joshua Granick
274ae5fe3b Fix double root path 2019-10-08 13:13:10 -07:00
Joshua Granick
80867b3f62 Android root path changes (fix #1346) 2019-08-22 08:00:55 -07:00
Joshua Granick
1caf9d92f8 Revert "Update ManifestResources.hx"
This reverts commit dfdb576e37.
2019-08-13 10:57:51 -07:00
Joshua Granick
dfdb576e37 Update ManifestResources.hx 2019-08-13 10:38:41 -07:00
Joshua Granick
d0f15395a5 Asset manifest fix 2019-08-12 14:48:55 -07:00
Justin Espedal
0fdbb6b2ed Fix asset loading on Windows 2019-06-24 12:39:20 -07:00
Joshua Granick
f637bdd8ef Fixes for bundle loading 2019-06-21 15:07:08 -07:00
Joshua Granick
7c4110fbef Initial support for libraries using asset bundles 2019-06-21 12:15:58 -07:00
Carlos Madrazo
125840589f Initial CPP winrt -static
Runs but no bitmap is displayed when testing with DisplayingABitmap. You can attach VS2017 debugger (Debug Installed App Package).

lime rebuild tools
lime rebuild winrt -static
in DisplayingABitmap:
openfl test project.xml winrt -static
2019-03-04 06:56:40 -08:00
Jens Fischer
ee0c4a88c9 Hide __ASSET__ classes with @:noCompletion 2019-02-05 20:39:12 -08:00
Joshua Granick
e4d7ae8cf4 Template fix 2018-12-12 16:30:59 -08:00
Joshua Granick
eb0b2df706 Console font fixes 2018-12-10 21:20:01 -08:00
Joshua Granick
59520c26cb Rough pass at refactoring app.Config into Window and new RenderContextAttributes and Meta 2018-07-05 09:34:00 -07:00
Joshua Granick
aa4c4b6a05 Merge initial Kha backend 2018-06-13 11:55:15 -07:00
Joshua Granick
296c8a816d Resolve support for '-dce full' with 'embed=true' assets on native 2018-04-13 20:04:17 -07:00
Joshua Granick
98d5af838b Initialize native fonts once and copy all metrics to processed HTML5 fonts 2018-02-15 13:07:36 -08:00
Kostas Chatzikokolakis
d6dc78ff0c Include metrics of embedded fonts in html5 2018-02-15 12:27:25 -08:00
Joshua Granick
41407fd570 Improvements to asset packing support 2017-11-15 14:53:43 -08:00
Joshua Granick
27e9759f2f Initial merge of WinJS UWP support 2017-09-22 15:10:57 -07:00
Joshua Granick
2b0e2906cc AIR fixes 2017-08-24 15:39:42 -07:00
Joshua Granick
3cd245682e Fix Emscripten asset support, fix Log.verbose on Emscripten builds 2017-06-23 16:30:15 -07:00
Joshua Granick
5d52def495 Band-aid for using embedded assets with HTML5 -Dmodular builds 2017-06-21 15:48:08 -07:00
Joshua Granick
3475693c02 Code completion fix 2017-05-30 15:34:45 -07:00
Joshua Granick
bb0650511e Fix config.rootPath 2017-05-24 08:09:43 -07:00
Joshua Granick
b13a732db9 Minor cleanup 2017-03-09 15:31:48 -08:00
Joshua Granick
3185e383d6 Fix OpenFL font embed 2017-03-07 08:57:25 -08:00
Joshua Granick
06dbecde66 Rebuild how lime.embed works, fix multiple embeds, allow passing window config values (resolve #933) 2017-02-28 15:33:51 -08:00
Joshua Granick
2d27cf1144 Fix AssetManifest base path 2017-02-26 14:06:11 -08:00
Joshua Granick
ef39486f25 Revise asset library architecture 2017-02-24 19:19:39 -08:00