-
Notifications
You must be signed in to change notification settings - Fork 1
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
166 changed files
with
747 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...pting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+25.6 MB
...l2018/Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/Build/Version 2.data.unityweb
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
...pting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/Build/Version 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,12 @@ | ||
{ | ||
"companyName": "Alex Williams - University of Connecticut - School of Fine Arts - Department of Digital Media and Design", | ||
"productName": "Fall 2018 - UConn DMD 2542 Intro to Scripting - Prof Ken Thompson", | ||
"dataUrl": "Version 2.data.unityweb", | ||
"wasmCodeUrl": "Version 2.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "Version 2.wasm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20" | ||
} |
Binary file added
BIN
+2.91 MB
.../Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/Build/Version 2.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88 KB
...ect01-SpaceShooter/DMD2542-Project01-AlexWilliams/Build/Version 2.wasm.framework.unityweb
Binary file not shown.
Binary file added
BIN
+116 KB
...oject01-SpaceShooter/DMD2542-Project01-AlexWilliams/Space Shooter Thumbnail.png
Loading
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
...l2018/Project01-SpaceShooter/DMD2542-Project01-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
...g/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...oject01-SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/fullscreen.png
Loading
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
...SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressEmpty.Dark.png
Loading
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
...paceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressEmpty.Light.png
Loading
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
...-SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressFull.Dark.png
Loading
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
...SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressFull.Light.png
Loading
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
...-SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressLogo.Dark.png
Loading
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
...SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/progressLogo.Light.png
Loading
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
...ing/Fall2018/Project01-SpaceShooter/DMD2542-Project01-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
...oject01-SpaceShooter/DMD2542-Project01-AlexWilliams/TemplateData/webgl-logo.png
Loading
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
...ripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AlexWilliams/alex-williams.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 - UConn DMD 2542 Intro to Scripting - Prof Ken Thompson</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 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">Alex Williams - Fall 2018 - UConn DMD 2542 Intro to Scripting - Prof Ken Thompson</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+868 KB
...SpaceShooter/DMD2542-Project01-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...roject01-SpaceShooter/DMD2542-Project01-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 - Professor Ken Thompson.", | ||
"productName": "Space Shooter - 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.52 MB
...Shooter/DMD2542-Project01-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.1 KB
...er/DMD2542-Project01-AriffJeff/Build/DMD2542-Project01-Ariff-Jeff.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...cripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AriffJeff/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...Fall2018/Project01-SpaceShooter/DMD2542-Project01-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
...ting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
.../Project01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/fullscreen.png
Loading
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
...01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressEmpty.Dark.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressEmpty.Light.png
Loading
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
...t01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressFull.Dark.png
Loading
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
...01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressFull.Light.png
Loading
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
...t01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressLogo.Dark.png
Loading
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
...01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/progressLogo.Light.png
Loading
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/Project01-SpaceShooter/DMD2542-Project01-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
.../Project01-SpaceShooter/DMD2542-Project01-AriffJeff/TemplateData/webgl-logo.png
Loading
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
+44.1 KB
...8/Project01-SpaceShooter/DMD2542-Project01-AriffJeff/ariffjeff-spaceshooter.png
Loading
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
...2-IntroToScripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-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 | Space Shooter - 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: 861px; height: 466px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Space Shooter - Ariff Jeff</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+865 KB
...eShooter/DMD2542-Project01-DonnaFaryna/Build/DMD2542-Project01-Donna-Faryna.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...ct01-SpaceShooter/DMD2542-Project01-DonnaFaryna/Build/DMD2542-Project01-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": "University of Connecticut - School of Fine Arts - Department of Digital Media and Design", | ||
"productName": "Fall 2018 - DMD2542 - Introduction to Scripting - Professor Ken Thompson", | ||
"dataUrl": "DMD2542-Project01-Donna-Faryna.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-Project01-Donna-Faryna.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-Project01-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
+2.88 MB
...ter/DMD2542-Project01-DonnaFaryna/Build/DMD2542-Project01-Donna-Faryna.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.1 KB
...MD2542-Project01-DonnaFaryna/Build/DMD2542-Project01-Donna-Faryna.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ipting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-DonnaFaryna/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+13.1 KB
...01-SpaceShooter/DMD2542-Project01-DonnaFaryna/DonnaFaryna_ShooterScreenShot.png
Loading
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
...ll2018/Project01-SpaceShooter/DMD2542-Project01-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
...ng/Fall2018/Project01-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...roject01-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/fullscreen.png
Loading
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
...-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressEmpty.Dark.png
Loading
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
...SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressEmpty.Light.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressFull.Dark.png
Loading
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
...-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressFull.Light.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressLogo.Dark.png
Loading
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
...-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/progressLogo.Light.png
Loading
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
...ting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-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
...roject01-SpaceShooter/DMD2542-Project01-DonnaFaryna/TemplateData/webgl-logo.png
Loading
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
...IntroToScripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-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 - DMD2542 - Introduction to Scripting - Professor Ken Thompson</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-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 - DMD2542 - Introduction to Scripting - Professor Ken Thompson</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+3.09 MB
...Shooter/DMD2542-Project01-EmilyTouch/Build/DMD2542-Project01-EmilyTouch.asm.code.unityweb
Binary file not shown.
Binary file added
BIN
+86.3 KB
...er/DMD2542-Project01-EmilyTouch/Build/DMD2542-Project01-EmilyTouch.asm.framework.unityweb
Binary file not shown.
Binary file added
BIN
+338 KB
...ooter/DMD2542-Project01-EmilyTouch/Build/DMD2542-Project01-EmilyTouch.asm.memory.unityweb
Binary file not shown.
Binary file added
BIN
+1.07 MB
...paceShooter/DMD2542-Project01-EmilyTouch/Build/DMD2542-Project01-EmilyTouch.data.unityweb
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
...oject01-SpaceShooter/DMD2542-Project01-EmilyTouch/Build/DMD2542-Project01-EmilyTouch.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,9 @@ | ||
{ | ||
"TOTAL_MEMORY": 268435456, | ||
"dataUrl": "DMD2542-Project01-EmilyTouch.data.unityweb", | ||
"asmCodeUrl": "DMD2542-Project01-EmilyTouch.asm.code.unityweb", | ||
"asmMemoryUrl": "DMD2542-Project01-EmilyTouch.asm.memory.unityweb", | ||
"asmFrameworkUrl": "DMD2542-Project01-EmilyTouch.asm.framework.unityweb", | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20" | ||
} |
4 changes: 4 additions & 0 deletions
4
...ripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+29.3 KB
...ing/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/GameSS (2).png
Loading
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
+30.1 KB
...ripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/GameSS.PNG
Loading
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
...all2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/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
...ing/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/fullscreen.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressEmpty.Dark.png
Loading
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
...-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressEmpty.Light.png
Loading
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
...01-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressFull.Dark.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressFull.Light.png
Loading
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
...01-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressLogo.Dark.png
Loading
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
...1-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/progressLogo.Light.png
Loading
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
...pting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/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
...Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/TemplateData/webgl-logo.png
Loading
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
...-IntroToScripting/Fall2018/Project01-SpaceShooter/DMD2542-Project01-EmilyTouch/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 | Emily Touch - SpaceShooter</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-EmilyTouch.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">Emily Touch - SpaceShooter</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+3.09 MB
...42-Project01-JoshuaHirshfield/Build/DMD2542-Project01-Joshua-Hirshfield.asm.code.unityweb
Binary file not shown.
Binary file added
BIN
+87.7 KB
...oject01-JoshuaHirshfield/Build/DMD2542-Project01-Joshua-Hirshfield.asm.framework.unityweb
Binary file not shown.
Binary file added
BIN
+343 KB
...-Project01-JoshuaHirshfield/Build/DMD2542-Project01-Joshua-Hirshfield.asm.memory.unityweb
Binary file not shown.
Binary file added
BIN
+775 KB
...MD2542-Project01-JoshuaHirshfield/Build/DMD2542-Project01-Joshua-Hirshfield.data.unityweb
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
...Shooter/DMD2542-Project01-JoshuaHirshfield/Build/DMD2542-Project01-Joshua-Hirshfield.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,14 @@ | ||
{ | ||
"companyName": "University of Connecticut - School of Fine Arts - Department of Digital Media and Design", | ||
"productName": "Fall 2018 - DMD 2542 - Introduction to Scripting - Professor Ken Thompson", | ||
"dataUrl": "DMD2542-Project01-Joshua-Hirshfield.data.unityweb", | ||
"asmCodeUrl": "DMD2542-Project01-Joshua-Hirshfield.asm.code.unityweb", | ||
"asmMemoryUrl": "DMD2542-Project01-Joshua-Hirshfield.asm.memory.unityweb", | ||
"asmFrameworkUrl": "DMD2542-Project01-Joshua-Hirshfield.asm.framework.unityweb", | ||
"TOTAL_MEMORY": 268435456, | ||
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], | ||
"webglContextAttributes": {"preserveDrawingBuffer": false}, | ||
"splashScreenStyle": "Dark", | ||
"backgroundColor": "#231F20", | ||
"cacheControl": {"dataUrl": "must-revalidate"} | ||
} |
4 changes: 4 additions & 0 deletions
4
...g/Fall2018/Project01-SpaceShooter/DMD2542-Project01-JoshuaHirshfield/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.