Bueno Docs
Buenoverse
Buenoverse
  • Introduction
    • Welcome to the Buenoverse! 🌍
    • Buenoverse Plans
    • Roadmap
  • Getting Started
    • Creating Your First World
    • Builder Basics
    • Add Collaborators
  • Fundamentals
    • Worlds and Rooms
    • Player Spawn Points
    • Elements
      • Hitboxes
      • Z-index
      • Interactions
    • Components
    • Asset Manager
    • Asset Kits
    • Image Generator
    • Layers and Floors
    • Paths
    • Sprite Animation
    • Sounds
    • Video
  • Interactions
    • Introduction to Interactions
    • Full walkthrough
    • Portals
    • External links
    • Effects
      • Animation
      • Music
      • Sounds
      • Confetti, Fireworks and Smoke
    • Abilities
      • Collectible
      • Mountable
      • Drivable
      • Movement
      • Thrower
      • Damage
      • Health
      • Mint Machine
      • Dress Up
    • Dialogue
      • AI Dialogue
      • Permissions
      • Items and Rewards
      • Collect Data
      • HTTP Requests (Advanced Feature)
    • Games
      • Podium
      • Test Lobby
  • Player Management
    • Player Options
    • Player Health
    • XP and Level Up
    • XP and Level Gating
    • Item Gating
    • Token Gating
    • Moderation
  • Tutorials
    • Building a DJ Room
    • Make a Hot Air Balloon
    • Make a Mint Machine
Powered by GitBook
On this page
  • How to Design a Hitbox
  • Check out some more examples of well-designed hitboxes below! ↴

Was this helpful?

  1. Fundamentals
  2. Elements

Hitboxes

PreviousElementsNextZ-index

Last updated 1 year ago

Was this helpful?

Hitboxes are areas that players cannot travel through.

Do you have a wall and want the player to not be able to go through it? Use a hitbox. Is there a tree and you want the player to stop when they run into the trunk? Use a hitbox!

How to Design a Hitbox

When coming up with the design for your hitbox, you want to think about where the area of the element is on the ground.

For example, on this tree, the trunk is sitting on the ground, so a good hitbox would only block the tree trunk.

If you were to create a hitbox around the entire tree (the "bad" screenshot above), this would mean the player could not go behind the tree.

In general, smaller hitboxes feel better, since it gives the player more room to move around and go behind the element.

Experiment with your hitboxes by running around them until they feel right!

Check out some more examples of well-designed hitboxes below! ↴

For a tree, try placing the hitbox just around the base of the trunk rather than around the entire tree.
Hitboxes blocking the bottom of tree trunks, a launch pad and a waterway.
Hitboxes blocking the bases of several objects in an environment, including plants and buildings.
Hitboxes blocking portions of a collection of trees, lamps and a large building.