Today’s update is about making the course less lonely!
I’ve added a prototype character to start implementing character controls and AI.
This will affect the shooting in the following way:
-You will decide the shot as you do now, from where the ball currently is and the desired destination.
-Unlike before, now your shot won’t be done instantly: the player character will first have to move to position, and then swing the club as per your “instruction”.
-Once the ball comes to a stop, you’ll be able to decide the shot again, while your character makes his way to the ball. Then once he reaches it, if you’ve decided the shot, he will strike it; if not, he’ll wait for you to do so.
This indirect manipulation of the shots will be vital in implementing the AI. In fact, with your player character, you’ll also be able to let the AI control him if you’d like, so that he can play some rounds of golf and improve while you’re busy off making a new hole. The AI will make use of the systems I’m implementing to create the shots and try to get a good score.
I’ll also test out an attribute system so that your shots have a bit of imperfection based on your character’s strengths and weaknesses. This will refine the golf gameplay further, increasing the challenge and the planning.
You can see a mock up of how the golf gameplay will play out here:
That’s all for today folks!
(Bonus points if you can guess the golfer I’ve based the character on!)