-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from KozmikNano/master
Added Obstacle Cube Game to game library.
- Loading branch information
Showing
6 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>Unity WebGL Player | Obstacle cube</title> | ||
</head> | ||
<body style="text-align: center"> | ||
<canvas id="unity-canvas" width=960 height=600 style="width: 960px; height: 600px; background: #231F20"></canvas> | ||
<script src="Build/game.loader.js"></script> | ||
<script> | ||
createUnityInstance(document.querySelector("#unity-canvas"), { | ||
dataUrl: "Build/game.data", | ||
frameworkUrl: "Build/game.framework.js", | ||
codeUrl: "Build/game.wasm", | ||
streamingAssetsUrl: "StreamingAssets", | ||
companyName: "KozmikNano", | ||
productName: "Obstacle cube", | ||
productVersion: "0.3", | ||
// matchWebGLToCanvasSize: false, // Uncomment this to separately control WebGL canvas render size and DOM element size. | ||
// devicePixelRatio: 1, // Uncomment this to override low DPI rendering on high DPI displays. | ||
}); | ||
</script> | ||
</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