So, to give you a basic rundown of where we are:
-The “resort” generation system works. It places the tiles on the grid according to rules, can also save/load to a text file for safekeeping.
-Just updated the base shot generation for the courses: You start making a course by placing the Tee tile, and then the Hole tile. The game will use a couple of algorithms to generate the basic shots necessary for finishing the course, taking into account the available tiles. This will work as the guideline for the hole, letting you know the par, the distance. Golfers will be able to take their own decisions.
-Currently, you can play around with landscaping and creating golf course. Just switched to a new system using separate objects for each stroke on a course, for future-proofing. Works fine for now, needs tweaks.
-Finished updating to DoozyUI; It really removes a lot of the boring work of creating UI, very good stuff.
This is what the prototype currently looks like:
On the image we can see a basic Par 4 hole. Currently the base shot generator isn’t caring about trees or other obstacles. Changing that just after this post. I am using a simple A* algorithm to find candidate tiles for the strokes, works like a charm and very fast.
That’s all for now!