搜索资源列表
可以控制XYZ方向运动的控制器...
- 可以控制XYZ方向运动的控制器-can control the direction of movement of the XYZ controller
snake(java)
- 设计思路 首先该程序主要知识点就是图形用户界面,对程序界面的基本结构设计如下 建立框架作为可视化程序界面的基本界面,考虑到要在程序中添加各种组件,所以采用面板比较合理,故将类将要继承JPanel类。 接下来就是在程序中添加各类元素,其中包括有蛇体,食物(蛇体和食物都是由小方形块构成,采用不同的颜色区别,);另外还计分器(即蛇的长度乘以10).计关器。 再者就是程序的运动过程设计:其中应包括蛇的移动.方向的改变。 最后就是蛇的状态判断:其中应包括蛇是否吃到时了食物,是否有碰壁,
MouseTrack
- Java小游戏源代码,制作抓不住的方块的实例。程序执行后,创建一个含有方块的面板,用户可以通过鼠标抓取方块,但是,无论用户怎样努力,方块总是朝着与鼠标运动相反的方向运动,这就是抓不住的方块。
可控制的立体独轮车
- 一个踩独轮车的小人,鼠标控制行进方向。有立体效果,既随着运动方向的不同,小人的形象符合真实的立体空间的透视关系。 其实是以前在国外的一个网站上看到的一个效果,觉得有趣就试着做了个出来。-a step St. Joseph's villains, mouse control of the road direction. A three-dimensional effect, along with the direction of movement different villainous
importjava
- JAVA小球运动方向的程序,设定五个按键,用于控制小球的方向-JAVA ball movement direction of the process, set of five keys used to control the direction of the ball
TankWar
- 一个单机的用JAVA编写的坦克大战小游戏!键盘上W,A,S,D分别代表坦克的运动的各个方向,1,2,3分别表示坦克发射的子弹类型!-The use of a stand-alone JAVA game Tankedaizhan prepared! Keyboard W, A, S, D, respectively, on behalf of the movement of tanks in all directions, 1,2,3, respectively, the type of tank
Bounce
- 一个小游戏,让小圆球在画面移动,当小球碰到画面边框时,反射方向继续运动。-A small game, small ball moving on the screen, when the ball touched the screen frame, the reflection direction to continue to campaign.
Ball
- 用java程序设计实现通过方向键控制小球的运动轨迹-java language
zhuabuzhudefangkuai
- 序执行后,创建一个含有方块的面板,用户可以通过鼠标抓取方块,但是,无论用户怎样努力,方块总是朝着与鼠标运动相反的方向运动,这就是抓不住的方块。 --Order execution, create a panel containing the box, users can grab the mouse box, but no matter how hard we try, the box is always moving with the mouse movement in the opposi
chidouzigame
- 用Java实现的一个吃豆子游戏,游戏规则 按空格键游戏开始;通过方向键控制吃豆者的运动方向,吃水果可恢复体力-Java implementation with a Pacman game, rules of the game press the space bar start of the game by the arrow keys to control the movement direction of those who eat beans, fruit restore phys
Ball
- 1、 设计并编程实现弹球程序:用户能通过菜单或者按钮新增一小球,该小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。-1, designed and programmed Pinball program: the user through the menu or button to add a small ball
Exe8_1
- 绘制1个沿圆形轨道运动的红色球体和1个沿椭圆轨道运动的蓝色球体。两个轨道圆心重合,圆的半径为100,椭圆的长短轴半径分别为200和100,运动方向为顺时针-Draw a circular orbital motion along the red sphere and a movement along the elliptical orbit of the blue sphere. Center two tracks overlap, the circle Radius of 100, the
Danzhu
- 设计并编程实现弹球程序:用户能通过菜单或者按钮新增一小球,该小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。-java-marbles program
elevator2.0
- 电梯调度算法模拟 说明:电梯调度算法的基本原则就是如果在电梯运行方向上有人要使用电梯则继续往那个方向运动,如果电梯中的人还没有到达目的地则继续向原方向运动。具体而言,如果电梯现在朝上运动,如果当前楼层的上方和下方都有请求,则先响应所有上方的请求,然后才向下响应下方的请求;如果电梯向下运动,则刚好相反。-Elevator scheduling algorithm to simulate Note: the basic principles of the elevator schedulin
MouseTrack
- 创建一个含有方块的面板,用户可以通过鼠标抓取方块,但是,无论用户怎样努力,方块总是朝着与鼠标运动相反的方向运动,这就是抓不住的方块。-Create a panel containing box, the user can crawl through the mouse box, However, no matter how hard we try, the box is always moving in the opposite direction of movement and mouse m
ballgame
- 弹球游戏用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向-Pinball game user through GUI components specified quantity to generate a small ball, each ball from a random location appears, and having a random color
boat
- java小船运动游戏:绘制图形界面,设置初始时的三个点,小船由其中一点依次运动到第三个点,然后又以正弦曲线的运动路径向某一方向运动!-java boat sports games: draw a graphical interface, set the initial three points, the boat turn movement to the third point by one point, and then again the the sinusoidal motion path
JavaWaveText
- Java波浪文字,一个利用Java处理字符的实例,可以设置运动方向参数,显示文本的字符数组,高速文本颜色,显示字体的 FontMetrics对象,得到Graphics实例,得到Image实例,填充颜色数组数据,初始化颜色数组。-Java wavy text, an instance of the use of Java processing characters, you can set the direction of motion parameters, and displays the t
BALLgame
- 用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。 鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。 程序需提供计时功能,并最终显示玩家能坚持多少秒。-GUI components specif
GrivateSensorProject
- 主要用于测试手机的运动方向的一个程序,利用空间坐标系,得出许多数据从而可以更加客观地了解手机传感器的相关内容-It is mainly used for testing the movement direction of the mobile phone of a program