diff --git a/assets/app-icon.png b/assets/app-icon.png new file mode 100644 index 0000000..bd31f30 Binary files /dev/null and b/assets/app-icon.png differ diff --git a/assets/game/css/arcadeframe.css b/assets/game/css/arcadeframe.css index 5b6fb3e..7b70945 100644 --- a/assets/game/css/arcadeframe.css +++ b/assets/game/css/arcadeframe.css @@ -1,3 +1,4 @@ + .svg-icon { position:relative; bottom: -10px; diff --git a/assets/game/js/gameframe.js b/assets/game/js/gameframe.js index 2964a08..a8010d2 100644 --- a/assets/game/js/gameframe.js +++ b/assets/game/js/gameframe.js @@ -174,12 +174,18 @@ var GameFrame; // So we need to calculate the proper scaled width // that should work well with every resolution - let ratio = canvas.width / canvas.height; + let ratio = canvas.width / canvas.height ; let width = height * ratio; + if (width > window.innerWidth) { + width = window.innerWidth; + height = width / ratio; + } + canvas.style.width = width + 'px'; canvas.style.height = height + 'px'; - canvas.style.left = ((window.innerWidth - width) / 2) + "px" + canvas.style.left = ((window.innerWidth - width) / 2) + "px"; + canvas.style.top = ((window.innerHeight - height) /2) + "px"; // if boundaries and running, update the boundaries if (started && GameFrame.prototype.boundaries) { diff --git a/assets/pages/about.md b/assets/pages/about.md index d9e748a..a5a051e 100644 --- a/assets/pages/about.md +++ b/assets/pages/about.md @@ -1,7 +1,17 @@ # CarolinaIgnites -[CarolinaIgnites](https://www.carolinaignites.org) started as a group at the University of South Carolina, after receive Google's IgniteCS funding for 2017. Every year then, CarolinaIgnites has put on workshops aimed at high-school students or those trying to learn computer science. This app is a way of showcasing and playing the games you've made using our [editor](https://editor.carolinaignites.org). This app is **not** meant as a distribution or publishing platform, but just a way to play a few fun games. +[CarolinaIgnites](https://www.carolinaignites.org) started as a group at the University of South Carolina, after receiving Google's IgniteCS funding for 2017. Every year then, CarolinaIgnites has put on workshops aimed at high-school students or those trying to learn computer science. This app is a way of showcasing and playing the games you've made using our [editor](https://editor.carolinaignites.org). This app is **not** meant as a distribution or publishing platform, but just a way to play a few fun games. + +Try out some of the more popular games, our scan the QR code on the editor to try your own. Favorited games will be saved to your device for offline usage. + + +Check out the [CarolinaIgnites coding editor ](https://editor.carolinaignites.org) to create and player your own games. + +For more information and documentation: +- https://github.com/CarolinaIgnites/gameFrame +- https://carolinaignites.org + + -Try out some of the more popular games, our scan the QR code on the editor to try your own. Favourited games will be saved to your device for offline usage. Don't be shy! Email us, [hello@carolinaignites.org](mailto:hello@carolinaignites.org) diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.44.56.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.44.56.png new file mode 100644 index 0000000..bfb016d Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.44.56.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.45.06.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.45.06.png new file mode 100644 index 0000000..eb386a1 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.45.06.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.48.23.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.48.23.png new file mode 100644 index 0000000..3c79f4a Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.48.23.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.48.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.48.png new file mode 100644 index 0000000..fa75d31 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.48.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.58.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.58.png new file mode 100644 index 0000000..2c2b051 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.52.58.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.51.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.51.png new file mode 100644 index 0000000..2ce0d69 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.51.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.55.png b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.55.png new file mode 100644 index 0000000..1c12bf2 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-05-25 at 15.53.55.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 19.40.42.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 19.40.42.png new file mode 100644 index 0000000..9b2f7b1 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 19.40.42.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.02.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.02.png new file mode 100644 index 0000000..c687f2c Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.02.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.24.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.24.png new file mode 100644 index 0000000..c2114a6 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.01.24.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.04.33.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.04.33.png new file mode 100644 index 0000000..62910a0 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.04.33.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.05.09.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.05.09.png new file mode 100644 index 0000000..f22df9a Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.05.09.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.04.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.04.png new file mode 100644 index 0000000..8a47e6b Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.04.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.09.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.09.png new file mode 100644 index 0000000..a9e51f4 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.32.09.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.33.23.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.33.23.png new file mode 100644 index 0000000..8e65e4a Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 20.33.23.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 21.33.55.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 21.33.55.png new file mode 100644 index 0000000..20cacd4 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-18 at 21.33.55.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-25 at 16.04.21.png b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-25 at 16.04.21.png new file mode 100644 index 0000000..8f9dd2e Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 11 Pro Max - 2020-05-25 at 16.04.21.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-22 at 20.29.55.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-22 at 20.29.55.png new file mode 100644 index 0000000..46a3bd2 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-22 at 20.29.55.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.03.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.03.png new file mode 100644 index 0000000..c3ad36b Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.03.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.12.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.12.png new file mode 100644 index 0000000..b3f4960 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.12.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.20.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.20.png new file mode 100644 index 0000000..faa6185 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.06.20.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.01.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.01.png new file mode 100644 index 0000000..cc2559e Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.01.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.04.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.04.png new file mode 100644 index 0000000..9b6f08f Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - 2020-05-25 at 16.07.04.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - AboutUs.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - AboutUs.png new file mode 100644 index 0000000..0949748 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - AboutUs.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - GamePlayScreen.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - GamePlayScreen.png new file mode 100644 index 0000000..35e43a6 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - GamePlayScreen.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - Homescreen.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - Homescreen.png new file mode 100644 index 0000000..a32a41d Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus - Homescreen.png differ diff --git a/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus -PlayGameScreen.png b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus -PlayGameScreen.png new file mode 100644 index 0000000..5bc54a9 Binary files /dev/null and b/assets/screenshots/Simulator Screen Shot - iPhone 8 Plus -PlayGameScreen.png differ diff --git a/assets/the.stache.js b/assets/the.stache.js index 38cff60..ebcb907 100644 --- a/assets/the.stache.js +++ b/assets/the.stache.js @@ -1,4 +1,5 @@ { + document.documentElement.style.margin = "0"; document.documentElement.style.height = "100%"; document.documentElement.style.overflow = "hidden"; @@ -10,8 +11,11 @@ document.body.style.position = "fixed"; document.body.style.backgroundColor = "black"; - document.querySelector("#container").innerHTML = window.atob(`{{{html}}}`); + var node = document.createElement("DIV"); // Create a
  • node + node.id = "container"; // Append the text to
  • + document.body.appendChild(node); // Append
  • to