Initial animations for oware
Description
Description
Details
Details
- Committed
dmadaan Jul 14 2017, 7:05 AM - Parents
- R2:a4ed133f2efb: Oware: Minor changes in instructions
- Branches
- Unknown
- Tags
Comment Actions
It moves the seeds all together but the problem is all the seeds move together on the basis of the index value. The problem is how should we determine the position and movement of each string that is moving in this way example if there are 4 seeds only 3 will move to next, 2 to next to next so it doesn't make sense in that case to make them all move together?
Comment Actions
could it work with adding a condition in the "running" of the animation? Something like: index > currentIndexAnimation
Comment Actions
No, I don't get the currentIndex while the animation is running (even if I increment index onXChanged, it will be done multiple times). I even tried adding a condtion in "onXChanged" on the basis of x but its always relative and gives me the same x end position irrespective of where it is.
Then I even tried adding a sequential animation on the basis of the no of seeds (if they are greater to be sown in opposite house) but that animation didnt even work (not even with a function) :((