Wednesday, October 10, 2012

The processing side of things! DSDN142: Project3

I have started in coding and so far I have my fish swimming across the screen getting bigger now just have to make them pop! And maybe add some sound.

The one which is bigger ^^ is where the cursor is.

Since I first started on this idea in processing I have changed/played around with quite a few things before getting to this and still have a wee way to go. 

At first my fish renewed at 0, but they would pop onto the screen and I didn't want that so I change the position to -90 so as the swim onto the screen it looks more realistic. I also changed the position of which the random() can produce them on the screen from 500 to 420 so they don't get cut off.  E.g.
'  if (xn[i]>430) {
      xn[i]=-90;
      yn[i]=random (0,420);'

I would like to draw another fish with its check popped out or something just to make the change in size and character more effective. I think I know how to do this and will try it out.



No comments:

Post a Comment