ZIM js JavaScript Framework

Canvas Components, Controls and more!

Custom Font Support in ZIM loadAssets() #Canvas #JavaScript #CreateJS #ZIMjs

fonts

ZIM 6.4.0 has launched with support for preloading custom fonts with zim.loadAssets().  This piggy backs on the excellent CreateJS library’s FontLoader class and lets you consolidate loading in ZIM with other assets like images, sound, JSON files, etc.

frame.loadAssets({font:name, src:url});
frame.on("complete", function() {
  new Label({text:"hello world", font:name}).center(stage);
});

Here is a link to the ZIM Bubbling Video on YouTube.

ABOUT ZIM

ZIM at http://zimjs.com is an open source JavaScript Framework for the HTML Canvas. You code in a text editor and view the code in a Browser. You can make visually rich games, apps, art and sites. ZIM is powered by the wonderful CreateJS with many thanks to their team!

The ZIM site features the following sections:

  • LEARN tutorials on how to start and code in ZIM
  • CODE ZIM Frame template and code context
  • DOCS the objects and commands all defined
  • NEWS latest features and articles
  • ABOUT features, applications, archives, reviews, etc.
  • EXAMPLES sample projects created in ZIM

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Information

This entry was posted on October 29, 2017 by in interactive media, javascript, launch and tagged , , , , , , , .
Advertisements

Categories

%d bloggers like this: