Partly different script

Suggest changes and improvements to Algodoo.

Partly different script

Postby Matten » Sun Dec 18, 2011 6:34 pm

When you are in the script menu of multiple objects, all values unequal for the different objects are shown with a question mark, even if they are just 1 variable different. My suggestion is to combine the equal parts of a script and show only the different values with a '?'. This can make it easier to edit for example spawn script that for example only have scene.my.example1 and scene.my.example 2 different.

Example:
Code: Select all
(e)=>{e.geom.density = e.geom.color(3) + scene.my.left / 2}

And
Code: Select all
(e)=>{e.geom.density = e.geom.color(3) + scene.my.right / 2}

Currently simply show as '?', but my suggestion is to make it look like:
Code: Select all
(e)=>{e.geom.density = e.geom.color(3) + ? / 2}
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
User avatar
Matten
 
Posts: 435
Joined: Mon Apr 05, 2010 2:03 pm
Location: The Netherlands

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 7 guests