-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
139 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.WebAssembly"> | ||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<Nullable>enable</Nullable> | ||
<WarningLevel>0</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<Nullable>enable</Nullable> | ||
<WarningLevel>0</WarningLevel> | ||
<DefaultItemExcludes>$(DefaultItemExcludes);docs\**\*;media;slides-src\**\*</DefaultItemExcludes> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"scripts": { | ||
"start": "dotnet publish -c Release && dotnet serve -d:bin/Release/net9.0/publish/wwwroot -p 8080 -S --path-base '/MangedDoom-Blazor'" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base /> | ||
<meta charset="utf-8" /> | ||
<head> | ||
<base href="/MangedDoom-Blazor/" /> | ||
<meta charset="utf-8" /> | ||
|
||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
/> | ||
<meta | ||
name="description" | ||
content="BlazorDoom - A dotnet WASM port of ManagedDoom" | ||
/> | ||
<meta name="keywords" content="Blazor, Doom, Game, WebAssembly, WASM" /> | ||
<title>BlazorDoom</title> | ||
<link href="./bootstrap.min.css" rel="stylesheet" /> | ||
<link href="./app.css" rel="stylesheet" /> | ||
<link rel="manifest" href="./manifest.json" /> | ||
<script type="module" src="./main.js"></script> | ||
</head> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
/> | ||
<meta | ||
name="description" | ||
content="BlazorDoom - A dotnet WASM port of ManagedDoom" | ||
/> | ||
<meta name="keywords" content="Blazor, Doom, Game, WebAssembly, WASM" /> | ||
<title>BlazorDoom</title> | ||
<link href="./bootstrap.min.css" rel="stylesheet" /> | ||
<link href="./app.css" rel="stylesheet" /> | ||
<link rel="manifest" href="./manifest.json" /> | ||
<script type="module" src="./main.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="install_button"></div> | ||
<div id="fps"></div> | ||
<canvas id="canvas" width="320" height="200"></canvas> | ||
<button onclick="console.log('clicked sound button');"> | ||
Click to enable sound APIs | ||
</button> | ||
</body> | ||
<body> | ||
<div id="install_button"></div> | ||
<div id="fps"></div> | ||
<canvas id="canvas" width="320" height="200"></canvas> | ||
<button onclick="console.log('clicked sound button');"> | ||
Click to enable sound APIs | ||
</button> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters