Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adding simon says projects
- Loading branch information
Showing
162 changed files
with
752 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/UnityProgress.js
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,24 @@ | ||
function UnityProgress(gameInstance, progress) { | ||
if (!gameInstance.Module) | ||
return; | ||
if (!gameInstance.logo) { | ||
gameInstance.logo = document.createElement("div"); | ||
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.container.appendChild(gameInstance.logo); | ||
} | ||
if (!gameInstance.progress) { | ||
gameInstance.progress = document.createElement("div"); | ||
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.progress.empty = document.createElement("div"); | ||
gameInstance.progress.empty.className = "empty"; | ||
gameInstance.progress.appendChild(gameInstance.progress.empty); | ||
gameInstance.progress.full = document.createElement("div"); | ||
gameInstance.progress.full.className = "full"; | ||
gameInstance.progress.appendChild(gameInstance.progress.full); | ||
gameInstance.container.appendChild(gameInstance.progress); | ||
} | ||
gameInstance.progress.full.style.width = (100 * progress) + "%"; | ||
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
gameInstance.logo.style.display = gameInstance.progress.style.display = "none"; | ||
} |
Binary file added
BIN
+13 KB
...ting/Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
.../Project02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 Bytes
...02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressEmpty.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+159 Bytes
...2-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressEmpty.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+137 Bytes
...t02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressFull.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+142 Bytes
...02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressFull.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.29 KB
...t02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressLogo.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/progressLogo.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
...ipting/Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/style.css
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,18 @@ | ||
.webgl-content * {border: 0; margin: 0; padding: 0} | ||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
|
||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;} | ||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;} | ||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;} | ||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;} | ||
|
||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');} | ||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');} | ||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');} | ||
|
||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} | ||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} | ||
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} | ||
.webgl-content .footer .title {margin-right: 10px; float: right;} | ||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} |
Binary file added
BIN
+3.5 KB
.../Project02-SimonSays/DMD2542-Project02-AlexWilliams/TemplateData/webgl-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.1 KB
...pting/Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/Thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
.../Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/alex-williams/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+2.68 MB
...roject02-SimonSays/DMD2542-Project02-AlexWilliams/alex-williams/Version 1.2.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...all2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/alex-williams/Version 1.2.json
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,13 @@ | ||
{ | ||
"companyName": "University of Connecticut - School of Fine Arts - Department of Digital Media and Design - Fall 2018 - DMD 2542 - Introduction to Scripting", | ||
"productName": "Faison Says - By Alex Williams", | ||
"dataUrl": "Version 1.2.data.unityweb", | ||
"wasmCodeUrl": "Version 1.2.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "Version 1.2.wasm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"default": "must-revalidate"} | ||
} |
Binary file added
BIN
+2.74 MB
...t02-SimonSays/DMD2542-Project02-AlexWilliams/alex-williams/Version 1.2.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+87.9 KB
...imonSays/DMD2542-Project02-AlexWilliams/alex-williams/Version 1.2.wasm.framework.unityweb
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
...2-IntroToScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-AlexWilliams/index.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
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 | Faison Says - By Alex Williams</title> | ||
<link rel="shortcut icon" href="TemplateData/favicon.ico"> | ||
<link rel="stylesheet" href="TemplateData/style.css"> | ||
<script src="TemplateData/UnityProgress.js"></script> | ||
<script src="Build/UnityLoader.js"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/Version 1.2.json", {onProgress: UnityProgress}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 1024px; height: 768px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Faison Says - By Alex Williams</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+919 KB
...02-SimonSays/DMD2542-Project02-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...8/Project02-SimonSays/DMD2542-Project02-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.json
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,13 @@ | ||
{ | ||
"companyName": "University of Connecticut - School of Fine Arts - Department of Digital Media and Design. Fall 2018 - DMD 2542 - Introduction to Scripting.", | ||
"productName": "Simon Says by Ariff Jeff", | ||
"dataUrl": "DMD2542-Project01-Ariff-Jeff.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-Project01-Ariff-Jeff.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-Project01-Ariff-Jeff.wasm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"default": "must-revalidate"} | ||
} |
Binary file added
BIN
+3.63 MB
...monSays/DMD2542-Project02-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.6 KB
...ys/DMD2542-Project02-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ToScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-AriffJeff/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...ng/Fall2018/Project02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/UnityProgress.js
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,24 @@ | ||
function UnityProgress(gameInstance, progress) { | ||
if (!gameInstance.Module) | ||
return; | ||
if (!gameInstance.logo) { | ||
gameInstance.logo = document.createElement("div"); | ||
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.container.appendChild(gameInstance.logo); | ||
} | ||
if (!gameInstance.progress) { | ||
gameInstance.progress = document.createElement("div"); | ||
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.progress.empty = document.createElement("div"); | ||
gameInstance.progress.empty.className = "empty"; | ||
gameInstance.progress.appendChild(gameInstance.progress.empty); | ||
gameInstance.progress.full = document.createElement("div"); | ||
gameInstance.progress.full.className = "full"; | ||
gameInstance.progress.appendChild(gameInstance.progress.full); | ||
gameInstance.container.appendChild(gameInstance.progress); | ||
} | ||
gameInstance.progress.full.style.width = (100 * progress) + "%"; | ||
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
gameInstance.logo.style.display = gameInstance.progress.style.display = "none"; | ||
} |
Binary file added
BIN
+13 KB
...ripting/Fall2018/Project02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...018/Project02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 Bytes
...ect02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressEmpty.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+159 Bytes
...ct02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressEmpty.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+137 Bytes
...ject02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressFull.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+142 Bytes
...ect02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressFull.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.29 KB
...ject02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressLogo.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...ect02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/progressLogo.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
...Scripting/Fall2018/Project02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/style.css
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,18 @@ | ||
.webgl-content * {border: 0; margin: 0; padding: 0} | ||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
|
||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;} | ||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;} | ||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;} | ||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;} | ||
|
||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');} | ||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');} | ||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');} | ||
|
||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} | ||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} | ||
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} | ||
.webgl-content .footer .title {margin-right: 10px; float: right;} | ||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} |
Binary file added
BIN
+3.5 KB
...018/Project02-SimonSays/DMD2542-Project02-AriffJeff/TemplateData/webgl-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+210 Bytes
...8/Project02-SimonSays/DMD2542-Project02-AriffJeff/__MACOSX/._DMD2542-Project01-Ariff-Jeff
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
DMD2542-IntroToScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-AriffJeff/index.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
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 | Simon Says by Ariff Jeff</title> | ||
<link rel="shortcut icon" href="TemplateData/favicon.ico"> | ||
<link rel="stylesheet" href="TemplateData/style.css"> | ||
<script src="TemplateData/UnityProgress.js"></script> | ||
<script src="Build/UnityLoader.js"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/DMD2542-Project01-Ariff-Jeff.json", {onProgress: UnityProgress}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 1920px; height: 1080px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Simon Says by Ariff Jeff</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+939 KB
...-SimonSays/DMD2542-Project02-DevinQuinn/Build/DMD2542-Project02-Devin-Quinn.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...Project02-SimonSays/DMD2542-Project02-DevinQuinn/Build/DMD2542-Project02-Devin-Quinn.json
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,13 @@ | ||
{ | ||
"companyName": "UConn DMD 2542 - Intro to Game Scripting - Professor Ken Thompson", | ||
"productName": "Project02 - SimonSays - Devin Quinn", | ||
"dataUrl": "DMD2542-Project02-Devin-Quinn.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-Project02-Devin-Quinn.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-Project02-Devin-Quinn.wasm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"default": "must-revalidate"} | ||
} |
Binary file added
BIN
+2.74 MB
...nSays/DMD2542-Project02-DevinQuinn/Build/DMD2542-Project02-Devin-Quinn.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+87.9 KB
.../DMD2542-Project02-DevinQuinn/Build/DMD2542-Project02-Devin-Quinn.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...oScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DevinQuinn/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...g/Fall2018/Project02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/UnityProgress.js
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,24 @@ | ||
function UnityProgress(gameInstance, progress) { | ||
if (!gameInstance.Module) | ||
return; | ||
if (!gameInstance.logo) { | ||
gameInstance.logo = document.createElement("div"); | ||
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.container.appendChild(gameInstance.logo); | ||
} | ||
if (!gameInstance.progress) { | ||
gameInstance.progress = document.createElement("div"); | ||
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.progress.empty = document.createElement("div"); | ||
gameInstance.progress.empty.className = "empty"; | ||
gameInstance.progress.appendChild(gameInstance.progress.empty); | ||
gameInstance.progress.full = document.createElement("div"); | ||
gameInstance.progress.full.className = "full"; | ||
gameInstance.progress.appendChild(gameInstance.progress.full); | ||
gameInstance.container.appendChild(gameInstance.progress); | ||
} | ||
gameInstance.progress.full.style.width = (100 * progress) + "%"; | ||
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
gameInstance.logo.style.display = gameInstance.progress.style.display = "none"; | ||
} |
Binary file added
BIN
+13 KB
...ipting/Fall2018/Project02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...18/Project02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 Bytes
...ct02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressEmpty.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+159 Bytes
...t02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressEmpty.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+137 Bytes
...ect02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressFull.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+142 Bytes
...ct02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressFull.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.29 KB
...ect02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressLogo.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...ct02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/progressLogo.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
...cripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/style.css
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,18 @@ | ||
.webgl-content * {border: 0; margin: 0; padding: 0} | ||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
|
||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;} | ||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;} | ||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;} | ||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;} | ||
|
||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');} | ||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');} | ||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');} | ||
|
||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} | ||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} | ||
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} | ||
.webgl-content .footer .title {margin-right: 10px; float: right;} | ||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} |
Binary file added
BIN
+3.5 KB
...18/Project02-SimonSays/DMD2542-Project02-DevinQuinn/TemplateData/webgl-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
...542-IntroToScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DevinQuinn/index.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
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 | Project02 - SimonSays - Devin Quinn</title> | ||
<link rel="shortcut icon" href="TemplateData/favicon.ico"> | ||
<link rel="stylesheet" href="TemplateData/style.css"> | ||
<script src="TemplateData/UnityProgress.js"></script> | ||
<script src="Build/UnityLoader.js"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/DMD2542-Project02-Devin-Quinn.json", {onProgress: UnityProgress}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 960px; height: 600px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Project02 - SimonSays - Devin Quinn</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+1.18 MB
...imonSays/DMD2542-Project02-DonnaFaryna/Build/DMD2542-Project02-Donna-Faryna.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...oject02-SimonSays/DMD2542-Project02-DonnaFaryna/Build/DMD2542-Project02-Donna-Faryna.json
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,13 @@ | ||
{ | ||
"companyName": "Donna Faryna - University of Connecticut - School of Fine Arts - Department of Digital Media and Design", | ||
"productName": "Fall 2018 - DMD 2542 - Introduction to Scripting", | ||
"dataUrl": "DMD2542-Project02-Donna-Faryna.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-Project02-Donna-Faryna.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-Project02-Donna-Faryna.wasm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"default": "must-revalidate"} | ||
} |
Binary file added
BIN
+3.62 MB
...ays/DMD2542-Project02-DonnaFaryna/Build/DMD2542-Project02-Donna-Faryna.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.6 KB
...MD2542-Project02-DonnaFaryna/Build/DMD2542-Project02-Donna-Faryna.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...Scripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+35.4 KB
...Says/DMD2542-Project02-DonnaFaryna/DMD2542-Project02-DonnaFaryna-Screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
.../Fall2018/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/UnityProgress.js
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,24 @@ | ||
function UnityProgress(gameInstance, progress) { | ||
if (!gameInstance.Module) | ||
return; | ||
if (!gameInstance.logo) { | ||
gameInstance.logo = document.createElement("div"); | ||
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.container.appendChild(gameInstance.logo); | ||
} | ||
if (!gameInstance.progress) { | ||
gameInstance.progress = document.createElement("div"); | ||
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.progress.empty = document.createElement("div"); | ||
gameInstance.progress.empty.className = "empty"; | ||
gameInstance.progress.appendChild(gameInstance.progress.empty); | ||
gameInstance.progress.full = document.createElement("div"); | ||
gameInstance.progress.full.className = "full"; | ||
gameInstance.progress.appendChild(gameInstance.progress.full); | ||
gameInstance.container.appendChild(gameInstance.progress); | ||
} | ||
gameInstance.progress.full.style.width = (100 * progress) + "%"; | ||
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
gameInstance.logo.style.display = gameInstance.progress.style.display = "none"; | ||
} |
Binary file added
BIN
+13 KB
...pting/Fall2018/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...8/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 Bytes
...t02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressEmpty.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+159 Bytes
...02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressEmpty.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+137 Bytes
...ct02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressFull.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+142 Bytes
...t02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressFull.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.29 KB
...ct02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressLogo.Dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
...t02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/progressLogo.Light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
...ripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/style.css
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,18 @@ | ||
.webgl-content * {border: 0; margin: 0; padding: 0} | ||
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
|
||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} | ||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;} | ||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;} | ||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;} | ||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;} | ||
|
||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');} | ||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');} | ||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');} | ||
|
||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} | ||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} | ||
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} | ||
.webgl-content .footer .title {margin-right: 10px; float: right;} | ||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} |
Binary file added
BIN
+3.5 KB
...8/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/TemplateData/webgl-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
...42-IntroToScripting/Fall2018/Project02-SimonSays/DMD2542-Project02-DonnaFaryna/index.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
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 | Fall 2018 - DMD 2542 - Introduction to Scripting</title> | ||
<link rel="shortcut icon" href="TemplateData/favicon.ico"> | ||
<link rel="stylesheet" href="TemplateData/style.css"> | ||
<script src="TemplateData/UnityProgress.js"></script> | ||
<script src="Build/UnityLoader.js"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/DMD2542-Project02-Donna-Faryna.json", {onProgress: UnityProgress}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 960px; height: 600px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Fall 2018 - DMD 2542 - Introduction to Scripting</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+4.35 MB
...t02-SimonSays/DMD2542-Project02-JoshuaHirshfield/Build/Simon Says Build.asm.code.unityweb
Binary file not shown.
Binary file added
BIN
+89 KB
...imonSays/DMD2542-Project02-JoshuaHirshfield/Build/Simon Says Build.asm.framework.unityweb
Binary file not shown.
Binary file added
BIN
+372 KB
...2-SimonSays/DMD2542-Project02-JoshuaHirshfield/Build/Simon Says Build.asm.memory.unityweb
Binary file not shown.
Binary file added
BIN
+827 KB
...oject02-SimonSays/DMD2542-Project02-JoshuaHirshfield/Build/Simon Says Build.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...ll2018/Project02-SimonSays/DMD2542-Project02-JoshuaHirshfield/Build/Simon Says Build.json
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,13 @@ | ||
{ | ||
"companyName": "DefaultCompany", | ||
"productName": "Simon-Says", | ||
"dataUrl": "Simon Says Build.data.unityweb", | ||
"asmCodeUrl": "Simon Says Build.asm.code.unityweb", | ||
"asmMemoryUrl": "Simon Says Build.asm.memory.unityweb", | ||
"asmFrameworkUrl": "Simon Says Build.asm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20" | ||
} |
4 changes: 4 additions & 0 deletions
4
...ting/Fall2018/Project02-SimonSays/DMD2542-Project02-JoshuaHirshfield/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+5.37 KB
...8/Project02-SimonSays/DMD2542-Project02-JoshuaHirshfield/Simon Says Picture.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.