联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> CS作业CS作业

日期:2018-08-08 03:24


The monstrous Biglegs have driven the peace-loving creatures of Rainbow Reef from their ancestral homes. Despite their inexperience in the ways of war, Pop and Katch have invented a way of combining their skills to fight back against the Biglegs. For this incredible feat, Pop must bounce from Katch’s shell to attack the evil invaders. Katch must then move quickly to save Pop from plummeting into the deep waters below. The cowardly Biglegs often retreat behind coral defenses, so our heroes must be prepared to smash their way through if they are to finally drive the Biglegs from Rainbow Reef!

There will be no direct control over Pop’s movement, and he’ll bounce freely around a play- ing area enclosed by walls on all sides except the base. The left and right arrow keys will move Katch horizontally along the base in order to bounce Pop from Katch’s shell and stop him from falling out of the level. The collision point along Katch’s shell will determine the direction of Pop’s bounce, and so allow the player to control his movement. Bounces toward the left will

send Pop left and bounces toward the right will send him right. Pop’s movement is also affected by gravity, and each time he collides with Katch, he gets slightly faster so that the game becomes increasingly difficult.

The game will have several levels, each containing a number of Biglegs that Pop must col- lide with in order to complete the level. Most levels will also contain coral block defenses, which must be knocked out of the way in order to reach the Biglegs. Breaking blocks will score extra points and special blocks give the player extra rewards, but they don’t have to be destroyed to finish a level. If Pop leaves the screen, the player loses a life and Pop is brought back into play. Once three lives have been lost, the game ends and a high-score table is displayed.

 


1.Pop’s movement is also affected by gravity, and each time he collides with Katch, he gets slightly faster so that the game becomes increasingly difficult.

小海星(pop)会送重力的影响,每次碰撞海螺(katch)后,速度会更快。

2. Blocks:

? Multicolored blocks that can be destroyed for points(各种颜色的砖块,如pdf里一样,碰撞销毁后可以得分)

? Solid blocks that cannot be destroyed (不能销毁的砖块)

? Blocks that must be hit twice before they are destroyed (撞击两次才能销毁)

? Invisible solid blocks that cannot be destroyed(这个不太清楚,你看着办)

? Blocks that create two extra copies of Pop when destroyed (你看着办把,我不太懂)

?  撞击可以双倍加分的砖块

? Blocks that give the player an extra life(可以给小海星增加一条生命

? 还有的砖块你可以自行设置。

至少有2关,每新的一关,砖块位置要变动。每一关3条生命。

Enemies:

? Small stationary Biglegs 小的静止章鱼

最后把所有章鱼消灭,游戏结束,显示最高得分。

如果章鱼没有消灭,游戏结束的话,也是显示最高得分。

1.地图最好按照YouTube里砖块的摆放位置,至少要9层,每层都有不同的障碍,就按照视频里的(不用消灭所有的砖块才能到达上一层)。

2.希望你能把每个function的用途都解释给我,还有一些variable的名字不是很明显的话,还麻烦你解释下。


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp