Kostas Chatzikokolakis
d969c7fa30
output.js: add AMD compatibility
...
If the code is loaded via AMD/requirejs:
- we call define() instead of exporting 'lime' globally
- we disable AMD while the embedded libraries are loading, so that they
register themselves in the global scope.
2019-06-12 11:51:36 -07:00
Joshua Granick
44133fe2d4
Add -npm option for HTML5
2019-04-15 13:59:18 -07:00
Joshua Granick
42649d1b9a
Improve output HTML5 script wrapper for better Haxe 3.2 support
2019-04-03 11:31:49 -07:00
Joshua Granick
970aaa979c
Fix HTML5 output template on debug
2019-03-29 17:06:43 -07:00
Joshua Granick
914e94f9e5
Fix line numbers for HTML5 source maps
2019-03-29 15:58:03 -07:00
Joshua Granick
cac82509da
Add support for embedded JS dependencies (embed Lime dependencies by default)
2019-02-12 13:30:07 -08:00
Joshua Granick
3e9f875eaf
Process JS using template, add support for unique statics in repeat lime.embed calls
2019-02-12 13:14:40 -08:00
Joshua Granick
734ed288ab
Make DIV transparent when no window background is set
2018-11-12 11:03:59 -08:00
Joshua Granick
ce50286f0a
Workaround change in behavior for Chrome window preventDefault
2018-06-25 11:28:55 -07:00
Joshua Granick
594ab27006
Make font style CSS on HTML5 dependent on which formats are generated
2017-11-17 15:51:11 -08:00
Joshua Granick
96df81a89b
Remove deprecated HTML meta tag
2017-03-29 16:00:07 -07:00
Joshua Granick
3ded4212ae
Update default HTML template
2017-02-28 15:50:00 -08:00
Joshua Granick
592665629d
Use AppName.embed instead lime.embed for HTML5 by default
2016-12-22 14:34:33 -08:00
Joshua Granick
f580ea149c
Add favicon for HTML5
2016-09-29 14:29:01 -07:00
Valentin Lemière
9fe3750653
Separate build types, use context variable in templates instead of hardcoding. Fix #353
2016-07-06 09:41:56 +02:00
Joshua Granick
887bb118b7
Allow <window resizable='false' /> in default HTML5 template
2015-12-11 14:18:07 -08:00
Joshua Granick
bf8f88639d
Fix template (thanks @mcheshkov) ( fix #551 )
2015-08-22 09:12:40 -07:00
Joshua Granick
7700c12567
Add js-flatten and DCE full to HTML5 -final HXML
2015-01-22 11:10:02 -08:00
Joshua Granick
0183e700be
Unify preloading code
2014-06-19 00:48:11 -07:00
Joshua Granick
97d9911b67
Some refactoring
2014-06-19 00:35:46 -07:00
Joshua Granick
bfbdbdba5a
Begin work on HTML5
2014-06-19 00:35:36 -07:00
Joshua Granick
1675043dd1
Add HXML files for 'final' build config
2014-05-22 15:38:04 -07:00
Joshua Granick
7d4c3668d1
Cleanup HXML templates
2014-05-20 18:38:30 -07:00
Joshua Granick
a6e83e9a46
Add JS dependencies to HTML template
2014-05-16 09:24:07 -07:00
George Corney
6ba1a00ebc
CSS-forced width & height fix
...
CSS prevented the width and the height being set by the project file
2014-04-05 19:22:04 +01:00
underscorediscovery
277cbf83a5
Wrapper; Audio; Making sure audio thread code only runs on native with thread options
...
Wrapper; Template; updating html5 ApplicationMain.hx to have parity with new config typing.
2014-01-28 03:35:14 -03:30
underscorediscovery
143d25bb11
Wrapper; Input; adding html5 gamepad support, still a few minor things to add (disconnect/reconnect like native) and initial event types for gamepad for native as well
2014-01-26 21:55:16 -03:30
underscorediscovery
37e23f3a3d
Wrapper; Template; cleanup older template code, and fix css to properly centre the canvas.
2014-01-26 15:10:49 -03:30
underscorediscovery
74429b0e36
Wrapper; soundManager2 Audio implementation for html5 lime standalone targets
2014-01-26 05:52:33 -03:30
underscorediscovery
cc9ff9b882
Wrapper; Window; passing all of the window flags for config.
...
Wrapper; Float32Array; The constructor was using length as a bytelength, instead of vert length (to match the webGL spec)
2013-12-11 21:59:10 -03:30
underscorediscovery
7b5f2dfaf3
Keys; Adding more enums for the keymaps, and fixing values from sdl2.
...
Cleanup; Renaming LiME to Lime from legacy class name.
2013-12-09 18:05:22 -03:30
underscorediscovery
ba35d41715
Updating templates path
2013-11-28 01:23:25 -03:30