S?bastien Bourdeauducq wrote:
> What about making the double quotes optional? ie one would use them
> if there's a comma in the filename, otherwise they can omit them.
Yes, that's a possibility, too.
> And what about the possibility of naming images, e.g.:
> imagefiles = foo:"file name 1", bar:"file name 2",
> xyz:"file name 3";
> (the default names can be 1/2/3...)
> so they can later be addressed like:
> image_foo_a=1.0
> image_foo_x=0.7
> image_bar_a=0.5
Hmm, I was thinking of keeping the concept of having a number of
"image channels" and you'd manipulate like today, e.g.,
image1_a = 1;
image2_a = 0.5;
The image selection would simply assign an image to the channel,
e.g.,
image1_index = 2;
We could name them, of course.
> Also, we should keep in mind that one "imagefile" will be able to
> contain several pictures later (animated GIFs, short movie
> sequences). We could do it easily with an additional per-imagefile
> variable that defines the time position in the sequence.
Hmm, how about this ?
image1_index = 1; // selects 2st (1nd ?) file
image1_frame = 5; // selects 6th (5th ?) frame
One tricky bit: one would probably want access to the number
of available frames. That's a variable that would change in
response to imageN_index, and thus only be available one frame
after an index change. Hmm ...
- Werner
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode