Back to all writing

I Let Players Pick Things Up. Everything Got Complicated.

Game Dev Series•Part 16•5 min read•By Mikhil

Here's a sentence that should be harmless:

The player can pick up a box.

Not drive a car. Not command a gang. Not trigger an elaborate chain of consequences across the city.

Just pick up a box.

Somehow, giving Block by Block that ability turned into a whole new collection of problems.

And I think that's a pretty accurate summary of what game development has been like so far.

Picking something up is only the first question

The initial item experiment was meant to be small and physical.

There were a few test objects placed around familiar parts of the neighborhood. The player could aim at one, interact with it, carry it, switch between quick-access slots, and try putting it down again.

That was already enough to make the world feel more interactive.

But the moment I wrote down the action, several follow-up questions appeared.

Where does the object go after I pick it up? Can I see it in front of the camera? What happens if I select an empty slot? What if I try to place the item inside a wall? What if the ground is sloped? What if I accidentally interact with a door instead?

And the delightful final question: how do I make sure the same object doesn't end up both in my inventory and on the ground?

What began as a toy interaction turned into a lesson in keeping a game world's rules consistent.

The hotbar was supposed to make things easier

The first quick-access system experimented with a larger set of slots before I settled on seven visible slots for the current version.

The idea was familiar from plenty of games: a strip near the bottom of the screen, a clear indication of which slot is selected, and a quick way to switch the object the player is carrying.

Simple, right?

Except the interface has to work with the rest of the screen.

At one point, even getting the slots into the correct on-screen position required another pass. Then came questions about how visible the outlines should be, whether a selected slot stood out, and whether a dark panel behind the slots was making the interface unnecessarily heavy.

I ended up preferring a much cleaner treatment: transparent slots, light outlines, and a stronger highlight on the selected one.

The goal was for the UI to help without becoming the most visually important object in the room.

It's funny how much design work a tiny row of empty boxes can demand.

A dropped item has to go somewhere real

Dropping and placing objects introduced another kind of problem.

A game object should not appear inside a wall because the player aimed somewhere impossible. It shouldn't fall through the terrain because its visual model and physical position disagree. If there isn't a safe placement surface, the item should remain with the player rather than quietly disappear.

The interaction rules therefore needed more than a pretty animation of a box moving from one place to another.

They needed to respect the world.

The early system handled simple placement and recovery cases, but it wasn't a finished physical simulation. There were no elaborate throwing arcs, stacking mechanics, or polished hand animations pretending to exist behind the scenes.

For now, I wanted a small object to behave reliably enough that I could trust where it was.

Considering how much time I'd spent trying to trust the ground, this felt thematically appropriate.

Every new interaction fights with the old ones

Remember the earlier issue where the same key could speak to a person or open a door?

Well, now it also wanted to pick things up.

This is where separate features stop behaving like separate features. They become one experience with competing expectations.

If I point at a box near a doorway, I don't want to accidentally start a conversation. If a dialogue window is open, pressing a number to answer someone shouldn't unexpectedly switch my held item. If I'm using a special movement mode for testing, I don't want that to create impossible object placements.

Individually, the controls all make sense.

Together, they require deliberate coordination.

It reminded me of the work I'd done on other software projects: the hard part often isn't writing a feature but making it coexist with everything that's already there.

My front doors started causing trouble again

As the item work continued, I was also still correcting building approaches.

Some of the white paths leading to entrances were too high, too low, too abrupt, or stopped short of the actual sidewalk. A building could have an appealing façade and a functioning door, but the route between that door and the street could still look like a floating geometric accident.

The entrance system eventually covered all fifty-one building sites in the working data, and later iterations concentrated on making those approaches more continuous and better aligned with real terrain and pavements.

Not every candidate was automatically accepted. The latest path package still required an actual on-foot Godot walkthrough to confirm that the fixes felt right.

I couldn't help laughing at the pattern. Every time I tried to add a new piece of gameplay, an ordinary bit of city construction reminded me it was unfinished.

More useful than a big feature list

This stage wasn't about making the game look dramatically larger.

It was about making the player feel less like a camera floating through a demonstration scene.

Now there were objects to approach. Things to carry. Places to put them. A quick-access strip that responded to choices. People to talk to and doors to operate.

Those interactions were still early and limited. The objects weren't part of a complete inventory economy or a finished mission system.

But the city had gained something I valued more than another decorative asset.

A little more of the world could finally respond to the player's hands.