port of mwbryant/wasm4-space-invaders simple space invaders clone to c23
currently adding artemis too see if an ecs fits in 64k
Build the cart by running:
bear -- make
Then run it with:
w4 run build/cart.wasm
publish:
bash publish
add to docs/index.html header element
<!-- Meta Tags for Progressive Web App -->
<meta name="apple-mobile-web-app-status-bar" content="#aa7700">
<meta name="theme-color" content="black">
<!-- Meta Tags for BlueSky -->
<meta property="og:title" content="Space Invaders"/>
<meta property="og:type" content="website"/>
<meta property="og:locale" content="en_US">
<meta property="og:url" content="https://darkoverlordofdata.com/spaceinvaders/"/>
<meta property="og:description" content="Space Invaders Game"/>
<meta property="og:image" content="https://darkoverlordofdata.com/spaceinvaders/thumbnail.png"/>
<!-- Link to the Manifest File -->
<link rel="manifest" href="manifest.json">
<link rel="icon" href="./favicon.ico"/>
For more info about setting up WASM-4, see the quickstart guide.
- Documentation: Learn more about WASM-4.
- Snake Tutorial: Learn how to build a complete game with a step-by-step tutorial.
artemis ecs in c
- ☑ phase i files and define basic types
- ☑ phase ii interface
- ☑ phase iii implementation stubs
- ☐ phase iv implementation code
- original zig - 19k
- with corefw - 16.5k