r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

104 comments sorted by

View all comments

19

u/xmartissxs Dec 05 '20

while(true) fps++;

30

u/Ali3nat0r Dec 05 '20

Fps is now -2147483648. Oops

18

u/xmartissxs Dec 05 '20

At that point you would just start seeing into the future. Or the past, no one knows

2

u/atiedebee Mar 19 '22

And then the entire game stopped responding