Welcome![Sign In][Sign Up]
Location:
Search - tank w

Search list

[GUI DevelopHappyTank

Description: 一个游戏中的camera,可以上下左右移动,暂时没有做边界处理.到边界处会有问题.用W,A,S,D控制.-a game of the camera, can move around from top to bottom, so there is no boundaries. border to be problems. W, A, S, D control.
Platform: | Size: 80896 | Author: 张写真 | Hits:

[Shot GameRJ010403(403)

Description: 西北工业大学程序设计大赛作品 拿出来与大家分享 程序说明 名称:tank 编译环境:win-tc tank.bmp tank.c EGAVGA.bgi要放在同一目录 按键:player1 : 上 Up 下 Down 左 Left 右 Right 攻击 0 player2: 上 W 下 S 左 A 右 D 攻击 SPACE 不足:游戏中没有制作攻击效果,只做攻击是否命中的判断。 如果一方按键不放,无法响应另一人的按键。 两个tank如果相撞,会抹去一方的图象。 -Northwestern Polytechnical University Programming Competition works out to share with you the description of the procedures for the name: tank compiler environment: win-tc tank.bmp tank.c EGAVGA.bgi to keys on the same directory: player1: on Up next Left Right Right Left Down attack 0 player2: on W under S Left A Right D attack less than SPACE: the game did not effect the production of attack, and they should only attack if hit judgments. If one button without letting go, and unable to respond to another person s key. If the collision of two tank will be wiped off the side of the image.
Platform: | Size: 30720 | Author: 王赫 | Hits:

[JSP/JavaTank-War

Description: java小项目,坦克大战,学习的好资料 eclipse下可运行-small java project, Tankedaizhan, learning good information to run under eclipse
Platform: | Size: 25600 | Author: yu | Hits:

[JSP/JavaTankWar

Description: 一个单机的用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 rounds fired!
Platform: | Size: 117760 | Author: weilijian | Hits:

[CSharpWeapon

Description: 1)、定义一个抽象类Weapon,该抽象类有两个抽象方法attack(),move():这两个方法分别表示武器的攻击方式和移动方式。 (2)、定义3个类:Tank,Flighter,WarShip都继承自Weapon,分别用不同的方式实现Weapon 类中的抽象方法。 (3)、写一个类Army,代表一支军队,这个类有一个属性是Weapon数组w(用来存储该军队所拥有的所有武器);该类还提供一个构造方法,在构造方法里通过传一个int类型的参数来限定该类所能拥有的最大武器数量,并用这一大小来初始化数组w。该类还提供一个方法addWeapon(Weapon wa),表示把参数wa所代表的武器加入到数组w中。在这个类中还定义两个方法attackAll()和moveAll(),让w数组中的所有武器攻击和移动。 (4)、写一个主方法去测试以上程序。 -1), defines an abstract class Weapon, the abstract class has two abstract methods attack (), move (): These two methods represent the weapons attacks and moves. (2), defines three classes: Tank, Flighter, WarShip are inherited from the Weapon, respectively, in different ways to achieve Weapon Class abstract methods. (3), write a class Army, on behalf of an army, this class has a property is an array of Weapon w (used to store all of the weapons owned by the armed forces) class provides a constructor in the constructor through the mass a parameter of type int to limit the class can have the maximum number of weapons, and to initialize the array with the size of the w. The class also provides a method addWeapon (Weapon wa), that represent the parameters wa added to the array w of weapons. In this class also defines two methods attackAll () and moveAll (), let w array and move all the weapons to attack. (4), write a main method to test the above procedure.
Platform: | Size: 32768 | Author: liuxiao | Hits:

[Other Riddle gamesSimpleGame

Description: 游戏控制 W,A,S,D, P unit, pic, audio目录不可缺少 只用研究StillObject.cs Tank.cs GameForm.cs即可编程,非常简单 每一个类继承 LifeObject类 首先研究StillObject.cs 然后研究Tank.cs 其中重要的几点是 UnitID 表示物体对应的图片 放在pic目录下 Behave 每回合系统调用此函数执行物体自身的行为 Show 显示函数 RunInto 当物体撞上其他物体时,系统会调用此函数进行处理 Disppear 当物体消失,可调用此函数从游戏世界中退出 然后研究 GameForm 的 Initial 函数 加入你自己的物体即可 所有物体若要从游戏世界中退出 只需调用其Disappear()函数 举例在 GameForm 的ProcessCmdKey(ref Message msg, Keys keyData)中 flower.Disppear() -Game Controls W, A, S, D, P unit, pic, audio catalog indispensable research StillObject.cs Tank.cs GameForm.cs only to programming, very simple class that inherits LifeObject each class and then study the first study StillObject.cs Tank.cs One of the important points are UnitID represent objects corresponding picture on pic directory Behave per round system calls this function to perform the behavior of the object itself functions RunInto Show Displays when an object hit other objects, the system will call this function processing Disppear when the object disappears, you can call this function to exit from the game world and then the Initial research GameForm function to add your own objects to all objects To exit from the game world simply call it Disappear () function is an example of ProcessCmdKey in GameForm (ref Message msg, Keys keyData) in flower.Disppear ()
Platform: | Size: 270336 | Author: 李国家 | Hits:

[Shot Gametank_game

Description: w,s,a,d移动坦克,空格发射子弹 菜鸟练手-W, s, a, D mobile tank, space fired bullets Rookie hand
Platform: | Size: 5036032 | Author: 晏华洲 | Hits:

[Other3d_Tank

Description: Game 3d tank: [W, S] - forward, backward [A, D] - left, right [1,3] - raise, lower (gun) [f, g] - make a hill, pit [y, u] - rotate the camera [k, l] - raise, lower (camera) [7,9] - zoom in close (camera) [0] - (zero and not about) tie the camera to the tank, unfasten
Platform: | Size: 270336 | Author: Riko771 | Hits:

CodeBus www.codebus.net