2DProGolf is a procedural side-view golf prototype about reading terrain, wind, club choice, and the shape of every shot.
The game combines a 2D course with airborne depth simulation. Hills, ground materials, wind, and club parameters all affect the ball, while the camera and off-screen hole indicator keep long shots readable.
The current web build also contains a growing career-style structure around the core golf loop. It is playable, but still being refactored and expanded rather than presented as a finished commercial game.
- Start a new game from the title screen.
- Press near the ball, drag away from the intended shot direction, and release to swing.
- Drag elsewhere on the course to pan the camera.
- Use the on-screen controls to choose a club and plan around wind, slope, and terrain friction.
- Reach the hole in as few strokes as possible.
Mouse and touch input share the same aiming and camera gestures.
- Procedural terrain with contour shading and terrain-specific friction.
- Wind, slope, club choice, and 2D-plus-airborne ball movement.
- Camera pan, ball follow, and an off-screen hole indicator.
- Save and load support for the current browser session.
- Separated data, engine, and view folders as an incremental refactor baseline.
Requires a current Node.js installation.
npm install
npm run devCreate and preview a production build:
npm run build
npm run previewThe deployable site is built with Vite and published through the GitHub Pages workflow in .github/workflows/deploy.yml.
The core golf loop and browser build are playable. The repository is still an active prototype: architecture extraction, campaign content, balance, and production-level testing are incomplete.
No open-source license is currently included in this repository.
