Issue 24 : Layers

!! NOT STABLE !!
Initial implementation. No UI update yet.
Check js/model/Piskel.js and js/model/Layer.js for an overview of the new
API.

Piskels can be saved on the existing service.

Previous piskels cannot be loaded. This should be fixed soon.
This commit is contained in:
jdescottes
2013-09-22 21:02:43 +02:00
parent 4f6863eb8a
commit 6528c7724b
24 changed files with 572 additions and 230 deletions

View File

@ -13,9 +13,11 @@ exports.scripts = [
// Libraries
"js/utils/core.js",
"js/utils/Template.js",
"js/utils/PixelUtils.js",
"js/utils/CanvasUtils.js",
"js/utils/FrameUtils.js",
"js/utils/PixelUtils.js",
"js/utils/Serializer.js",
"js/utils/Template.js",
"js/utils/UserSettings.js",
"js/lib/jsColor_1_4_0/jscolor.js",
@ -24,7 +26,10 @@ exports.scripts = [
// Models
"js/model/Frame.js",
"js/model/FrameSheet.js",
"js/model/Layer.js",
"js/model/Piskel.js",
// Selection
"js/selection/SelectionManager.js",
"js/selection/BaseSelection.js",
"js/selection/RectangularSelection.js",
@ -36,6 +41,7 @@ exports.scripts = [
"js/rendering/SpritesheetRenderer.js",
// Controllers
"js/controller/PiskelController.js",
"js/controller/DrawingController.js",
"js/controller/PreviewFilmController.js",
"js/controller/AnimatedPreviewController.js",
@ -68,5 +74,5 @@ exports.scripts = [
"js/drawingtools/ColorPicker.js",
// Application controller and initialization
"js/piskel.js"
"js/app.js"
];