Fix links
This commit is contained in:
parent
1e60e63213
commit
df8a4af0e9
|
|
@ -12,7 +12,7 @@ bun install
|
||||||
|
|
||||||
## Make a game
|
## Make a game
|
||||||
|
|
||||||
- Create your game folder in [src/games](src/games)
|
- Create your game folder in `src/games`
|
||||||
- Create `src/games/<yourgame>/index.ts` with default exported function.
|
- Create `src/games/<yourgame>/index.ts` with default exported function.
|
||||||
|
|
||||||
## Running:
|
## Running:
|
||||||
|
|
@ -87,13 +87,13 @@ bun run build
|
||||||
```
|
```
|
||||||
- Vendor prefixed if needed
|
- Vendor prefixed if needed
|
||||||
|
|
||||||
- Import fonts (see [example](src/common/assets/vga.font.css))
|
- Import fonts (see example in `src/common/assets/vga.font.css`)
|
||||||
```ts
|
```ts
|
||||||
import "./assets/lcd.font.css";
|
import "./assets/lcd.font.css";
|
||||||
```
|
```
|
||||||
|
|
||||||
- [AssemblyScript](https://www.assemblyscript.org/) support (TypeScript-like language compiled into WebAssembly)
|
- [AssemblyScript](https://www.assemblyscript.org/) support (TypeScript-like language compiled into WebAssembly)
|
||||||
- [Example](./src/games/playground/awoo.wasm.ts)
|
- Example: `src/games/playground/awoo.wasm.ts`
|
||||||
- Triggered by file name `*.wasm.ts`
|
- Triggered by file name `*.wasm.ts`
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue