Passion Project Post #1

A few days ago we started the passion project. Everybody chose a topic they were passionate about. I chose Java. I chose Java because I was always fascinated with coding and making games with code. On my first day working on the passion project I found some recources I could use to study my topic. These resources are Khan Academy , Google , YouTube   on YouTube I would search on it how to make a game in Java code and I didn’t copy it, I just looked at the code and that helped me a lot because I could see what code was used to make that happen. Google is a good resource because it goes straight to the point and I also just like Google.

The next day using these resources I found out the person who made Java, James Mosley. I also learned some codes on Khan Academy. I learned the commands to make three shapes. The command for a circle is ellipse and there are 4 numbers you distinguish with commas. The first two numbers are the x and y, so like where you want the circle to go. The next two is how big you want your circle to be, the first number being the width and the second  the height. A rectangle is called rect. This is also the same as the circle. The first  two being the x, y coordinates and the other to the length and height.  The triangle is just the command triangle. I think the triangle is the hardest. I think that because you have to put six numbers instead of  four. I still don’t know what all six do. One of my most favorite commands to do, that I learned, is the mouseX and mouseY command that you put in instead of putting in x, y coordinates. This command basically allows you to move what ever shape your putting those commands into it tells the code to follow your mouse so basically the shape is following your mouse. Pretty cool right?

One thought on “Passion Project Post #1

Leave a Reply

Your email address will not be published. Required fields are marked *