rex_layouter_numbers
Plugin, ACE table, Discussion thread
Dependence:
Dependence:
- rex_glayouter plugin
- A layout behavior like rex_layouter_linear, or rex_layouter_cyclic.
Introduction
Show numbers using sprites in rex_glayouter object. The frames are mapped to "0","1","2","3","4","5","6","7","8","9","","-".
Each number is created by a sprite, so that they could be controlled by behaviors like official sine behavior, or responded the official touch events individually.
Show numbers using sprites in rex_glayouter object. The frames are mapped to "0","1","2","3","4","5","6","7","8","9","","-".
Each number is created by a sprite, so that they could be controlled by behaviors like official sine behavior, or responded the official touch events individually.
Usage
Sample capx
Sample capx
Prepare
Put this behavior under rex_glayouter object, and add a layout behavior like rex_layouter_linear, or rex_layouter_cyclic for arrangement of number sprites.
Put this behavior under rex_glayouter object, and add a layout behavior like rex_layouter_linear, or rex_layouter_cyclic for arrangement of number sprites.
Sprite for numbers
User need to have a sprite to map frames to numbers, the mapping frames are "0","1","2","3","4","5","6","7","8","9","","-". i.e.
User need to have a sprite to map frames to numbers, the mapping frames are "0","1","2","3","4","5","6","7","8","9","","-". i.e.
- frame 0 : number 0
- frame 1 : number 1
- frame 2 : number 2
- frame 3 : number 3
- frame 4 : number 4
- frame 5 : number 5
- frame 6 : number 6
- frame 7 : number 7
- frame 8 : number 8
- frame 9 : number 9
- frame 10 : null
- frame 11 : sign "-"
Set value
Call "Action:Set value" to change the frame of these sprites by input value. "Expression:Value" could be used to get the input value.
Call "Action:Set value" to change the frame of these sprites by input value. "Expression:Value" could be used to get the input value.