Skip to content

zhefengzhang/load-remote-plist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

基于 Cocos Creator 2.x 版本开发,用于加载远程图集 plist 资源。

Developed based on the Cocos Creator 2.x version for loading remote plist resources.

示范:/ demonstration:

const LoadRemotePlist = require("./LoadRemotePlist");

cc.Class({
    extends: cc.Component,

    properties: {
    },

    start () {
        LoadRemotePlist("http://127.0.0.1:5500/assets/resources/emoji.plist",(err, plist)=>{
            let spriteFrames = plist.getSpriteFrames();
        });
    },
});

Releases

No releases published

Packages

No packages published