Showing posts with label Game. Show all posts
Showing posts with label Game. Show all posts

Tuesday, May 18, 2010

5/18/2010- Tuesday

Today we made the Indian flag using Java, with help from Arnav sir till making the circle at the center, and then we were left on our own. A challenge given to us was to convert the center circle into the Ashoka Chakra with 24 spokes and the outline. Then we made a circle on the screen without any help, but with reference from our previous programs. There was a challenge here as well- to make the circle move to the left, then right, then left again and so on. I could get the spokes, but they were a bit too thin and the circle was there but no way to move it.

Today's sessions helped us learn how to find the different tags we use, especially methods and functions. Also, we improved our programming skills and now can write a small program with a sprite(that's what we call a 2D object on the screen). I also increased my vocabulary in Java, with a few more additions to the tags I already knew.

In every session we have here, we learn somethings, but we also have some doubts. Firstly, I would like to ask how are the 3D games created? Is it possible to create 3D objects on a screen using Java or do we need to use a totally different software for 3D games? Secondly, what tags are used for games where the computer has a decision-making role like in a fighting game, where the computer makes decisions to either block or strike or like in Chess and Tic Tac Toe? And lastly, how do they change the difficulty settings as we reach a new level or set the setting to Hard?

Monday, May 17, 2010

5/17/2010- Monday

Today, we started our journey on learning a new language- Java. We were introduced to the language as any other language, may it be English, Hindi, Spanish or any other. Java serves the same purpose as any other language would, it helps us communicate our directions to the computer. Also, like any other language, Java too has a vocabulary and grammar. If you mess up with the punctuations, or the order of words, the computer won't get our intended message.

From today's session, I learned a bit about the syntax of Java, especially the punctuations. Also, I learned about the different tags that are used to convey different messages, some circumstantial like 'if' and 'else', some based on the properties of the objects, etc. We were using a software called "Eclipse" for programming, so I also learnt how to use this software. I hope to learn a lot more in the next three weeks.

Although I learned a lot, there are a few doubts and confusions in my mind. First and foremost- Why was Java even invented while there are already so many other languages like C and C++? Secondly, what is the difference between the different programming languages, and why was Java chosen for this course? Also, are all the games like for Nintendo V, X-Box, PS, etc. too made on Java, or there are other programming software available for that?