Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
ANU - College of Engineering and Computer Science - SoCS - COMP4610
| |
ANU College of Engineering and Computer Science School of Computer Science

the simple rock climbing game. Extract the contents of this jar file into a directory (jar xf littlewall.jar).Compile the java files (javac LittleWall.java). And run the game (java LittleWall).

Visually improve the intro screen by adding: some sort of logo that you have constructed (could be an arrow pointing up, a rock, or anything you like), an 'interesting' large font for the title, game play instructions, and some sort of image. To do this you will need to modify the 'drawTitleScreen' method in 'LittleWall.java'.

Visually improve the climber using drawing primitives (not including images) such that the climber has: a head, hair, cloths, a harness, chalk bag, thick arms, thick legs, hands, and shoes. To do this you will need to modify the 'draw' method in 'PlayerSpring.java'. The climber is made up of: XYPoint(s) - giving the location of key points on the body, Spring(s) - giving the relationship between these points, Joint(s) - used for limiting angles between the limbs(currently not really used).

Below is a diagram of the climber with the names for the XYPoint(s) and Spring(s):

To gain full marks for this aspect you must use an affine transform in your code. (e.g. You could scale and angle the image in the intro screen.)

Step 2 (1 mark)

Re-do your climber so that you use images to make up the person. Note, you should keep a copy of your previous version for marking purposes.

Step 3 (2 mark)

Add an extra visual aspect to the climber. This aspect must involve a mathematical model along with its visual implementation. Possible additional aspects are:
  • belay rope that hangs as the climber goes up, but is 'taken in' from time to time.
  • a chalk bag that swings as the climber moves(note it should slow down and stop swinging after a period of none movement).
  • an action which gives the climber more chalk. So the player would press a button, this would initiate an automatic arm movement placing the hand in the chalk bag. This would also create a small chalk cloud (use transparency).
  • or some other option (please run it past your tutor).

To gain full marks for this part of the lab you need to provide an overview of the mathematical model you used for the aspect(about 1/2 A4 page).

| | |

本站部分内容来自互联网,仅供学习和参考