The first course of spring 2019 test report

2019 Spring first course design lab reports
an experimental project name: Aircraft Game
Two, pilot projects Description:
airplane fired bullets to destroy enemy aircraft and destroyed a score a point, to continue to generate new aircraft were destroyed after the enemy, I when the enemy tried to end the game and this machine collision, it was not successful.
Third,
1: Initialize all the data
2: display interface, aircraft, aircraft and bullet
3: rules of the game, a bullet destroyed by enemy plus
4: control plane
and finally the main function of
four,

V. code hosting links
https://gitee.com/feiyuecom/shadow1/blob/master/feiji.cpp

Six experiments are summarized
ask questions: that enemy is too slow, how to make it fast, and at the same time offsetting the bullet
to solve the problem: directly modify the speed in speed when it collides with bullets, you can eliminate
thoughts: watching other games the order is the same function, write the code model is almost as unique but do not understand is that behind those images to load, why do I always display the header file errors. Is also much to look at some books.

Guess you like

Origin www.cnblogs.com/shadowzzz/p/11069145.html