c********n 发帖数: 2244 | 1 本周的飞船游戏,贴在田野会所了,今天晚上10点要交。
http://www.mitbbs.com/clubarticle_t/Countryclub/2279853.html
以下是作业要求。
1 pt - The program draws the ship as an image.
1 pt - The ship flies in a straight line when not under thrust.
1 pt - The ship rotates at a constant angular velocity in a counter
clockwise direction when the left arrow key is held down.
1 pt - The ship rotates at a constant angular velocity in the clockwise
direction when the right arrow key is held down.
1 pt - The ship's orientation is independent of its velocity.
1 pt - The program draws the ship with thrusters on when the up arrow is
held down.
1 pt - The program plays the thrust sound only when the up arrow key is held
down.
1 pt - The ship accelerates in its forward direction when the thrust key is
held down.
1 pt - The ship's position wraps to the other side of the screen when it
crosses the edge of the screen.
1 pt - The ship's velocity slows to zero while the thrust is not being
applied.
1 pt - The program draws a rock as an image.
1 pt - The rock travels in a straight line at a constant velocity.
1 pt - The rock is respawned once every second by a timer.
1 pt - The rock has a random spawn position, spin direction and velocity.
1 pt - The program spawns a missile when the space bar is pressed.
1 pt - The missile spawns at the tip of the ship's cannon.
1 pt - The missile's velocity is the sum of the ship's velocity and a
multiple of its forward vector.
1 pt - The program plays the missile firing sound when the missile is
spawned.
1 pt - The program draws appropriate text for lives on the upper left
portion of the canvas.
1 pt - The program draws appropriate text for score on the upper right
portion of the canvas. |
m********a 发帖数: 1041 | 2 祝超有型周末開心
【在 c********n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 本周的飞船游戏,贴在田野会所了,今天晚上10点要交。 : http://www.mitbbs.com/clubarticle_t/Countryclub/2279853.html : 以下是作业要求。 : 1 pt - The program draws the ship as an image. : 1 pt - The ship flies in a straight line when not under thrust. : 1 pt - The ship rotates at a constant angular velocity in a counter : clockwise direction when the left arrow key is held down. : 1 pt - The ship rotates at a constant angular velocity in the clockwise : direction when the right arrow key is held down. : 1 pt - The ship's orientation is independent of its velocity.
|
c********n 发帖数: 2244 | 3 谢谢虫虫 :)
【在 m********a 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 祝超有型周末開心
|
s*********r 发帖数: 8929 | 4 谢谢超有型
【在 c********n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 谢谢虫虫 :)
|
h******8 发帖数: 3624 | |
c********n 发帖数: 2244 | 6 画面和声响等都是老师提供的材料,程序的框架老师也提供了,学生要加的内容不多,
不过也花了不少时间。
【在 h******8 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 这几天都没来先赞一个!画面很棒啊!
|