How to play HexGL

  1. 1On the start menu, click Controls, Quality or HUD to cycle their options, then click Start, read the controls screen and click again to load the race.
  2. 2Keyboard: hold the Up arrow to accelerate and steer with the Left/Right arrows.
  3. 3Q or A applies the left airbrake and D or E the right one; steer the same way at the same time for the tightest turn.
  4. 4Touch: steer with the virtual stick on the left half of the screen and hold the right half to accelerate.
  5. 5Complete 3 laps; wall hits drain your shield, and the ship is destroyed if the shield runs out or you fall off the track.
  6. 6Press Esc to restart the race from the start line.

About HexGL

HexGL is a futuristic racing game by Thibaut Despoulain (BKcore), built with Three.js and WebGL. You fly a hovering ship around a neon track called Cityscape. A race is three laps against the clock, and your total time is shown at the end. Your browser needs WebGL; without it, the Start button says WebGL is not supported.

Setting up the race

The start menu has options that change each time you click them. Controls cycles through Keyboard, Touch, Leap Motion Controller and Gamepad, and Touch is preselected on touch devices. Quality goes from Low to Very High, which is the default. HUD turns the speed, shield, time and lap readouts on or off. After you click Start, a help screen shows the controls for the method you chose; click or tap to load the track.

Driving controls

ActionKeyboardTouch
AccelerateHold ↑Hold the right half of the screen
Steer← / →Virtual stick on the left half
Left airbrakeQ or A—
Right airbrakeD or E—
Restart the raceEscThree-finger touch

W and the Down arrow do nothing. With a gamepad, the left stick steers, and the acceleration control and the two triggers handle speed and airbrakes.

Shield, boosts and the finish

Each race starts with a full shield. Every wall hit costs shield, and the damage grows with the square of your speed, so a scrape at top speed hurts much more than a slow bump. A hit also cuts your speed and cancels any boost. When the shield runs out, the ship is destroyed. The race also ends if you fall off the track. Boost pads on the track give a burst of extra speed that fades away. "Final lap" appears when you start lap three, and crossing the line after it shows your total time.

Racing tips

  • In tight corners, use the airbrake on the inside and steer the same way. An airbrake on its own turns you only half as fast.
  • Airbrakes also slow you down, so let go as soon as the nose points down the straight.
  • Stay off the walls after a boost pad, since a hit cancels the boost and costs more shield at high speed.
  • Learn where the boost pads are on the first lap, then line up for them on laps two and three.
  • If the race stutters, choose a lower Quality setting before you start.

More fast-paced games are in our arcade games section. HexGL was created by Thibaut Despoulain (BKcore) and is released under the MIT License.

FAQ

Why doesn't W accelerate?

HexGL accelerates only with the Up arrow and steers with Left/Right. On this layout, A and D are airbrakes, the same as Q and E.

What do the airbrakes do?

Q or A brakes on the left and D or E on the right. Each one slows the ship and turns it toward that side, and pressing the arrow in the same direction turns you twice as fast.

Can I play HexGL on a phone or tablet?

Yes, if the device supports WebGL. Choose Touch under Controls (it is preselected on touch devices), steer with the stick on the left and hold the right side to accelerate.

What ends a race?

Finishing three laps, losing all of your shield to wall hits, or falling off the track. Esc restarts the race at any time.

You may also like

All games