UndoRedo
(Update: 2013/04/05)
This plugin could help designer to add "undo/redo" feature more easily, it could used with canvas or chess/board (just for example).
- use "action: push" to push step into plugin
- if "condition: can undo" return true, use "expression:Undo" to get step from plugin.
- if "condition: can redo" return true, use "expression:Redo" to get step from plugin.
- set "Mode" to "Steps" if used in chess/board. "States" if used in canvas.
Used with canvas
Demo
- drag to draw circle, each touch end will be a "step"
- click undo / redo
Capx
To open this capx, user need to have
Plugin: canvas
Behavior: rex_canvasext
The "Mode" in properties table is "States"
- save/load whole image.
Used with chess/board
Demo
- click blue tile to move forward
- click undo / redo
Capx
To open this capx, user need to have
Plugin: rex_Board
Plugin: rex_board_squareTx
Plugin: rex_hash
Behavior: rex_chess
Behavior: rex_grid_move
The "Mode" in properties table is "Steps".
- Use "startLX" , "startLY" to get source logic position when undo.
- Use "endLX" , "endLY" to get target logic position when redo.
UndoRedo plugin could be used standalone, these dependence plugins/behaviors are only for opening these two sample capx.rexrainbow2013-04-05 00:37:07
Behavior: rex_canvasext
Isn't available, is there any onther way to download it?