Skip to content

Fix christmas bug#4

Closed
Privat33r-dev wants to merge 1 commit into
Code-Bullet:masterfrom
Privat33r-dev:master
Closed

Fix christmas bug#4
Privat33r-dev wants to merge 1 commit into
Code-Bullet:masterfrom
Privat33r-dev:master

Conversation

@Privat33r-dev

Copy link
Copy Markdown

Birds count has been changed from 1000 to 10.
Random pipe speed multiplier variable has been changed to constant value (1).

Birds count has been changed from 1000 to 10.
Random pipe speed multiplier variable has been changed to constant value (1).
@Privat33r-dev Privat33r-dev changed the title Fix of pipes count and optimisation Fix of pipes count and optimization Feb 23, 2019
@nice6599

Copy link
Copy Markdown

Very helpful.

Comment thread flappyBird/sketch.js
pauseBecauseDead = false;

population = new Population(1000);
population = new Population(10);

@Prometheos2 Prometheos2 Apr 13, 2019

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change that value, if I may ask?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this value because too big population can cause lags. Of course you can change population to 50 or 100 and it will be even better.

@Privat33r-dev

Copy link
Copy Markdown
Author

PR #8 provides better solution and description.

@Privat33r-dev Privat33r-dev changed the title Fix of pipes count and optimization Fix christmas bug Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants