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?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment