mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Added SpriteSheet support to chuck animations
This commit is contained in:
parent
c6add97a38
commit
dbde25f76e
259 changed files with 2533 additions and 5 deletions
|
|
@ -58,9 +58,12 @@ function (Parent, Settings, Nc, PIXI, AbstractLayer) {
|
|||
return n;
|
||||
}
|
||||
|
||||
/*
|
||||
// Single File Animations Preloading
|
||||
var characterNames = ["Chuck"];
|
||||
var animationSets = ["WithArms", "WithoutArms"];
|
||||
var addition = "";
|
||||
|
||||
for (var i = 0; i < characterNames.length; i++) {
|
||||
var characterName = characterNames[i];
|
||||
for (var j = 1; j <= 126; j++) {
|
||||
|
|
@ -79,6 +82,18 @@ function (Parent, Settings, Nc, PIXI, AbstractLayer) {
|
|||
};
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
var characterName = characterNames[0];
|
||||
|
||||
paths.push(
|
||||
Settings.GRAPHICS_PATH
|
||||
+ Settings.GRAPHICS_SUBPATH_CHARACTERS
|
||||
+ characterName
|
||||
+ "/Animation/"
|
||||
+ "/TexturePacker"
|
||||
+ "/witharms.json"
|
||||
);
|
||||
|
||||
paths.push(
|
||||
Settings.GRAPHICS_PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue