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!

A Loading Screen!

A Loading Screen!

Hello folks!

Today’s update is about quality of life in Boss Golf!

One of the feedback we’ve received constantly regards the launching of the game. Since it goes pretty much from a black/white screen straight into the game, and the loading/processing of the terrain can take a while, some testers thought that the game had crashed upon loading. Which isn’t a very good impression!

To fix that, I’ve spread out the loading/generation of the terrain over more frames, which reduces the processing time by a bit and actually makes the whole thing responsive. And tucked it all away behind a nice loading screen, reminiscing of the Sim games of yore!

loadingData

I’ve also decoupled the processing from the start method and put it in a proper component to manage the game state. This way, the resort can be reused whenever possible to illustrate other resorts you may visit/manage at the same time. Gives me more control over when things are supposed to load too!

Of course, no implementation is ever perfect! While implementing the new loading, I ended up forgetting a couple of functions that led to this very interesting albeit unpractical golf resort!

oopsWalls

Walls, walls everywhere!

Though I’m certain a certain tycoon would be quite fond of this…

But that’s it for today!

Tomorrow I can finish off the contract/goal system, hopefully, then add in the new placement system for decoration, giving you more control over where you will put your trees. A couple of small tweaks here and there, and Alpha 0.4 will be ready to go!

Stay tuned for more news!

Money Money Money!

Money Money Money!

Hello folks!

Today’s update is about money!

I’ve implemented a system for tracking the finances of the resort, based on transactions and their types, and re-added the cost to placing tiles and playing the holes.

Now once the player approves a zone, the amount is charged to the bank account, and the landscaper goes to work. Players are allowed to go in debt (up to a point!), as long as they fulfill their contractual obligations!

Accordingly, players are now able to set the fee for their course. They’ll be able to choose green fees, hole fees, membership fees, and all other manners of income streams. Changing it too often might anger your regulars, though!

And for some polish, added particle effects whenever money is spent/gained:

cashmoneyyo

wheres_ma_money

(If you look closely on the first screenshot, you’ll see some new UI buttons!)

So now money is in, you have basic ways of earning it, plenty of ways to spend it. As I mentioned before, you can go in debt, as long as you keep to your contractual obligations. Therefore, the next step after implementing the money will be to implement goals! These are the conditions for” winning” in a scenario, and for continued work in the regular campaign mode. I plan to make them as varied as possible and easy to work with, so that creating custom scenarios will be a breeze.

This will also bring Boss Golf closer to what I envision to be the end of Alpha: when I’ll have a playable vertical feature complete slice of Boss Golf, which will serve as the demo version of the game. Still a couple of version until then, but progress is coming along well!

Stay tuned for more!

Landscaper at Work!

Landscaper at Work!

Hello folks!

As part of slowing down the pace of gameplay and integrating the management aspect of the game in Boss Golf, I’ve finalized the primary implementation of the AI for the landscaper as well as changed the system for laying down tiles to make him place them!

Until now, you’d plop down a tile, and it would immediately affect the environment. This would let you create a massive resort at a too quick a pace. There was no incentive for careful planning, and it wasn’t an action you could think twice before committing to.

All of that changes now with the Landscaper and its AI. The new implementation, which will be rolled out to the other building features in the game, delegates the act of changing the landscape to the AI, and works on a system of orders.

Players will now draw the areas like they did before; instead of immediately affecting the environment, an overlay is added and an order is created. The players can then view this order’s characteristics: price, time to finish, area etc. They can modify this overlay/order with the bulldozer tool, to trim things they ended up thinking twice over. (Editing of the height of the tiles is still free and can be performed at any time, instantly. Since this is a very vital part of finetuning your golf course, I thought it better to keep it that way)

Once they are happy, they can simply Approve the order, and the landscaper will get around to effecting it once he has the time to do so. Like in the animations below:

placing_zones
Player places zones for fairway and bunkers.
approving_orders
Doublechecking the orders, the player approves the work to be performed.
executing_them
The lonely landscaper hard at work. Having more of them will get things done faster! (At a cost!)

Pausing and Resuming has also been reworked to match the new gameplay style. Time now flows at a constant rate, and can be paused whenever you wish. You can’t make time pass by faster; later, however, you’ll be able to go on “holiday”, and the Resort will autosimulate and resolve the events of the day until you come back, or while you are managing another resort. The timescale for the day still needs some tweaking, but that is simple enough! (Also, really cool to pause the game as the AI takes an awesome shot, and just seeing the ball lying in the air, waiting for time to unfreeze!)

Oh! And you are also able to set the working hours for your resort. This will impact your running costs later, but right now it controls when the landscaper will be at work, as well as when the golfers are able to be spawned on your resort!

That’s all for today, folks! Next up is connecting the money (receiving from the AI and spending on building), and adding more management. Perhaps the goals would be a fun thing to have!

Stay tuned for more!

Boss Golf updated to Alpha 0.3!

Boss Golf updated to Alpha 0.3!

Hello golfers!

It’s finally here! Alpha has now been updated to 0.3, allowing you to do the following:

  • Have a wall surrounding your resort to keep out “undesirables”
  • A Clubhouse has been placed, from where AI golfers will now spawn
  • AI golfers will either roam around or attempt to play any hole that is open
  • They will accordingly queue by the Tee waiting patiently by their turn
  • And so will you! You can also play as the AI is playing the course, taking your turn on the queue!
  • A handful of other under the hood improvements
  • Saving and loading! No more starting from scratch every time you load the game!

That’s it for this version. Now you’ll have a more workable experience and you can see how the AI tackles your golf course. I may release a tweak later on to modify the AI a bit, like a 0.31 or 0.3.1 or 0.3a, not sure yet. But this should give you some ideas about how the AI will react.

A word of warning: If you do attempt to edit the course as the AI is playing, you may make their ball disappear! If that happens, just relaunch the game. Will work on a fix for this later.

Ditto for if the AI falls through the ground. Haven’t improved the dynamic collider yet, so depending on your machine performance, hijinx might ensue.

next_hole
A golfer waiting, another stepping up to the tee, and a third making his way to the other hole!

Now on to 0.4! The details of which I’ll be sharing later this upcoming week! But for a sneak peak, think Time Management!

That’s all for now folks, please enjoy.

If you haven’t signed up for the Alpha, you can do so¬†here!

See you on the green!

It’s a clubhouse!

It’s a clubhouse!

Hello folks!

Happy new year as well!

Today’s update is about the clubhouse, the first building available in Boss Golf!

its_a_clubhouse

The main function of the building is controlling AI access to the course. It knows which AI is currently playing, the capacity for people on the course (which will be tweakable later), and decides when to spawn a new player. In the screenshot above, you can see 3 AI golfers just loitering around the clubhouse, as their idling/golfing routines haven’t kicked in yet!

For now, the clubhouse is placed randomly, and cannot be moved/removed. Accordingly, the terrain where the clubhouse is placed cannot be raised/lowered. You’ll also be able to click on it as a shortcut for the information on your golf resort, which is useful for aspiring golf tycoons.

As the gameplay systems expand, you’ll be able to tweak membership, decide on prices, course opening hours, all sorts of little things through this main building, as well as expand it, change its appearance and whatnot.

For 0.3, I’m working on the saving system and on blending the player golf gameplay with the AI golf gameplay. Your character will have to queue up for the hole like any AI character does, and you’ll get a notification letting you know when your turn is up! With the save/loading, you’ll be able to continue working on your course as the alpha progresses too!

That’s all for now, folks! Hope you have a great new year!

Look who’s playing now!

Look who’s playing now!

Hello folks!

Today’s update, is about AI gameplay!

After integrating the basic state machine for the AI, I’ve also added a function that allows it to take a very simple shot (basically, aim at the hole, hit as hard as it can inside the distance to hole) and, as a result, the AI in Boss Golf can now play golf!

For the test scene, I’ve built a course with 4 holes:

ai_test_course

The holes are all connected by their tee at the center. Spaced them out this way to remove other potential interference. I also added two golfers: Liger Forest, and Ryu.

The holes now have an option to open or close them. Opening them tells the AI they can be used for play. The AI will then queue up for their turn at the hole, and play it when the player in front of them has finished. And it all works!

For debugging, you’ll see a yellow line which marks the path that the AI wants to take, and a purple line which marks the direction of the stroke.

Here you can see the Liger taking a basic strike:

basic_shot

And at another hole, Liger teeing off:

teeing_it_close

And here you can see both golfers playing on separate holes:

two_golfers

It’s in. Now there’s some work to be done on smoothing out movement and fixing some collision problems. But the basic skeleton of the system is there. Once I add saving/loading, I’ll update alpha to 0.3!

Stay tuned!