🦙
Alpaca Dash
  • Alpaca Dash Game Review
    • Alpaca Stats
      • Speed
      • Acceleration
      • Endurance
      • Handling
      • Intelligence
    • Alpaca Run States
    • Alpaca Resources
    • Environment Types
      • Desert
      • Mountainside
    • Weather Types
      • Clear
      • Heat
      • Rain
      • Wind
    • Obstacles
      • Sand
      • Rocks
      • Mud
      • Turns
    • Skills
      • Active Skills
      • Passive Skills
      • Skill Tree Types
        • Agility
          • Tier 1 Skills
          • Tier 2 Skills
          • Tier 3 Skills
          • Tier 4 Skills
        • Strength
          • Tier 1 Skills
          • Tier 2 Skills
          • Tier 3 Skills
          • Tier 4 Skills
        • Intelligence
          • Tier 1 Skills
          • Tier 2 Skills
          • Tier 3 Skills
          • Tier 4 Skills
          • Tier 5 Skills
      • Buffs
      • Shields
      • Debuffs
        • Targets
      • Conditions
    • Lobbies
Powered by GitBook
On this page
  • Obstacle Generation
  • Generation Process
  • Speed Resriction
  1. Alpaca Dash Game Review

Obstacles

PreviousWindNextSand

Last updated 10 months ago

Some tracks are not perfect and feature damaged lanes, creating various obstacles that make parts of the track difficult to run. The types of obstacles include , , and . Each obstacle type has its own requirements, meaning alpacas with the same overall stat may perform differently on these Obstacles. It's crucial to race often to learn which Obstacles suit your alpaca best.


Obstacle Generation

Obstacles are generated using specific parameters to ensure variability and challenge in each race. Here are the key parameters:

  • MEAN_OBSTACLE_DISTANCE: 500

  • OBSTACLE_DISTANCE_VARIANCE: 40

  • MIN_OBSTACLE_LENGTH: 25

  • MAX_OBSTACLE_LENGTH: 30

Generation Process

Obstacles are generated with the following steps:

  1. Determine Number of Obstacles: The number of obstacles is based on the track length and the MEAN_OBSTACLE_DISTANCE.

  2. Calculate Mean Obstacle Distance: This is adjusted by the number of available obstacles.

  3. Shuffle Obstacle Types: Obstacle types are shuffled to ensure randomness.

  4. Place Obstacles: Obstacles are placed at random positions within a variance range (OBSTACLE_DISTANCE_VARIANCE), ensuring they do not overlap and fit within the track length.


Speed Resriction

Speed Restriction Near Obstacles

Alpacas must slow down near obstacles and turns, indicated by the Speed Fraction values, to navigate them safely

Obstacle Type
Speed Fraction

Mud

45%

Rocks

55%

Sand

50%

Slowing Down Near Turns

Alpacas must also slow down near turns to navigate them safely. The speed reduction near turns is based on the turn radius:

Degrees
Speed Fraction

10

30%

20

40%

30

50%

45

70%

60

80%

This slowing down happens within the LOOK_AHEAD_DISTANCE. Where LOOK_AHEAD_DISTANCE = 24.

Mud
Sand
Rocks
Handling
Handling