Python · Pygame · 2D Game · Object Pooling · Data-Driven Design
Super Hexagon-like Game
A data-driven Python control game with pattern files, object pooling, radial segmentation, and vector collision tests.
Overview
Shaper is a Python 2D control game inspired by Super Hexagon, built as a Game Programming Introduction class term project.
- The player avoids blocks moving toward the center of the screen.
- The project was developed by a 2-member team over five days.
- I served as team lead and built most of the playable game, excluding the start screen and stage-selection UI.
What I Built
I implemented the stage, obstacle, pooling, and collision systems.
- Structured the game so new stages could be created by modifying parameters and custom pattern files rather than writing each stage manually.
- Implemented a pattern-loading system where the game reads custom-format pattern files and releases obstacle patterns during gameplay.
- Built object pooling for incoming blocks, vector-based screen segmentation around the central polygon, and dot-product-based collision detection between the player and nearest block.
