Search found 1 match

by CakeJamble
Fri Apr 04, 2025 8:27 pm
Forum: Support and Development
Topic: Mitigating Code Bloat with Input Handling
Replies: 2
Views: 93

Mitigating Code Bloat with Input Handling

I want to provide controller support, so I added a gamepadpressed function to my file. As the game grows in size, I am essentially doubling the lines of code for handling input. How do you mitigate this kind of code bloat? In order to keep things focused rn, we can assume that I don't really care th...