juliandescottes
14bf3f97c5
fixed bug when reaching stage 0
2012-09-07 00:56:31 +02:00
juliandescottes
17bf7b3807
Added undo/redo feature
...
* new file : HistoryManager.js
* can undo (ctrl-z) and redo (ctrl-y) changes performed through the
tools
* history states are recorded per frame
* a new state is recorder each time a tool is released (introduced
TOOL_RELEASED event for this purpose)
* a duplicated frame doesn't inherit the history states of the original
frame
* there is no limit to the number of states that can be stored per frame
* actions such as creating/duplicating/deleting a frame are not
concerned by this update
2012-09-07 00:18:59 +02:00
juliandescottes
9f36462d96
Fixed small bug with transparent color in palette
2012-09-06 23:12:35 +02:00
juliandescottes
0a2e2217c9
Fixed regression on color-picker
2012-09-06 23:10:02 +02:00
juliandescottes
4c1c96095f
Added secondary color support.
...
Added :
- second color picker
- removed automatic switch to eraser when using right click
- colors are automatically added to palette when selected
2012-09-06 22:37:19 +02:00
juliandescottes
f2b1e433c0
realigned cursros hotspots
2012-09-06 01:09:02 +02:00
juliandescottes
f723d4bbaf
Removed debugging logs from event callbacks.
2012-09-06 00:45:49 +02:00
juliandescottes
9a09f11650
oh well ...
2012-09-06 00:40:27 +02:00
juliandescottes
5a36f8a3a8
forgot to render the overlay
2012-09-06 00:36:45 +02:00
juliandescottes
03c56407d3
using clearOverlay
2012-09-06 00:35:02 +02:00
juliandescottes
8332b31fa7
fixed add button
2012-09-06 00:23:24 +02:00
juliandescottes
8a7245bfea
onMouseUp triggering releaseToolAt unnecessarily
2012-09-06 00:14:32 +02:00
juliandescottes
070a83fd03
Passed correct reference of drawingController when releasing tool
2012-09-05 23:59:53 +02:00
Patrick Brosset
2430e8f2ab
fixed bug where deleting first frame was failing
2012-09-05 07:59:58 +02:00
juliandescottes
89be121dd1
Fixed animation preview when deleting
2012-09-05 00:42:25 +02:00
juliandescottes
53436009e3
Changed main-canvas to drawing-canvas
2012-09-05 00:13:45 +02:00
juliandescottes
1de9ee41b2
Finished first step of refactor.
2012-09-05 00:09:42 +02:00
Patrick Brosset
d4faba810d
series of tiny improvements to the ui
2012-09-04 23:48:02 +02:00
juliandescottes
a567992a1d
moved Frame and FrameSheet to model package
2012-09-04 22:40:54 +02:00
juliandescottes
69a03a3416
Previews are fixed. Removed drawing methods from piskel .js
2012-09-04 22:18:00 +02:00
juliandescottes
c261c370ad
Removed old debugging method.
2012-09-04 21:27:49 +02:00
juliandescottes
4c4faa88e6
Moved drawing logic outside of tools. Previews and animations are broken. Performance is somehow degraded
2012-09-04 14:10:16 +02:00
juliandescottes
561c35c882
Adding Frame Renderer utility
2012-09-04 08:35:58 +02:00
juliandescottes
bd9f8f4489
Merge branch 'master' into extract-rendering
2012-09-03 23:33:46 +02:00
Vince
640d8346b7
Merge branch 'create-palette-component'
2012-09-03 22:49:42 +02:00
juliandescottes
3e02037b58
Removed all references to normalizeCOlor
2012-09-03 22:31:56 +02:00
Vince
4c611d80c5
Create palette component
...
Create Palette component (was inside the ToolSelector before)
Fix the palette generation as well.
2012-09-03 22:30:53 +02:00
juliandescottes
ad1fc2ecc2
Eraser now inherits from SimplePen. Added a superclass property attached in the inherit util
2012-09-03 22:22:24 +02:00
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
f91308405d
Fix previous init animation
2012-09-03 01:39:21 +02:00
Vince
35736949d8
Shit merge
2012-09-03 01:34:11 +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
9758aa62d9
Add interpolation when using the pen tool quickly
2012-09-02 17:49:28 +02:00
Vince
946444a16b
Adding rectangle tool
2012-09-02 13:19:20 +02:00
Vince
4622cf67a7
Adding support for transparent color
2012-09-02 01:41:49 +02:00
Vince
700c6ab144
Stroke tool
...
Add stroke tool
new icons for tools
started some refactoring to help having a big redraw loop
2012-09-02 00:44:55 +02:00
Vince
6b7294e8c5
Shit merge
2012-09-01 02:17:24 +02:00
Vince
ca04f8db4d
Tool plugin architecture with eraser/pen/paintbucket tools.
2012-09-01 01:21:58 +02:00
juliandescottes
509ffcea2a
Added message when loading an animation from Service
2012-08-30 16:30:22 +02:00
Julian Descottes
70ad2760df
fixed fps slider
2012-08-30 01:55:14 +02:00
Julian Descottes
bd8b72f3d5
merged from master
2012-08-30 01:30:26 +02:00
Julian Descottes
a1872d3521
support post
2012-08-30 01:26:14 +02:00
Julian Descottes
aaf254cc3f
post
2012-08-30 01:16:13 +02:00
Vince
52a9d7b379
Adding query 1.8.0 and pubsub bus
2012-08-30 00:48:22 +02:00
Vince
04bcb09496
Merge branch 'gh-pages' of https://github.com/juliandescottes/piskel
2012-08-29 23:58:25 +02:00
Vince
c227687df8
Creating init method for localstorage
2012-08-29 23:32:51 +02:00
Vince
6cc8534041
Adding localstorage support
2012-08-29 23:01:04 +02:00
Julian Descottes
c43e25e3bf
merged after pull from remote
2012-08-29 20:43:07 +02:00
Julian Descottes
9fcd9a22b5
merged from master
2012-08-29 20:40:34 +02:00
Julian Descottes
33954364f9
per pixel redraw
2012-08-29 20:34:34 +02:00
Julian Descottes
71c732665f
Update js/frameSheetModel.js
...
Small mistake in catch block
2012-08-29 20:32:23 +03:00
juliandescottes
6d2b1944fa
Use slider for choosing FPS
2012-08-29 13:46:57 +02:00
juliandescottes
00c5975c65
slider
2012-08-29 13:43:36 +02:00
juliandescottes
b8c59702e9
test
2012-08-29 11:51:40 +02:00
Firstname Lastname
09c0d27e71
update preview
2012-08-29 10:57:56 +02: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
629959e625
Code cleaning: removeFrame & canvas DPI issue
...
Making the drawing canvas really scalable
Cleaning the removeFrame code
2012-08-28 23:30:55 +02:00
Vince
6616ec2870
Adding basic color picker
2012-08-28 22:43:32 +02:00
Julian Descottes
817d375d8f
copied 2 pull requests from grosbouddha
2012-08-28 00:53:27 +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
Vince
1f95b8611b
Delete/Duplicate actions for tile preview + FPS tuner for animated preview
2012-08-25 02:25:44 +02:00
Julian Descottes
d7b8ffb738
initial commit demo
2012-08-23 01:00:30 +02:00
Julian Descottes
1b44e3fd48
Initial commit from dropbox
...
Basic features :
Can create frames
Can edit frames (black and white only)
Can select the frame to edit
Animated preview
And that's it.
Really tired and code is extremely ugly, just needed to do something
that _works_
2012-08-23 00:57:35 +02:00