Slow Rush Studios logo,
    depicting an apprehensive-looking snail rushing forward

Slow Rush Studios

◂  Simulating Cloth Capes
News index

Accidental Aimbot

Contents

Some players were having a hard time aiming their guns at enemies.

But that wasn't surprising, because I locked the aim input to only support 8 directions!

Why would I do something silly like that? And how could I help players hit their targets?

Support a Friend

I took a couple weeks off,1 and out of nowhere a friend of mine announced Frostliner, their new city-builder-on-a-train set in a post-apocalyptic frozen wasteland - and it looks sick! Give it a wishlist if that's your jam.

Aiming Options

You're running around and you see an enemy, so you move your mouse over them and click, only to find:

Frustratingly, your character's aim is locked to only 8 angles!

Why on earth would I restrict aiming to 8 angles!? I'll tell you:

  1. You don't get as much accuracy with a controller (or if sharing a keyboard) as with a mouse; I wanted to lean into that.
  2. I also wanted to encourage players to use "perks" to customize their guns to better deal with enemy positioning.
  3. Most importantly, the online multiplayer netcode requires restricting rapidly-changing inputs to get good performance. 2

Now, with a little more experimenting, I did recognize that it's important to have an option for precise aim so you can set off fun chain reactions:

You can hold the 'Precise Aim' button to aim at whatever you like. (And as a bonus, you can read what physical material you're aiming at)

This made sense to me, but everyone who actually played the game got annoyed by struggling to hit enemies above or below them.

And yet... enabling precise aim all the time would destroy performance in networked multiplayer.

And bumping the number of aiming angles from 8 to 16 or 32 was even worse than having only 8 aim angles.

I could see only one answer...

Hello Aim Assist

I did actually have some sort of aim assist in the game already:

You can find Homing (demo'd above) or Seeking perks to equip onto your guns, which cause bullets to aim towards enemies or barrels.
The thin white lines show each bullet's homing target; short orange lines show the 'thrust' direction of each bullet.

Those were cool, but I couldn't rely on players finding those perks. 3

Enter the Aim Bot

Instead I hacked up a prototype where players automatically & explicitly pointed their gun at the nearest enemy:

A 360-degree aimbot in action. No skill required!

Suddenly hitting enemies was easy and fun!

It was.. maybe a little too easy? You just run around and hold the shoot button to win.

Tuning Aim Assist

A major improvement was to use that original 8-angle aim direction to restrict the aim assist:

Now you need to move your mouse vaguely in the direction of the enemy you want to hit.

Under the hood, this works by finding the closest in-range enemy within a specific cone, centered on the mouse.

Here's a visualization using a controller for aiming:

Gamepad-using players aim in a wide cone (orange lines) in front of themselves, but you can use the aiming stick to narrow the cone to focus on a specific enemy.
(Mouse-using players always use a narrower arc)

There are some tricky nuances to actually implementing this:

Of course, you can still precisely aim when you need to as well.

The neat thing is it kills three birds with one stone: it gives a good first-time experience, it can be dialed up to 11 for accessibility purposes and it can provide some variation and progression too: higher damage weapons might auto-aim less or not at all, or a perk might increase the range or arc of your auto-aim.

Feedback Requested!

Please try out the aiming below with a mouse (or a gamepad controller), and let me know how it feels! Here's last update's build for comparison.

Does it feel good? Is it too overpowered, or is it frustrating? Discord Please let me know!

Playable web build‎

Refresh the page to try again with a different weapon. Press F2 and tick Player >> Debug Auto Aim to see the debug visualization.

Be very, very careful because this build also incorporates quite a few other small bits of polish: you may accidentally find yourself having fun.

Press F1 for help, including to see keyboard/mouse controls. Mobile devices probably won't work! By playing you agree to our Privacy Policy and Terms of Service.

1

I only took two weeks off, but you haven't heard from me in a month because I was dealing with some business stuff, and prepping for a recent playtest. (Playtest went well, except for one aspect: the aiming scheme - hence today's update!)

2

For a discussion of "why" inputs must be restricted, see my Rollback Performance update.

3

I briefly considered adding some subtle homing to every bullet shot by players, like in Towerfall, but having bullets curve away from the barrel you're aiming at to hit an enemy instead isn't very fun.

◂  Simulating Cloth Capes
News index