We at first wanted the rainbow to move around the screen, but as soon as we realised it was an added complication that we needed need to add. So instead we decided to create a rainbow pool in which you pour the colour into, and given also an audio output.
1. Get an object to change colour when another one goes over it
This was quite simple as all we had to do is add some collision detection to the code and make the symbol change colour when another passed over it. See below for an example:
2. 4 objects change the colour they have on the main object
This one was the hardest part of all because we try for about 2 weeks just to get this part working which was the most important part of all, and it just would not work. Yet in the last week we managed to crack the code because all we did was take the else out of the if statement and then it all worked. See below for a working example.
http://www.zshare.net/flash/507566203607dd8b/
3. Change the colour slowly each time it touches
We have decided not to include this one, as it is too time consuming for such little effect. If we had more time, this would have been an option we would have done. It would have involved controlling the alpha levels on the symbols.
4. Get the object to move independently
We took this one out when we decided to have a pool of rainbow colour rather than a shaped one. Instead we have the pool rippling as a form of movement.
5. Get the object to ripple faster and slower
http://www.zshare.net/flash/50756864290ea31a/
Here we managed to get the rainbow to ripple, and to increase the speed, you just have to increase the speed of the video. Also we have managed to get it ripple in all the colours required which can be seen below:
http://www.zshare.net/flash/50797924a5cf0a05/
http://www.zshare.net/flash/507979868d319b29/
http://www.zshare.net/flash/5079802620c52682/
http://www.zshare.net/flash/5079816330c9e907/
At the moment we still have left to “Add time related dimension to the data” and “Get the object to increase and decrease in length” but we are trying to concentrate on getting the ripple and change colour to link together.
No comments:
Post a Comment