文件名称:Ball_Game
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:14.26kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。
鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。
程序需提供计时功能,并最终显示玩家能坚持多少秒。
-User generated through the GUI components specify the number of balls, each ball emerged from the random position, and with random colors, random speed and random direction of motion, the ball along the initial direction of uniform motion, when it comes to the window Edge, the ball will be based on the principle to change the force direction of motion (to simplify considerations, the force only change the direction of movement of the ball, the ball is still in accordance with the initial velocity of uniform motion, and does not consider the collision between the ball). Mouse appear in the interface block party, the player must move the mouse back and forth to avoid the movement of the ball and the screen around, if the mouse or hit any ball around windows, the game is over. Program must provide a timing function, and ultimately shows how many seconds the player can hold.
鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。
程序需提供计时功能,并最终显示玩家能坚持多少秒。
-User generated through the GUI components specify the number of balls, each ball emerged from the random position, and with random colors, random speed and random direction of motion, the ball along the initial direction of uniform motion, when it comes to the window Edge, the ball will be based on the principle to change the force direction of motion (to simplify considerations, the force only change the direction of movement of the ball, the ball is still in accordance with the initial velocity of uniform motion, and does not consider the collision between the ball). Mouse appear in the interface block party, the player must move the mouse back and forth to avoid the movement of the ball and the screen around, if the mouse or hit any ball around windows, the game is over. Program must provide a timing function, and ultimately shows how many seconds the player can hold.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
弹球游戏/
弹球游戏/.classpath
弹球游戏/.project
弹球游戏/.settings/
弹球游戏/.settings/org.eclipse.jdt.core.prefs
弹球游戏/1.gif
弹球游戏/bin/
弹球游戏/bin/ball.class
弹球游戏/bin/frame$1.class
弹球游戏/bin/frame$ButtonHandler.class
弹球游戏/bin/frame$MouseHandler.class
弹球游戏/bin/frame.class
弹球游戏/bin/Setball$MouseHandler.class
弹球游戏/bin/Setball.class
弹球游戏/bin/Time.class
弹球游戏/src/
弹球游戏/src/ball.java
弹球游戏/.classpath
弹球游戏/.project
弹球游戏/.settings/
弹球游戏/.settings/org.eclipse.jdt.core.prefs
弹球游戏/1.gif
弹球游戏/bin/
弹球游戏/bin/ball.class
弹球游戏/bin/frame$1.class
弹球游戏/bin/frame$ButtonHandler.class
弹球游戏/bin/frame$MouseHandler.class
弹球游戏/bin/frame.class
弹球游戏/bin/Setball$MouseHandler.class
弹球游戏/bin/Setball.class
弹球游戏/bin/Time.class
弹球游戏/src/
弹球游戏/src/ball.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.