Skip to content

Commit

Permalink
Release summer cottage blog
Browse files Browse the repository at this point in the history
  • Loading branch information
matekdev committed Mar 29, 2024
1 parent 0b5b4d4 commit bcf4740
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/blogs/my_summer_cottage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: 'My Summer Cottage'
thumbnail: 'bg.jpg'
date: '2024-3-20'
description: 'Our submission for the first Facepunch hosted s&box game jam'
published: false
---

We ended up participating in the first Facepunch-hosted game jam and [won 1st place!](https://asset.party/c/gamejam1/results) If you're curious about any development details, we've compiled together some of the most interesting parts below.
Expand Down Expand Up @@ -77,7 +76,7 @@ That solution scaled poorly, though. The water in our game is basically a giant

<Img src="fishing/cells.png" />

The fish AI is pretty *shrimple*: when you throw a bobber, the fishing component makes a trace downwards to see how deep the water is. Then it looks through the private list of fishes for one that lives in said depth, and after some time, it gives every bobber a random fish. The fishes have an attention span of about 10 seconds, after which time they drop their target and "eat the bait" (remove the bobber from a list). The "fish pool" is updated every 30 seconds, but only if there's at least one bobber present.
The fish AI is pretty _shrimple_: when you throw a bobber, the fishing component makes a trace downwards to see how deep the water is. Then it looks through the private list of fishes for one that lives in said depth, and after some time, it gives every bobber a random fish. The fishes have an attention span of about 10 seconds, after which time they drop their target and "eat the bait" (remove the bobber from a list). The "fish pool" is updated every 30 seconds, but only if there's at least one bobber present.

Trash like bags of chips or empty bottles of water is also technically "a fish," though they don't count as such on the Fish Collection screen.

Expand Down

0 comments on commit bcf4740

Please sign in to comment.