Star Forge - HTML5 Idle Clicker Source Code
A downloadable asset pack
An idle / clicker space game in ONE file (index.html): plain JavaScript + HTML/CSS with a Canvas 2D background, no engine, no build step, no external files. About 14 KB.
Play it free first: https://chiarly6.itch.io/star-forge
What's inside
- 8 forge types with rising costs and 14 upgrades (tap power, per-forge and global multipliers)
- Supernova prestige: reset for Stardust, each worth +10% to everything
- Offline earnings (up to 8 hours, at half rate) with a "Welcome back" popup
- Autosave to
localStorageevery few seconds and when the tab is hidden - Big-number formatting (K, M, B, T…), starfield and tap sparks on canvas
- Synth sound effects with WebAudio (no audio files); responsive layout for phone and desktop
Reskin in 10 minutes
- Title / text: the
<title>, the item names and descriptions inGENSandUPS, and the strings insupernova()and the "Welcome back!" popup at the bottom. - Colors: the CSS variables in
:root(--bg,--panel,--acc:#ffc94d,--acc2…), theccolor on each entry inGENS, and the star gradient on#core. - Difficulty / tuning:
baseandprodinGENS,costinUPS, the 1.15 cost growth ingenCost(), prestige industGain()/dustMult(), and the offline cap8*3600.
Ready for game portals
All ad calls go through one small Portal object. The pack also has ready-made builds wired to the CrazyGames, GameDistribution and GameMonetize SDKs (pause and mute during ads). Add your own game ID, zip and upload.
License
Use it for one game of your own, free or commercial. Do not resell or share the source. See LICENSE.txt.
Made with AI-assisted code by Chiarly.
| Published | 17 days ago |
| Status | Released |
| Category | Assets |
| Author | Chiarly6 |
| Tags | Asset Pack, html5, Idle, javascript, sourcecode, Project template |
| AI Disclosure | AI Assisted, Code, Text |

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