Pages

Showing posts with label progression. Show all posts
Showing posts with label progression. Show all posts

Friday, October 5, 2012

Interaction - Creative Coding 142

A Work in Progress Continued...

Bubbles/Creatures:

Improved code of my floating bubbles.


I changed the background colour to blue to simulate the blue sky. Then I thought that the blue could also simulate water and that the bubbles were a creature rather than a bubble. I added in a sort of vibration function so that when you click on the scene all creatures would vibrate and change to red as if they are angry.

Friday, September 28, 2012

Interaction - Creative Coding 142

A Work in Progress...

The Bubbles:

+ Code so far...

My idea when starting this code off was to make the bubbles fall at different rates. I done this with the help of my friend who talked me through the process of floats and now I understand it a bit better than before. I made my idea happen and thought that I didn't want my bubbles to disappear off screen so I gave my bubbles boundaries. At this stage though the bubbles were just moving up and then down and then up and so on. Then all of a sudden it hit me that bubbles don't float down but up. So I adjusted my code so that the bubbles would come up out of the screen. I then also made my bubbles move and bounce off the side boundaries as bubbles have no real direction but up. The bubbles are still moving to fast which is a problem I still need to fix.