Hex Attack
HEX ATTACK - Avoid Enemies and Survive!
HEX ATTACK is a action survival game developed in C++ using the Raylib framework. In this game, you control a central cannon and must defend your base against relentless waves of flying hexagons. Your primary objective is to destroy these hexagons before they connect to the central platform and build a bridge allowing the enemies in the screen's corners to invade.
Can you survive every wave as the speed and difficulty increase?
Features
- Action-packed gameplay: fast and responsive shooting mechanics.
- Wave progression system: difficulty scales up as the hexagon spawn intervals decrease and speed increases with each wave.
- Cross-platform: compiled for Desktop (OpenGL 3.3) and Web/HTML5 (WebGL 1.0 / GLSL 100).
- Custom visuals: procedural space nebula and starfield background generated using GLSL shaders.
- Polished feedback: screen effects, sprite animations for explosions, and dynamic UI elements.
Controls
Mouse
- Move mouse: aim the cannon.
- Left mouse button: shoot.
Keyboard
- Left and right arrow keys: rotate the cannon.
- Spacebar: shoot.
- Enter: play again (on Game Over screen).
Assets
Assets from Itch.io, Pixabay, and DaFont:
- Zintoki: Ground Shaker
- QwerryAnimation: Robot D-8080 Enemy
- Ansimuz: Explosion Animations Pack
- Biww: Small Explosion Blast Impact
- Seventhpaw: Game Over Halo
- Ribhav Agrawal:Metal Beaten SFX
- Game Font:Nineteen Ninety Seven
License
This project sources are licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.
GitHub
https://github.com/PauloGiovani/hexattack-raylib6x-gamejam
Copyright (c) 2026 @paulogiovani
| Published | 27 days ago |
| Status | Released |
| Platforms | HTML5 |
| Author | Paulo Giovani |
| Genre | Action |
| Tags | 2D, Game Jam, raylib |
| AI Disclosure | AI Assisted, Text |



Leave a comment
Log in with itch.io to leave a comment.