Behaviors
Canvas
Container
- Container tag : Container tag to add sprite into container at layout editor.
Effect
General
- Color : Color manipulation and conversion. Reference: https://github.com/bgrins/TinyColor
- Pause : Pause timescale of this instance
- Step : Insert x,y position.
- Tree node : Get parent or children instance(s) from a tree.
Input
Layouter
Movements
- EaseTween Mod : Tween an object's position, size, angle or other properties using an easing function.
Rex - AI
- Boids : Calculate steer force by flocking algorithm.
- Interception : Predict the point of intersection. It assumes that objects move with constant speed.
- LJ potential : Lennard-Jones potential formula - ( (A/r^n)-(B/r^m) ) for attracting or rejecting objects.
Rex - Animations
Rex - Arrow key
Rex - Attributes
Rex - Board - application
- Chess : Chess for board plugin.
- Grid Move : Move sprite to neighbor on board object
- Logic Pin : Change logic position (X, Y) with pined chess.
- Road : Set frame according to neighbors.
Rex - Board - application - mini board
Rex - Canvas
- Flood fill : Flood fill on canvas. Reference:https://github.com/binarymax/floodfill.js
Rex - Canvas - Chart
- Candlestick chart : Draw a candlestick chart on the canvas. The api of chart - https://github.com/amih/Candlestick.js
Rex - Canvas - Chart.js
- Bar chart : Draw a bar chart on the canvas. The api of chart - http://www.chartjs.org/
- Doughnut chart : Draw a doughnut chart on the canvas. The api of chart - http://www.chartjs.org/
- Line chart : Draw a line chart on the canvas. The api of chart - http://www.chartjs.org/
- Pie chart : Draw a pie chart on the canvas. The api of chart - http://www.chartjs.org/
- Polar area chart : Draw a polar area chart on the canvas. The api of chart - http://www.chartjs.org/
- Radar chart : Draw a radar chart on the canvas. The api of chart - http://www.chartjs.org/
Rex - Canvas - Color analysis
- Average RGBA : Get average RGBA value from the canvas asynchronously.
- RGBA bins : Get Bins of RGBA from the canvas.
Rex - Canvas helper
- Gradient : Fill gradient color at canvas.
- Pixel cache : Read pixels from canvas, modify, then write back to canvas.
- Pixel collide : Test pixel overlapping between sprite and canvas.
Rex - Collision
Rex - Data structure - JSON
- JSON : Access JSON structure table.
Rex - Effect
- CD Mask w fan sprites : Cool down mask with fan sprites. 9 Fan frames are 256,128,64,32,16,8,4,2,1 degrees
- Tween to Effect : Set effect parameter from tween behavior. Put this behavior under tween behavior.
Rex - Effect - mode7
- Ground : Ground instance with mode7 effect.
- Perspective : Perspective instance stands on the (mode7) ground.
Rex - HTML
Rex - Iframe
Rex - Layouter
- Numbers : Show numbers using spriters in layouter. The frames are 0,1,2,3,4,5,6,7,8,9, ,-
- Text : Show text using sprites in layouter.
Rex - Logic - flow control
Rex - Logic - function
- Function2 : Run other events in an action, like functions in programming languages.
Rex - Logic -finite state machine
- FSM : Finite state machine
- Menu FSM : FSM to control the behavior of menu.
Rex - Movement
- Simplex : Adjust an object's position, size, angle or other properties with simplex 1d algorithm.
Rex - Movement - angle
- RotateTo : Spin sprite to specific angle
- Turntable : Spin this object to the specific angle with a deceleration.
Rex - Movement - opacity
- Replacer : Replace instancne by fade-out itself, and create the target instance then fade-in it.
Rex - Movement - pin
- Pin offsetXY : Stick to another object maintaining a relative offsetXY.
Rex - Movement - position
- Anchor mod : Position objects relative to the size of the window.
- Anchor ratio : Position objects relative to the size of the window.
- Camera follower : Move object to follow camera with a ratio. It could be used to simulate parallax.
- MoveTo : Move sprite to specific position
- Shake mod : Shake an object in the X and Y axis.
- Spline : Move Sprite along a spline path.
Rex - Movement - position and angle
- Zigzag : Using LOGO-like script to move or rotate sprite.
Rex - Movement - width
- Light : Adjust width until hit obstacle.
- Line : Set position, angle, and width of this instance, to be a line.
Rex - Nickname
- Nickname : Assign a nickname to this object.
Rex - Physics helper
- Gravitation : Local gravitation, stand on physics behavior.
- Speed clamp : Clamp speed between upper and lower bounds.
Rex - Platformer helper
Rex - Script
- Scenario : Executing function from a csv table while time-out
Rex - Sprite helper
Rex - Text
- Text properties : Support actions to change properties of official text or sprite font object.
- Text resize : Resize text object and background to show all lines.
- Typing : Typing text on text / sprite font object.
Rex - Textbox helper
Rex - Timeline
- Duration : Execute callback during duration
- Timer : Fire the trigger when time-out.
Rex - Touch
- Button : Get click event while "touch end".
- Cursor2 : Move Sprite to cursor of mouse
- Ninja2 : Set sprite visible when cursor is over.
Rex - Variable
- Buff : A variable which supports buffs. Get sum from base value and buffs.
- Max-min : A variable which clamped between maximum and minimum bound.
Rex - Web - Google map
Rex - filechooser helper
- Media input : Accept media(camera/microphone/camcorder) input.
Timer
- Revive : Revive sprite after destroyed.