A classic Pong game dose not render in 2D picture control, that everything presented by LabVIEW intrinsic controls.
Other features:
- Some brick could not be destoryed by one hit.
- Can creat more customized level by modify setting.txt file.
- Earn extra ball when reaching specific score, hit more bricks before ball return the paddle.
- Use "Ctrl + Shift + C" to go to next level immediately.
To create the new level, open the file "setting.txt". The content looks like figgure below.
Level infomation starts form ":=" and ends at "//",
Between these is a 6 by 6 array of numbers separated by coma. The first row is the most buttom 6 bricks.
The number means the hit point of brick, maximun hp is 6. If hp of brick set to 0, then it wont exist in the level.
The perfomance of game is awful. Mybe one of the root cause is using simple AABB collision detection.
It can add a broad phase algorim before do collision detection.
Like uniform Grid, that looks like blockmap in doom engine. Or do sweep and prune to decrease the possible collide object.

