forum

[StoryBoarding] Define a center for rotation (Pivot)

posted
Total Posts
16
This is a feature request. Feature requests can be voted up by supporters.
Current Priority: +18
Topic Starter
Sushi
A cool feature for storyboarding would be that elements to move around a point. A pretty picture to explain the idea :


The pivot point wwould be linked (or not ?) to the object (or defining a new object type that would be pivot point and object can choose their pivot point ?)

Extra bonus ++ : Being able to make this pivot point move
Azure_Kite
I support this; it would be amazing if we were able to define the Pivot Point per object :>

+Support
Rei Hakurei
@^ it could be like what i'm thinking

code like "_PP,320,250" which the Pivot Point is pointed at 320,250.. and it makes another branching like Triggers and Loops...

support~
Card N'FoRcE
oh god yes.
having to make useless transparent space is :<
those
You can set your reference point in the sprite introduction, and you can edit your image to add more space in the direction of your reference point.
edit:whataninja
Azure_Kite
That would work wonders.

Possibly creating a pivot "object" would be cool.

Declaration
Pivot,<name>,x,y

Usage
Sprite,Foreground,Centre,"object.png",320,240,<name>

those wrote:

You can set your reference point in the sprite introduction, and you can edit your image to add more space in the direction of your reference point.
That is a very abstract solution; It draws unnecessary pixels to the screen, causing more SB load.
Topic Starter
Sushi

Azure_Kite wrote:

That would work wonders.

Possibly creating a pivot "object" would be cool.

Declaration
Pivot,<Name>,x,y

Usage
Sprite,Foreground,Centre,"object.png",320,240,<name>
Or something like that :
Declaration
Pivot,<Name>,x,y

Usage
Sprite,Foreground,Centre,"object.png",320,240
_PP,<name>,StartTime,EndTime,[rotationInformation]

So that the sprite could change Pivot point during time :D (rotation information would be depending of the way it is implemented :U)
those
Also ITT: Scaling based on point of reference.
woc2006
Accepted, but this feature will take me a long time to implement and debug.
awp
alternatively, support mathematical expressions/variables for sprite parameters eg
$positionX = 400;
$positionY = 300;

Sprite,"layer","origin","filepath",$positionX, $positionY
for (int i=0; i<90; i++) //or some other incrementor method
{
$positionX = 400 - sin(i);
$positionY = 300 - cos(i);
}

being able to assign a variable to a sprite's position rather than having to script a bunch of move commands would allow for users to create other things like that abstract 2D camera I've always wanted
mm201
Doesn't osq already do this?
peppy
@woc: it can be pretty easily implemented allowing the "Custom" origin type, but will take a bit more effort to add editor control for it.

For smallish sprites padding the image works fine as a temporary method.
Mara
Hell. yes.

This makes StoryMara happy.
Derekku

mm201 wrote:

Doesn't osq already do this?
Not everyone uses/is familar with osq :p
ziin
I'd rather be able to set more than 3 values for acceleration.

The picture in the beginning is already possible in osu with MX and MY, though it may not be "perfect".
Topic Starter
Sushi
Waaah Bumping stuff
Please sign in to reply.

New reply