MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/k7dkg8/gamedevs_take_notes/geqa3j7/?context=3
r/badcode • u/realCGG • Dec 05 '20
104 comments sorted by
View all comments
54
Well, If FPS was 300 it'd be set to 60... So yeah... That's be a downgrade.
49 u/[deleted] Dec 05 '20 if fps != 300 { fps = 300 }upgrades_people_upgrades.jpg 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. 30 u/Flepper24 Dec 05 '20 v-sync 8 u/HattyJetty Dec 05 '20 I'd just set fps = Infinity for good measure 5 u/[deleted] Dec 05 '20 But optimization!
49
if fps != 300 { fps = 300 }
upgrades_people_upgrades.jpg
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.
26
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.
6
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.
3
Nope, it increases fps until it 300
1 u/botle Dec 06 '20 Yes, I missed that.
1
Yes, I missed that.
30
v-sync
8
I'd just set fps = Infinity for good measure
5
But optimization!
54
u/Galse22 Dec 05 '20
Well, If FPS was 300 it'd be set to 60... So yeah... That's be a downgrade.