CS104 · CS104 - Information and Communication Technology
Rolling Ball
A Unity game-development coursework project deployed as a playable WebGL experience with a responsive public presentation website.
Overview
Rolling Ball was developed as an Information and Communication Technology coursework project using Unity.
The completed Unity game was exported as a WebGL build and deployed through a responsive public website so it can be played directly in a modern browser.
Unity Project
The original project was developed using the Unity game engine and includes the game scenes, assets, scripts, physics, movement behavior, level design, and supporting Unity configuration.
Because the complete Unity editor project is significantly larger than the deployable WebGL build, the public GitHub repository focuses on the playable deployment output and its presentation website.
WebGL Deployment
The supplied Unity build was integrated into a custom portfolio-style wrapper containing:
- Unity WebGL canvas
- Loading-progress feedback
- Ready and failure states
- Fullscreen support
- Reload control
- Responsive presentation
- Project metadata
- Deployment documentation
- Correct WebAssembly and JavaScript MIME configuration
- Vercel deployment support
Deployment Challenge
Unity initially produced gzip-compressed WebGL files that depended on the hosting server returning the correct Content-Encoding headers.
To improve deployment reliability, the assets were converted to standard uncompressed Unity WebGL files:
RollingBall.dataRollingBall.framework.jsRollingBall.loader.jsRollingBall.wasm
Vercel response headers were then configured for the correct MIME types and cache behavior.
Reliability Improvements
The website also includes explicit loading, success, and failure states.
A hidden-state styling conflict was fixed so completed loading and error overlays could not remain falsely visible over the running Unity game.
Repository Structure
The public repository includes:
Build/— deployable Unity WebGL assetsTemplateData/— Unity template assetsdocs/— original Unity page and deployment documentationindex.html— project presentation pagestyles.css— responsive interfaceapp.js— Unity loading and UI lifecyclevercel.json— deployment headers
Outcome
The project demonstrates introductory Unity game development, WebGL deployment, browser integration, static hosting configuration, debugging, and presenting a game-development coursework project through a professional public interface.