Recently bored, so with C + + implementation of a small game-thunder, seemingly running is also good, texture and harmony is duang! Duang! 's. The whole project I will also give the download link, interested can compile and run, using the new features of c++11, it is best to use vs2013 compile.
Game Description:
Operation:
Arrow keys--Control movement
Space-Fire
P--Open the store, then press to close
0~9 and +-keys--Buy (open store required)
Enter--Start or continue
ESC--Pause the game
R--hero to continue playing after death (you can also use the ENTER key)
Note:
Hero initial attack damage is 2, monster blood volume increases over time, so you need to upgrade your attack in the store.
Bosses can get materials and upgrade weapons.
Look at the effect:
Opening interface:
In-game
Integral board, Blood Bar, attribute panel, life count everything, energy stone. What the hell is high-energy carbon, look down
P key to open the store, OMG, live into RPG, brush boss, drop material, weapons
Hero death, carriage return continue, of course, have a life
Game Over, Gameover
Source code Download Link: http://download.csdn.net/detail/kyt511/8857085
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
C + + Production mini-game-Thunder