BENTOTILESSDK DOCS

Standalone Dev Mock Mode

Test ad breaks, cloud saves, and events on localhost without host deployment.

Standalone Local Testing

When you build and test your game locally (http://localhost:3000 or file:// protocol), the BentoTiles SDK automatically activates Dev Mock Mode.


🛠️ How Dev Mock Mode Works

  1. Simulated Ad Overlays: Triggering commercialBreak() or rewardedBreak() renders an interactive neo-brutalist pop-up overlay with a countdown timer directly on your game canvas.
  2. Local Storage Fallback: Cloud save calls (BentoTiles.storage) store items in browser localStorage.
  3. Console Log Telemetry: All SDK calls print color-coded logs to your browser developer tools console (F12).