Skip to content

Add built-in game store and menu system#856

Open
WizzardSK wants to merge 1 commit intoaduros:mainfrom
WizzardSK:main
Open

Add built-in game store and menu system#856
WizzardSK wants to merge 1 commit intoaduros:mainfrom
WizzardSK:main

Conversation

@WizzardSK
Copy link
Copy Markdown

@WizzardSK WizzardSK commented Mar 28, 2026

Summary

  • Store: browse and download carts from wasm4.org/carts.json directly in the native runtime
  • Menu: pause menu (Enter key) with Continue, Store, Reset options
  • No-arg launch: running wasm4 without a cart file opens the store directly
  • wasm3 fix: skip duplicate memory section when memory is already imported (fixes 3 carts: bombfighters, lava-hop, seed-creator-showcase)
  • Store UX: wrap-around navigation, page up/down, safe loading (failed carts reopen store)

New files

  • store.c / store.h — store overlay with catalog download, browsing UI, cart download
  • menu.c / menu.h — pause menu overlay

@WizzardSK WizzardSK force-pushed the main branch 5 times, most recently from 0eaf201 to 9d8a1bf Compare March 28, 2026 17:28
- Store: browse and download carts from wasm4.org directly in the runtime
- Menu: pause menu (Enter key) with Continue, Store, Reset options
- No-arg launch: running wasm4 without a cart file opens the store
- wasm3 fix: skip duplicate memory section for imported memory
- Store UX: wrap-around navigation, cursor position remembered
- Safe module loading with memory pointer refresh after load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant