Commit graph

13 commits

Author SHA1 Message Date
juliandescottes
d92c99ccf8 Renamed frameSheetModel to Uppercase 2012-09-03 21:47:08 +02:00
Vince
2a20cc90ea Integration (with myself) fixes
- Adding default value in empty frames to avoid artifact when paint
bucketing (you may have issues with previously stored model before this
commit, no migration plan for papybrossette :D)
 - Fix issue: Model does not show up when loading a remote GAE model
 - Removing FRAMESHEET_UPDATED events (remains of history manager
implementation)
2012-09-03 20:45:25 +02:00
Vince
d7044dc44d Cleanup of piskel.js
Partial cleanup of piskel:
  new events and constant
  move palette and color picker in ToolSelector
  create Notifcation.js and move user message in it
  create LocalStorageService and move LS stuff in it
2012-09-03 01:24:55 +02:00
Vince
ca04f8db4d Tool plugin architecture with eraser/pen/paintbucket tools. 2012-09-01 01:21:58 +02:00
Julian Descottes
71c732665f Update js/frameSheetModel.js
Small mistake in catch block
2012-08-29 20:32:23 +03:00
Firstname Lastname
3a4ef0d6eb palette finished + firefox fix 2012-08-29 10:46:25 +02:00
Firstname Lastname
3664d87751 temp commit 2012-08-29 10:15:18 +02:00
Julian Descottes
6ea7f74d00 adding palette basics 2012-08-29 08:39:03 +02:00
Vince
5c58db1983 Merge https://github.com/juliandescottes/piskel 2012-08-29 01:15:20 +02:00
Vince
c1635b9d65 Shit cleaning :) 2012-08-29 01:14:28 +02:00
Julian Descottes
b64f3d46bc Update js/frameSheetModel.js
forgot a small change ...
2012-08-29 02:00:45 +03:00
Julian Descottes
4366fc42cc Added serialization/deserialization capabilities
Two changes to Framesheet :
*  serialize : basic implementation using JSON.stringify
* deserialize : added method
2012-08-29 00:57:55 +02:00
Vince
651563f793 FrameSheet model object migration
Migration to a Domain object (currently a FrameSheetModel, feel free to
change its name). The model is being used by the slideshow (drawing
each tiles), animation preview (drawing animation) and drawing (update
model and redraw current tile).
Now the rendering information are not stored in a canvas element that
you paste from canvas to canvas but centralize in this model. The frame
is described as an array of array: that will allow different rendering
using the dpi constants and more flexibility (e.g. drawing a grid,
serializing the data).

Some minor modifications:
  - cleaning markup
  - adding background image to highlight transparent area
2012-08-27 02:05:13 +02:00