Stroke Balancing

Stroke Balancing

Hello folks!

I’ve finished adjusting the stroke mechanic to take advantage of the new club system. Had to do a bit of trial and error to get the proper values for the different clubs, based on their face head, their type, their maximum distance.

But now it all works! So each club should now feel different from the other club, and the AI will try and use the best one for each situation. (As it deems fit, of course!)

Began prototyping the new golf controls for the player too, should be done sometime this week. Then I’ll release 0.5 for your enjoyment!

In parallel, also began sketching out the necessary improvements for 0.6, which will come with an overhauling again of how you landscape the scenery, making a better distinction between holes and regular landscape, etc. You’ll receive better planning tools for plotting out a hole all at once and having the AI execute it, as opposed to the current system of sketching out zones and whatnot.

Together with that, a revamp of the terrain system, separating regular landscaping from water tools. As well as allowing for different kinds of grass, sand etc. Will need to separate the mesh by type, so that I can have better control over the mapping and overall behavior and whatnot.

That’s all for now, folks!

Dev Update #36: Basic Stroke Maker is In!

Dev Update #36: Basic Stroke Maker is In!

Hello folks!

Finished implementing the basic version of the stroke maker!

It now allows you to curve your shots in sort of the way you want it. To illustrate the process, I created a simple tiled hole so that you can better see the path created by the ball before and after the shot.

Below, you can see a top before/after view of hitting the ball off the tee:

On the left side, it’s the straight predicted trajectory of the ball (currently not taking into account the spin on the display!), and on the right is the result of the stroke. As per the stroke maker, you can see I went full on right-spin on it. You shouldn’t do that unless you really want it the spin. In this case, it deviated only slightly to the left.

Here, the ensuing shot, a chip in from a distance:

Again, full on spinning. It resulted in a nice curve cutting inside towards the center of the field. Just for displaying purposes, of course.

Finally, my attempt at putting with a curve because why not?

All of that was on flat ground, to make sure the curving calibration wasn’t affected by any other effects. Dang close from the hole too, if I had aimed just a tad more to the left, it would have gone in. But oh well, live and learn!

This doesn’t conclude the UI implementation yet; I still need to hook up the end state of the goal/retire option to it, as well as add more info regarding the stroke you’re taking, plus information on the hole and how far along you are. After, I’ll make some more icons for the terrain editing part, ensure everything is navigable, and that you can cancel your actions.

Then I’ll move on to AI, hopefully!

That’s all for now folks!