Skip to content

constructjs/asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Construct: Asset

An extension for Construct.js to support asset.json for streamlining asset delivery.

Install

Using bower:

bower install construct.asset

Usage

The most common use of this library is through its custom element, named construct-asset:

<construct-asset src="...">
or
<asset is="construct-asset" src="...">

The library can also be loaded manually by including "build/construct.aseet.js" in your webpage.

Configure the format(s) of the assets to be supported:

construct.asset(["obj"]);

Then use the relevant methods in the Main3D view...

Credits

Initiated by Makis Tracend ( @tracend )

Released at Makesites.org

Distributed under the MIT license

About

Supporting asset.json for streamlining asset delivery

Resources

Stars

Watchers

Forks

Packages

No packages published