1, unit testing
Module class |
Entry |
expected |
actual |
analysis |
collision |
Coordinate data points, lines, garden |
Determining whether the points can be performed online, the inner circle outside the circle, the circle intersects the other line is |
You can achieve the desired functionality |
Module is functioning properly |
math |
Point coordinates |
The basic process can be realized as point coordinates and the like to take the point of symmetry |
No abnormality |
Module is functioning properly |
useful
|
—— | Begin interface options | Function has been implemented but not used | Module is functioning properly |
2, module function test
(1)beam
Beam bullet type, with the speed, hardness, and property damage in the collision detection module is normal, and injury rebound test functions implemented in other modules.
(2)bullet
Bullet type definitions, invoked in other modules, can be used normally.
(3)craft
The type of ships, warships and current players to achieve common enemy.
(4)dust
Scene floating dust, has been achieved, can be used normally.
(5)explosion
Explosions, 2, has been implemented in the actual test.
(6)playership
Basic functions injured verification, test explosion has been achieved.
(7)shield
Generation, reflecting bullets, disappear, and achieve rapid gestures.
(8)weapon
Is an advanced set of props, the foundation comes only shield and currently implemented by vulcan after save enough energy to trigger the shield
3, the actual test & User Experience (pseudo)
This step is emphatically in the case of the basic functions of the module can be realized.
Experience feelings: 1, the module generates a normal enemy, but the beginning of the enemy appear higher frequency, the latter needs to be adjusted.
2, bullet flying speed, high-volume speed of 400 bullets when three shields can not do a very good defense (1 is too late, 2 multidirectional hit on all the defense can not live), to reduce the speed of the bullet face prevalence aircraft defense will become a lot easier 200,250,300,400,900,1500 time.
3, planned leaderboards and achievements of the system need to put on the agenda.
4, each bullet damage after the transfer 0 let planes fly for a while with no problems, it appears that time will not affect the game play.
As well as other issues
|
Problem Description |
solution |
1 |
Painting shield inaccurate |
The starting point of the center of rotation to the midpoint of the shield, but the shield is painted shield endpoint |
2 |
Shield overlap (bullet catapult back and forth in two overlapping shields, the disappearance of the excessive accumulation of weapons and energy) |
With bullets and shields to detect collisions, to ensure that each frame only be taken recent rebound Shield |
3 |
Multi-shield while producing (crash on android, ios but can support) |
Looking touch platform messaging mechanism to resolve differences |
4 |
vulcan使用时,盾牌效果不能保证 |
vulcan改为自动向最近目标发射(持续若干时间或者发射若干数目) |
5 |
帧率不够的情况下子弹会穿过盾牌 |
改变子弹更新逻辑范围的算法 |
end
转载于:https://www.cnblogs.com/buaashine/archive/2012/11/21/2780755.html