you'll need the s plugin to run the cap
if you just want to test it without downloading the plugin here:
to use double click to add an "imagepoint"
hold right mouse button to rotate sprite
the names of the expressions when searching for an expression are Get Rotated X from Offsets and Get Rotated Y from Offsets
[code:21dx10j0]S.xoffrot(origin x, origin angle, x offset, y offset)[/code:21dx10j0]
[code:21dx10j0]S.yoffrot(origin y, origin angle, x offset, y offset)[/code:21dx10j0]
for example, you have a sprite called sprite, and you wanted to add an imagepoint at runtime at position 4,5
S.xoffrot(sprite.x, sprite.angle, 4, 5)
S.yoffrot(sprite.y, sprite.angle, 4, 5)
other advanced features like being able to stretch the sprite and have the imagepoint stretch,
or being able to add an imagepoint while the sprite is already rotated and get the correct offsets are both automated through expressions with 's', but not worth posting here, unless you decide you want to work with it.
also, if you fall deeply in love with 's' and decide to dedicate yourself to learning the arcane arts of 's'ness, there are actions that will automatically generate an array of offsets for you from a an array of sprites, and other weird craziness[/size:21dx10j0]