Need advice for good practice
Let’s say I have a racing game and there are three parts:
For each of these scenarios, should I make a different player controller for each?
The reason why I’m asking this is because I’ve been following the Blueprint Time Attack tutorial, provided by UE, for my game. The video is a little outdated and the tutors logic is not straightforward and messy. He made a player controller that had certain variables specific to the time attack game mode, which worries me because if I were to expand upon this to my game, it would make everything complicated.
So 1 player controller or multiple? What’s the best practice?
asked Mar 13 '18 at 07:18 AM in Blueprint Scripting
I don't know much, but I think, that different player controllers would be easier to use (for example, you don't need to steer in a car dealership, right?). On the other hand, I suppose, some of code in the second and third parts would be the same (driving a car). In this case, I would create an ActorComponent that can be added and used in both of these Controllers.
Follow this question
Once you sign in you will be able to subscribe for any updates here