UNPKG
raylib-wasm
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.1
Make raylib games in JS for the web
raylib-wasm
/
docs
/
examples
/
sorry.js
10 lines
(9 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
InitGame
=
async
(
) => {
InitWindow
(
400
,
250
) }
const
UpdateGame
= (
ts
) => {
BeginDrawing
()
ClearBackground
(
RAYWHITE
)
DrawText
(
"Sorry, this demo is not ported, yet."
,
15
,
110
,
20
,
BLACK
)
EndDrawing
() }