Description: 非常详细的高精度碰撞检测代码,精确到三角形、边、点,优化过滑动时的碰撞检测,完全没有震动现象。代码中把三角形等元素具体成类参与计算的方法很有参考价值。
代码内含3d向量计算函数,在ogengl、d3d下均可运行。-Very detailed high-precision collision detection code, accurate to the triangle, edge, point, when optimized sliding collision detection, there is no vibration phenomenon. Code elements such as the triangle into a specific type of calculation is very involved in reference value. Code containing the 3d vector calculation function, in ogengl, d3d may run under. Platform: |
Size: 441344 |
Author:sking |
Hits:
Description: 滑动的碰撞游戏例子-Java源码,有点类似于弹珠游戏-Sliding collision game-Java source code example, a little game similar to marbles Platform: |
Size: 204800 |
Author:王涛 |
Hits:
Description: 建立一个应用程序实现球与球的碰撞,球与壁的碰撞。有一个滑动面板控制球的速度,有一个滑动面板可以增加球的个数-Build an application to achieve the collision of the ball and the ball, the ball and the wall of the collision. A sliding panel to control the speed of the ball, there is a sliding panel can be increased ball number Platform: |
Size: 3072 |
Author:dengyaguang |
Hits:
Description: 采用MFC框架,编程实现的二维变换程序,其中运用到了坐标系的变换、动量相关的碰撞、以及滑动窗口控件等等,功能复杂。采用VC++ 6.0进行编译。-Using MFC framework, the programming of two-dimensional transformation program, which applied to the transformed coordinate system, the momentum associated with the collision, and the sliding window controls, etc., functional complex. Compiled using VC++ 6.0. Platform: |
Size: 5540864 |
Author:韩阳 |
Hits:
Description: 每次可以选择上下左右其中一个方向去滑动,每滑动一次,所有的数字方块都会往滑动的方向靠拢外,系统也会在空白的地方乱数出现一个数字方块,相同数字的方块在靠拢、相撞时会相加。不断的叠加最终拼凑出2048这个数字。-Each time you can choose to go down about one of the sliding direction, sliding every time, all the digital box will move closer to the sliding direction, the system will be in place blank nonce A digital box, the same number of squares in the close, the collision time will be added. Continue to piece together the final superposition 2048 this figure even if successful. Platform: |
Size: 5120 |
Author:zhengtiancong |
Hits:
Description: 2048》是一款数字益智游戏,在4*4的方格中通过上下左右滑动来控制数字的变化,游戏胜利的条件是出现2048这个数字。
游戏规则如下:
1、玩家每次可以选择上下左右其中一个方向去滑动,定义滑动的方向为前,滑动的反方向为后,每滑动一次,所有的数字方块都会向前移动靠拢至边缘。
2、每一行(列)从最前方第二个方块依次向前方方块发起撞击,相撞的两个方块数字不同时不发生变化,撞击发起块向后顺延,相撞的两个方块相同时变成一个新的数值相加的数字块,后续的数字块依次向前递补空位,撞击发起块变为新生成数字块的后面第二个数字块。
3、撞击结束后系统会在空白的地方随机出现一个数字方块2或者4。
对4*4方格中的16格分别赋予编号 1-16
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16("2048" is a digital puzzle game, in the 4*4 box through the top, bottom, left and right slide to control the change of the number, the game is the victory of the emergence of the number 2048.
The rules of the game are as follows:
1, each game player can choose around one of the direction to the direction of sliding, sliding, anti sliding direction for each slide, a digital box all move closer to the edge.
2, each row (column) from the front of the second box in front box launched impact, two digital collision box also does not change, the impact initiated block extended backwards, two blocks collided with the same into digital block a new value added, in turn forward for subsequent digital blocks the vacancy, impact initiated into a new generation of digital block block behind second digital blocks.
3, after the crash, the system will randomly appear in the space of a number box 2 or 4.
Assign numbers 1-16 to the 16 squares in the 4*4 grid
1234
5678
9101112
13141516) Platform: |
Size: 27648 |
Author:monster怪兽
|
Hits:
Description: 游戏规则很简单,每次可以选择上下左右其中一个方向去滑动,每滑动一次,所有的数字方块都会往滑动的方向靠拢外,系统也会在空白的地方乱数出现一个数字方块,相同数字的方块在靠拢、相撞时会相加。系统给予的数字方块不是2就是4,玩家要想办法在这小小的16格范围中凑出“2048”这个数字方块。(The rules of the game is very simple, every time you can choose about one direction to sliding, sliding each time, block all towards the direction of slip, the system will be in the blank space, random number a digital box, the same number of squares, in addition to collision. The number of squares given by the system is not 2 or 4, and the player wants to work out the "2048" block in the small 16 - grid range.) Platform: |
Size: 104448 |
Author:George Hotz |
Hits: