Commit Graph

60 Commits

Author SHA1 Message Date
Vince
9478055658 Move 'add frame button' to preview frames
and change UXD
2013-06-13 17:39:59 +02:00
Vince
d1f292bd69 Fix save/upload buttons UX
- new look and feel
- upload for png spritesheet & animated gif
- remove host code (window.open) from spritesheetRenderer
2013-06-13 17:39:59 +02:00
Vince
b89409f82e Make tools sticky on screen's left edge
So that the drawing canvas can expend full height
2013-06-13 17:39:59 +02:00
Vince
5b0a8f157d Fixing DnD, removing LESS, cleaning code
- Updating DnD to use Sortable instead of draggable/dropppable
(updating deps as well).
- much simpler logic for DnD
- Remove LESS for now since it's a bit yet overkill
- fix moveFrame function
2013-06-13 00:04:39 +02:00
grosbouddha
5de77dc6fb Adding moar icons + anim preview + code removal 2013-06-12 18:39:33 +02:00
Vince
31062a70a9 proto init implementation + less 2013-06-12 14:53:47 +02:00
grosbouddha
1441dcd67a Adding simple color picker
Left click colorpicker tool:
- Create PRIMARY/SECONDARY_COLOR_SELECTED/UPDATED events
- remove isPrimary arguments
2013-04-09 01:32:30 +02:00
jdescottes
944f1a53df Changed icons 2013-04-07 21:14:37 +02:00
jdescottes
7ab4705d85 Typo in dependency 2013-04-07 20:18:53 +02:00
jdescottes
7c25c54d2c Export to GIF 2013-04-07 20:16:47 +02:00
juliandescottes
562d669ae1 Basic export - opening new window with concatenated spritesheet in PNG format 2012-09-20 00:43:39 +02:00
Vince
6d0b2eb9e2 merging with master 2012-09-16 14:24:03 +02:00
Vince
ca08d4b56a move notification to controller directory 2012-09-16 13:53:41 +02:00
Vince
b671d46dbf moving palette.js to controller directory 2012-09-16 13:28:53 +02:00
Vince
12680b7b8b fix keyboard eventservice 2012-09-16 13:27:00 +02:00
Vince
7d529aeaaa Move HistoryManager to a service 2012-09-16 13:10:05 +02:00
Vince
b8eb3c9bd9 Cleaning JavaScript includes in index.html 2012-09-16 12:59:47 +02:00
Vince
cfd5050901 UI cleanup 2012-09-16 04:33:26 +02:00
Vince
b761750766 Renaming to VerticalMirrorPen 2012-09-16 00:52:39 +02:00
Vince
1a143ad5e3 Vertical mirror pen - initial implementation 2012-09-16 00:49:52 +02:00
Vince
b4b59c97c6 fixing include for toolcontroller.js 2012-09-15 21:55:38 +02:00
Vince
440a6391e9 Generate tool's markup automatically 2012-09-15 20:25:45 +02:00
Vince
277fd979e9 master conflict merge 2012-09-15 02:24:06 +02:00
juliandescottes
813b60b854 Simplified Rectangle.js and pixelUtils 2012-09-14 22:20:00 +02:00
Vince
841885939d Basic lasso tool 2012-09-14 20:12:21 +02:00
Vince
e85fe32f02 Basic rectangular select tool basic 2012-09-13 22:57:32 +02:00
Vince
991b66b67c Basic cut implementation
SelectionManager implmentaiton
Rectangular seleciton impl
Utils refacoring
Event manager refactoring
basic cut implmentation
2012-09-12 12:01:47 +02:00
Vince
4c90db44b2 Initial work 2012-09-11 19:55:03 +02:00
juliandescottes
2fa95fa1bc Added DrawingLoop.js and plugged basic rendering on each controller 2012-09-09 00:40:05 +02:00
juliandescottes
6e7545a1d2 Added drawing loop, unplugged traditional renderers 2012-09-08 23:59:44 +02:00
Vince
df945e10dd Add grid checkbox 2012-09-08 23:43:16 +02:00
Vince
9d5e2dc2d3 Merging dragndrop 2012-09-08 15:17:19 +02:00
Vince
eb7511c721 Encapsulate canvas element in FrameRenderer
From this change set, the HTML canvas element, which is the frame view,
is encapsulated inside the FrameRenderer.
You won't need to give the view handle from the controller layer
anymore.
It will make view alteration implementations much easier (like grid for
instance)
2012-09-08 15:08:00 +02:00
Vince
c66ce4c9ad Implementing interstitial tiles
Interstitial tiles are fake slides and allow us to insert drag n drop
tiles between two other.
2012-09-08 02:50:59 +02:00
Vince
6a0ba8acfe Small css cleaning for preview film 2012-09-07 23:24:48 +02:00
Vince
b824207d1d Dragndrop preview film tiles
- import go jquery-ui
- Basic implementation without styling
- only swapping is possible (no insertion)
2012-09-07 23:14:25 +02:00
juliandescottes
f06f03a7f7 Added simple move tool 2012-09-07 01:08:25 +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
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
89be121dd1 Fixed animation preview when deleting 2012-09-05 00:42:25 +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
4c4faa88e6 Moved drawing logic outside of tools. Previews and animations are broken. Performance is somehow degraded 2012-09-04 14:10:16 +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
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
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