Update 2

I continued to mainly work on behind-the-scenes stuff.

I made sure path supports work properly on sloped terrain; the fundaments wouldn’t appear before:

Next I made sure that when drag-building paths already occupied spots are highlighted red and aren’t build (and you don’t pay for them again):

Garret made some new cursors for the terraform tool, and I extended the tool by the ability to raise multiple tiles at once or just individual corners. It still needs more work and requires additional features, for example the ability to flatten a whole area of land to the same height, but for now this is pretty usable.

I made trees subtly sway in the wind (so subtle it’s barely visible in the gif except for the cut):

Then I started implementing shopkeepers, but so far they don’t do more than walk to their shop.

The rest of the week was spent on researching and implementing Behaviour Trees - I don’t want to get too technical here (see the link for a pretty nice explanation), so the short summary is that this is a method for structuring AI code into many smaller reusable parts that can then be plugged together to tell an agent what to do. For example, the code that tells the shopkeeper to walk to his shop looks like this:

new Sequence( // do the following actions one after another
	new FindPathAction(), // find a path to the destination
	new FollowPathAction(), // walk to the destination
	new RotateToQuaternionAction() // turn around to look outside window
);

I can’t imagine more comfortable code than this, and so far it looks like it’ll be a great tool for creating our AI behaviours :)

Update 1

Hi! Someone asked for updates on what we’re working on, so I’ll try to ideally post one each weekend.

This week I mainly worked on behind-the-scenes stuff - cleaning up and improving code, improving some internal tools. I’ve added a small tool that gives us an overview of the rides in the game and their stats so we don’t have to keep an external spreadsheet updated with that. It’ll surely be handy for balancing ride stats.

I’ve also updated our tool for wrapping bounding boxes around objects. It looks like this:

These boxes define how much space an object needs around it in the game.

The curves of our coaster tracks weren’t perfectly circular so far, which I fixed:

They smoothly connect with each other now. The cross beams are still spaced a bit unevenly though.

I then took care of building previews and animations. Here’s some older ones first that haven’t been posted here before:

Building paths:

Building shops:

Since then I’ve added building benches and other stuff that goes on the path:

You can build these either individually on a side of the path or automatically on all free sides.

I finished the week with previews and animations for planting trees:

- Sebastian