2D Craft World - A Complete Sandbox Game Built with Kodular Creator + WebView
2D Craft World is a fully-featured 2D sandbox game inspired by classics like Minecraft and Terraria. It is built entirely with HTML5, JavaScript, and CSS, running seamlessly inside a Kodular Creator WebView.
What is it?
An infinite procedural world where you can:
Mine for resources (stone, coal, iron, gold, diamond)
Build anything with 30+ block types
Craft tools, weapons, and items using 2x2 and 3x3 grids
Fight hostile mobs like zombies, skeletons, spiders, and bosses
Hunt passive animals such as cows, chickens, rabbits, and fish
Manipulate fluids with realistic water and lava physics
Power your creations with Voltstone (a Redstone-like energy system)
Ride vehicles including boats and minecarts
Save and load your progress with full TinyDB integration
Objective
There is no single goal—it is a true sandbox! Explore vast biomes, gather resources, build your ultimate base, craft powerful equipment, and defeat challenging bosses like the Ender Dragon and Iron Golem. The world is yours to shape.
How It Was Built
This project showcases the power of Kodular Creator’s WebView component:
- Frontend: Pure HTML5 Canvas and vanilla JavaScript (no external game engines).
- Storage: Persistent saves via TinyDB using
WebViewStringcommunication. - Architecture: A modular system of 50+ JavaScript files bundled into a single, efficient game loop.
- Performance: Smooth 60 FPS procedural world generation with an efficient chunk-based rendering system.
Why Kodular?
Kodular Creator was instrumental in turning this complex JavaScript game into a native Android APK by:
- Seamlessly integrating TinyDB for game saves.
- Utilizing the WebView’s JavaScript bridge for robust data exchange.
- Allowing for proper Android permissions and packaging for publication on Google Play.
Get the Game
Experience the adventure yourself! Download 2D Craft World for free from the Google Play Store:
Built with
using Kodular Creator, WebView, and vanilla JavaScript.

