Page 1 of 1

[MP3] No maximum/minimum value for ROT

Posted: 16 May 2014, 09:09
by w1lla
When setting rot to 540 or -540 it stays the same where a 360 turn may be complete to rotate.

I can be wrong on this. but it maybe sound weird to have 1080 turns :P Happens on all styles which have the rot value

Re: [MP3] No maximum/minimum value for ROT

Posted: 16 May 2014, 09:27
by noyranea
I intentionally did not limit the values for many attributes, since you could be able to do the same while typing your Manialink manually and I want to "force" only a minimum of behaviors.

For example,

Code: Select all

scale="invalid"
won't be blocked by the editor.

However, I was thinking about a fonction, like the "Indent" one, which would "clean" your code depending on many parameters you can change.
This could correct :

- The range of your rotations

- The position of your frames compared to the positions of its childs :

Code: Select all

<frame posn="100 0 0"><quad posn="-100 0"/><quad posn="-50 0"/></frame>
would become

Code: Select all

<frame posn="25 0"><quad posn="-25 0"/><quad posn="25 0"/></frame>
or

Code: Select all

<frame posn="0 0"><quad posn="0 0"/><quad posn="50 0"/></frame>
(or other) depending of the parameters you would have set (centered or left aligned in this example).

- The range of your heights

Would this be enough ? Do not hesitate to suggest any other functionnality or discuss the ones I already planned, as I can change it depending on what you, Manialink Designers, need.

-- noyranea