JianWei Lee
/
project_game
Meteor defense project
Diff: Spawn/Spawn.cpp
- Revision:
- 14:064b8d7f348d
- Parent:
- 13:38cbce17d7d7
- Child:
- 16:ddc4d5669a6e
diff -r 38cbce17d7d7 -r 064b8d7f348d Spawn/Spawn.cpp --- a/Spawn/Spawn.cpp Thu Mar 30 11:13:20 2017 +0000 +++ b/Spawn/Spawn.cpp Mon Apr 03 12:48:54 2017 +0000 @@ -16,7 +16,7 @@ for ( int x = 0; x < Cols; x++) { //16/200 chance of spawning for A. //can depends on level - bool TrueFalseA = (rand() % 200) < 16; + bool TrueFalseA = (rand() % 200) < 32; if (TrueFalseA) { //spawning from the top of the screen Arr2[x][0] = 1;