Terra-Craft
Terraria Advanced: Mining & Health
A compact, vanilla-JS mining/crafting/survival prototype — built as a technical demo and love letter to early Terraria / 2D sandbox classics.
~450 lines of pure JavaScript + Canvas. No frameworks, no assets, no build step.
What you can do right now
- Procedural 200ร100 overworld with terrain, caves, trees and ore veins (coal โ iron โ gold)
- Three-tier pickaxe progression (wood โ stone โ iron) with visibly different mining speeds
- Basic crafting menu (press E) — planks, tools, sword, stone bricks
- 5-heart health + fall damage + knockback + simple death/respawn screen
- Aggressive green slimes that chase and leap toward you
- Hotbar (1โ9 keys), item stacking, right-click place, left-click mine/attack
- Mining progress overlay, block-breaking particles, underground lighting shift
Controls
WASD move
SPACE jump
LEFT CLICK mine / attack
RIGHT CLICK place block
1โ9 hotbar select
E toggle crafting menu
Q (optional future) drop item
Quick start guide
- Punch trees โ logs โ craft wood planks โ craft wood pickaxe
- Dig โ stone โ craft stone pickaxe (much faster)
- Go deeper โ iron/gold ore โ craft iron pickaxe
- Avoid / fight slimes — they hit hard early game
- Don't fall too far (fall damage is punishing)
Known limitations (2026 demo state)
- No torches, lighting is just sky/underground color shift
- Ores used directly in crafting (no smelting / bars yet)
- Only one enemy type, no bosses or deeper progression
- No sound, no save system, no mobile controls
- Very basic collision & AI (but surprisingly playable)
Dig fast. Die faster. Improve the code.
Made as a raw JavaScript / canvas hacking experiment.
Pure code — emoji hearts — hand-picked colors — zero dependencies
Tags people usually add: terraria, mining, sandbox, survival, procedural, pixel, javascript, html5, vanilla-js, retro
| Published | 5 days ago |
| Status | Released |
| Platforms | HTML5 |
| Rating | Rated 3.0 out of 5 stars (2 total ratings) |
| Author | dailycircuits |
| Genre | Adventure, Role Playing, Survival |
| Tags | 8-Bit, new, Sandbox, Singleplayer |

