Donone
11th November 2011, 14:14
I am a programmer and so have some understanding.
I am finding the explanations in tutorials and helps either ambiguous or assuming that I already know.
I therefore need help please.
I have tried experiments with a blank screen and a simple 'shapecode' section to evaluate what happens, one item at a time. I have found it difficult to get clone shapes because when one works an obvious (to me) change doesn't. Example...
...
shapecode_0_x=0.5
shapecode_0_num_inst=4
...
shape_0_per_frame1=y =if(1-equal(instance,0),if(1-equal(instance,1),if(1-equal(instance,2),0.25),0.5),0.75)
...
didn't work
this sort of did giving me 2 objects but I think one of them may have been a default at y=0...
shapecode_0_x=0.5
shapecode_0_num_inst=4
...
shape_0_per_frame1=y=equal(instance,0)*0.25
shape_0_per_frame1=y=equal(instance,1)*0.5
I tried the second item as frame2 but that didn't seem to move the object.
This raises the questions...
1. Is the frame number the frame count from 0-60 or is it simply the instruction number in the frame section?
2. If I leave out y=some number it seems to provide a default of 0.5; correct?
3. Should the 2nd instance appear fainter than the original?
I have a million more questions but maybe an answer to these may prevent the others. I seem to have gone off at a tan.
I am finding the explanations in tutorials and helps either ambiguous or assuming that I already know.
I therefore need help please.
I have tried experiments with a blank screen and a simple 'shapecode' section to evaluate what happens, one item at a time. I have found it difficult to get clone shapes because when one works an obvious (to me) change doesn't. Example...
...
shapecode_0_x=0.5
shapecode_0_num_inst=4
...
shape_0_per_frame1=y =if(1-equal(instance,0),if(1-equal(instance,1),if(1-equal(instance,2),0.25),0.5),0.75)
...
didn't work
this sort of did giving me 2 objects but I think one of them may have been a default at y=0...
shapecode_0_x=0.5
shapecode_0_num_inst=4
...
shape_0_per_frame1=y=equal(instance,0)*0.25
shape_0_per_frame1=y=equal(instance,1)*0.5
I tried the second item as frame2 but that didn't seem to move the object.
This raises the questions...
1. Is the frame number the frame count from 0-60 or is it simply the instruction number in the frame section?
2. If I leave out y=some number it seems to provide a default of 0.5; correct?
3. Should the 2nd instance appear fainter than the original?
I have a million more questions but maybe an answer to these may prevent the others. I seem to have gone off at a tan.