Watch
2
0
Fork
You've already forked raylib-cs
0

Review README files and comment style

This commit is contained in:
Rgebee 2026-07-31 08:24:07 +01:00
commit 5e2b5aef34
5 changed files with 35 additions and 35 deletions

View file

@ -1,4 +1,4 @@
# Examples/Web raylib-cs in the browser (WebAssembly)
# Examples/Web - raylib-cs in the browser (WebAssembly)
Runs the raylib examples in the browser via WebAssembly, with a dropdown and Prev/Next buttons
to switch between them.
@ -73,7 +73,7 @@ page), so frames are driven from JavaScript:
## Adding more examples
Examples are **auto-discovered by reflection** (`ExampleRegistry.DiscoverAll`) no list to edit.
Examples are **auto-discovered by reflection** (`ExampleRegistry.DiscoverAll`) - no list to edit.
Drop a new `.cs` file in the matching category folder implementing `IExample`, splitting the
original monolithic `Main` as:

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>raylib-cs browser examples</title>
<title>raylib-cs - browser examples</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico"/>
<link rel="modulepreload" href="./main.js"/>
<link rel="modulepreload" href="./_framework/dotnet.js"/>
@ -71,7 +71,7 @@
<option value="fit">Fit</option>
</select>
</div>
<div id="error" hidden>This example crashed see the browser console for details. Select another example to continue.</div>
<div id="error" hidden>This example crashed - see the browser console for details. Select another example to continue.</div>
<div id="viewport">
<canvas id="canvas" width="800" height="450" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas>
</div>