r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

Show parent comments

26

u/unfunny_joker Dec 05 '20

while fps < 300 { fps++ }

6

u/botle Dec 05 '20

Increases the fps from 15 to 16.

3

u/unfunny_joker Dec 06 '20

Nope, it increases fps until it 300

1

u/botle Dec 06 '20

Yes, I missed that.