Commit Graph

217 Commits

Author SHA1 Message Date
Joshua Granick
2ccee960dc Rename Emscripten target to WebAssembly 2023-05-30 08:53:09 -07:00
Josh Tynjala
589712e29f ApplicationMain: ensure that AIR window initial title is populated
Was incorrectly being set to Lime Application instead
2023-03-15 14:50:47 -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
c43be68eab Revert "add failIfMajorPerformanceCaveat setting"
This reverts commit aa77fcbdd7.
2020-12-17 12:37:37 -08:00
Александр Хохлов
aa77fcbdd7 add failIfMajorPerformanceCaveat setting 2020-10-14 09:23:52 +04: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
Joshua Granick
5eb13042d9 Template fix 2019-02-14 09:09:39 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -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
691555fb56 Add app.meta.version to default template 2018-08-20 11:05:12 -07:00
Joshua Granick
a29297f450 Minor tweak 2018-07-12 12:35:45 -07:00
Joshua Granick
8a6a0922eb Expose stage and element on Window (Flash and HTML5), restore AIR multi-window support 2018-07-12 12:20:08 -07:00
Joshua Granick
ead5cd8946 Flash fixes 2018-07-07 11:10:57 -07:00
Joshua Granick
6743c61405 Clean up error output 2018-07-07 10:06:03 -07:00
Joshua Granick
b076f95dc7 Refactor, make Preloader created by default, onUpdate on Application, app.createWindow, merge win/context attributes 2018-07-05 09:34:00 -07: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
355aa29d56 Move update/frameRate to Window and flatten Application convenience callbacks to fire only from the primary window 2018-07-05 09:33:59 -07:00
Joshua Granick
9a0c65ed2e Refactor API for clarity and future changes 2018-07-05 09:33:58 -07:00
Joshua Granick
aa4c4b6a05 Merge initial Kha backend 2018-06-13 11:55:15 -07:00
Joshua Granick
a2a4e063b2 Add key/value command-line arguments to Window parameters 2018-04-18 08:27:00 -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
6589b22c6f Add support for GL 32-bit color depth on native (close #698) 2017-06-05 13:29:37 -07:00
Joshua Granick
3475693c02 Code completion fix 2017-05-30 15:34:45 -07:00