forked from keb13015/GameDev
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 Final assignments
- Loading branch information
Showing
272 changed files
with
1,268 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...-IntroToScripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+1.84 MB
...2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/Build/ampiaw-lopuszanski.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...cripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/Build/ampiaw-lopuszanski.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": "DMD 2542 - Introduction to Scripting - Professor Ken Thompson ", | ||
"dataUrl": "ampiaw-lopuszanski.data.unityweb", | ||
"wasmCodeUrl": "ampiaw-lopuszanski.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "ampiaw-lopuszanski.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
+5.2 MB
...all/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/Build/ampiaw-lopuszanski.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+92.8 KB
...rocGen/DMD2542-ProcGen-AmpiawLopuszanski/Build/ampiaw-lopuszanski.wasm.framework.unityweb
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
...cripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...roToScripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
.../2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...l/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
.../ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...ll/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...l/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...ll/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...l/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
...ntroToScripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
.../2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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
DMD2542-IntroToScripting/2018Fall/ProcGen/DMD2542-ProcGen-AmpiawLopuszanski/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 | DMD 2542 - 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/ampiaw-lopuszanski.json", {onProgress: UnityProgress}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 1280px; height: 720px"></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">DMD 2542 - Introduction to Scripting - Professor Ken Thompson </div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
4 changes: 4 additions & 0 deletions
4
...g/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AlexWilliams/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+7.83 MB
...Sidescroller-Final/DMD2542-SidescrollerFinal-AlexWilliams/Build/Version 1.0.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AlexWilliams/Build/Version 1.0.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: DMD 2542 - Introduction to Scripting - Professor Ken Thompson", | ||
"productName": "Roody", | ||
"dataUrl": "Version 1.0.data.unityweb", | ||
"wasmCodeUrl": "Version 1.0.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "Version 1.0.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.65 MB
...croller-Final/DMD2542-SidescrollerFinal-AlexWilliams/Build/Version 1.0.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.6 KB
...er-Final/DMD2542-SidescrollerFinal-AlexWilliams/Build/Version 1.0.wasm.framework.unityweb
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
...l/Sidescroller-Final/DMD2542-SidescrollerFinal-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
...18Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AlexWilliams/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...roller-Final/DMD2542-SidescrollerFinal-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
...inal/DMD2542-SidescrollerFinal-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
...nal/DMD2542-SidescrollerFinal-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
...Final/DMD2542-SidescrollerFinal-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
...inal/DMD2542-SidescrollerFinal-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
...Final/DMD2542-SidescrollerFinal-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
...inal/DMD2542-SidescrollerFinal-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
...2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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
...roller-Final/DMD2542-SidescrollerFinal-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.
25 changes: 25 additions & 0 deletions
25
...ToScripting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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 | Roody</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.0.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">Roody</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+101 KB
...018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AlexWilliams/thumbnail.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
+6 KB
...ntroToScripting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AriffJeff/.DS_Store
Binary file not shown.
Binary file added
BIN
+8.74 MB
...D2542-SidescrollerFinal-AriffJeff/Build/DMD2542-SideScrollerFinal-AriffJeff.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...-Final/DMD2542-SidescrollerFinal-AriffJeff/Build/DMD2542-SideScrollerFinal-AriffJeff.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. DMD 2542 - Introduction to Scripting - Professor Ken Thompson", | ||
"productName": "Nubble Runner by Ariff Jeff", | ||
"dataUrl": "DMD2542-SideScrollerFinal-AriffJeff.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-SideScrollerFinal-AriffJeff.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-SideScrollerFinal-AriffJeff.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
+4.7 MB
...-SidescrollerFinal-AriffJeff/Build/DMD2542-SideScrollerFinal-AriffJeff.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+90.7 KB
...scrollerFinal-AriffJeff/Build/DMD2542-SideScrollerFinal-AriffJeff.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AriffJeff/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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
.../2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AriffJeff/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...escroller-Final/DMD2542-SidescrollerFinal-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
...r-Final/DMD2542-SidescrollerFinal-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
...-Final/DMD2542-SidescrollerFinal-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
...er-Final/DMD2542-SidescrollerFinal-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
...r-Final/DMD2542-SidescrollerFinal-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
...er-Final/DMD2542-SidescrollerFinal-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
...r-Final/DMD2542-SidescrollerFinal-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
...ng/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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
...escroller-Final/DMD2542-SidescrollerFinal-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.
25 changes: 25 additions & 0 deletions
25
...troToScripting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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 | Nubble Runner 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-SideScrollerFinal-AriffJeff.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">Nubble Runner by Ariff Jeff</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+326 KB
...g/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-AriffJeff/thumbnail.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
+3.85 MB
...542-SidescrollerFinal-DevinQuinn/Build/DMD2542-SidescrollerFinal-DevinQuinn.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...inal/DMD2542-SidescrollerFinal-DevinQuinn/Build/DMD2542-SidescrollerFinal-DevinQuinn.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 - DMD2542 - Intro to Game Scripting - Professor Kenneth Thompson", | ||
"productName": "Sidescroller Final - Snake Eyes - Devin Quinn", | ||
"dataUrl": "DMD2542-SidescrollerFinal-DevinQuinn.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-SidescrollerFinal-DevinQuinn.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-SidescrollerFinal-DevinQuinn.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
+4.56 MB
...idescrollerFinal-DevinQuinn/Build/DMD2542-SidescrollerFinal-DevinQuinn.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+89.1 KB
...rollerFinal-DevinQuinn/Build/DMD2542-SidescrollerFinal-DevinQuinn.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ing/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-DevinQuinn/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...all/Sidescroller-Final/DMD2542-SidescrollerFinal-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
...2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-DevinQuinn/TemplateData/favicon.ico
Binary file not shown.
Binary file added
BIN
+345 Bytes
...scroller-Final/DMD2542-SidescrollerFinal-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
...-Final/DMD2542-SidescrollerFinal-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
...Final/DMD2542-SidescrollerFinal-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
...r-Final/DMD2542-SidescrollerFinal-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
...-Final/DMD2542-SidescrollerFinal-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
...r-Final/DMD2542-SidescrollerFinal-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
...-Final/DMD2542-SidescrollerFinal-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
...g/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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
...scroller-Final/DMD2542-SidescrollerFinal-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
...roToScripting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-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 | Sidescroller Final - Snake Eyes - 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-SidescrollerFinal-DevinQuinn.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">Sidescroller Final - Snake Eyes - Devin Quinn</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+6 KB
...roToScripting/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-DonnaFaryna/.DS_Store
Binary file not shown.
Binary file added
BIN
+11.9 MB
...2-SidescrollerFinal-DonnaFaryna/Build/DMD2542-SidescrollerFinal-DonnaFaryna.data.unityweb
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...al/DMD2542-SidescrollerFinal-DonnaFaryna/Build/DMD2542-SidescrollerFinal-DonnaFaryna.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": "Project04-Final-DonnaFaryna", | ||
"dataUrl": "DMD2542-SidescrollerFinal-DonnaFaryna.data.unityweb", | ||
"wasmCodeUrl": "DMD2542-SidescrollerFinal-DonnaFaryna.wasm.code.unityweb", | ||
"wasmFrameworkUrl": "DMD2542-SidescrollerFinal-DonnaFaryna.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.96 MB
...escrollerFinal-DonnaFaryna/Build/DMD2542-SidescrollerFinal-DonnaFaryna.wasm.code.unityweb
Binary file not shown.
Binary file added
BIN
+88.9 KB
...llerFinal-DonnaFaryna/Build/DMD2542-SidescrollerFinal-DonnaFaryna.wasm.framework.unityweb
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ng/2018Fall/Sidescroller-Final/DMD2542-SidescrollerFinal-DonnaFaryna/Build/UnityLoader.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.