So I created SQ-1021 where I am looking for something similar to Scratch's <glide [n} secs to x:[ ] y: [ ]> tile, but more generic.
A scripting tile that changed any numeric value incrementally over a period of time. Something like: <glide: <numeric Attribute> to: [new value] in [] secs.
Use Cases:
- Change the width/length of a playfield, to create a Mouse Over drop down type menu
- Glide to position X,Y in z seconds
- Changing alpha to create fade in/fade out effects
- Changing other color values (just for fun, and imagine if I could address each pixel in a graphic this way :D, okay Karl already imagined and implemented that the color reader/writer way, thanks Karl)
I tried doing this in the existing Etoys and it is possible, the problems (at least for me) are:
- You have to re-create the same basic script each time for each attribute and player, first time cool, after that, boring and tedious (well that's another enhancement request)
- You can't pass an attribute in as a parameter to a script (this I think would solve the problem, and if I could pass more than one variable to a script, I could pass:
- player
- numeric attribute
- time
- new value.
Cheers,
Stephen