Hey guys, I've been pondering over a kind of expression stacker, which might make doing maths a bit easier. I was pondering over the idea in this thread:
So anyway, basically the idea I was was that you had 'blocks' that could snap to other blocks and be dragged around. You could easily insert blocks between blocks and generally it should be pretty easy.
So you could type
distance
Then drag 'distance onto the screen
Then type xy
Drag xy in one of the parameters of distance
Then mouse
Drag mouse into the other parameter
Then type
3 *
And get a block that has a multiply with one parameter '3' already filled in...then drag the 'distance' into the other parameter...
Then type clamp(,0,100) and it would leave the first parameter blank...
Simially you could just type the entire expression, or just type 'clamp', or select 'clamp' from a list....
Anyways, these are some designs I came up with :
<img src="http://dl.dropbox.com/u/939828/stack1.PNG">
And heres just one section by itself with nothing connected to it
<img src="http://dl.dropbox.com/u/939828/stack2.PNG">
I might not even end up programming anything like this, its just a fun idea for a project, and maybe it could be implimented for Construct 1+ or Construct 2, who knows...
So, design wise, what do you think?
Also...by just looking at the picture, do you think it would read logically as:
clamp( 3 * distance( mousexy, xy), 0, 100)
Or does it just look like a big confusing pile of blocks?