搜索资源列表
tank111
- 这是一个JAVA图形的程序,可以控制小车来回移动,按住CTRL键可以是小车加速。-This is a Java graphical procedures, can be controlled car back and forth movement, press CTRL car can be accelerated.
SHBIAOJIANPAN
- 这是一个大综合,是鲜花吐,并用鼠标键盘对图形的控制以及园的来回运动-This is a big integrated, is the flowers vomit, and use mouse and keyboard control of graphics as well as the park back and forth movement
Ball_Game
- 用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。 鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。 程序需提供计时功能,并最终显示玩家能坚持多少秒。 -User generated thr
Drawing-and-Delaying
- 这种简单方法利用cleardevice()和delay()函数相互配合,先画一幅图形,让它延迟一个时间,然后清屏,再画另一幅,如此反复,形成动态效果。-This simple method uses cleardevice () and delay () function with each other, first draw a graph, let a time delay, then the screen is cleared, and then draw another one, and
