Sunday 14 November 2010

Programming and BlueJ Evidence

This is the evidence for my programming module and BlueJ software. I can do some coding to a basic level, and one of the things that I had to do was to edit some of the code for a pre made program called "picture", so that the sun on the picture would do an automatic sunset. This needed to be made so that it would happen when the method "draw". Below is a snippet of the code I implemented to make this happen.
The particular piece of code is "sun.slowMoveVertical(250);. This code made it so that when the sun was drawn it would then move downwards.

Another piece of evidence was for the tutorial within week 3, where we were given an image with some coding in which we had to rearrange so that it would work. Below is a snippet with this image and the code rearranged.

This is the fridge image.
This is the rearranged coding.


No comments:

Post a Comment