Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azrafe7/hx-embed-assets
Embedding assets in Haxe 3 + OpenFL 1.1.1 via metatags.
https://github.com/azrafe7/hx-embed-assets
Last synced: 26 days ago
JSON representation
Embedding assets in Haxe 3 + OpenFL 1.1.1 via metatags.
- Host: GitHub
- URL: https://github.com/azrafe7/hx-embed-assets
- Owner: azrafe7
- Created: 2013-12-06T21:34:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-09T02:38:26.000Z (about 11 years ago)
- Last Synced: 2024-11-05T13:22:37.812Z (2 months ago)
- Language: Haxe
- Size: 705 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hx-embed-assets
===============Embedding assets in Haxe 3 + OpenFL 1.1.1 via metatags.
This little example shows how to embed and use assets via metadata tags
(see [http://haxe.org/manual/tips_and_tricks#flash-specific-metadata](http://haxe.org/manual/tips_and_tricks#flash-specific-metadata)).Showcases:
- Font embedding (**@:font**)
- BitmapData embedding (**@:bitmap**)
- Sound embedding (**@:sound**)
- File embedding (**@:file**)
- XML embedding (**@:file** and **Xml** manipulation)The great news is that now those metatags seem to be supported on _almost_ all platforms...
and that the resources will actually be included in the executable, just like flash does
(**they won't be copied over to the output folder!**).Tested and working on windows targeting `flash`, `neko`, `cpp` and `android` (no luck with `html` for now).