Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/app-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/game/css/arcadeframe.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.svg-icon {
position:relative;
bottom: -10px;
Expand Down
10 changes: 8 additions & 2 deletions assets/game/js/gameframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
14 changes: 12 additions & 2 deletions assets/pages/about.md
Original file line number Diff line number Diff line change
@@ -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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm haven't tested, but you might have to make these links [text](link)

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)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion assets/the.stache.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{

document.documentElement.style.margin = "0";
document.documentElement.style.height = "100%";
document.documentElement.style.overflow = "hidden";
Expand All @@ -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 <li> node
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean up comments + make DIV -> div

node.id = "container"; // Append the text to <li>
document.body.appendChild(node); // Append <li> to <ul> with id="myList"

document.querySelector("#container").innerHTML = window.atob(`{{{html}}}`);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would set innerHTML prior to appending to page

const CODE = window.atob(`{{{code}}}`);
const META = (function() {
let image_lookup = JSON.parse(window.atob(`{{{images}}}`));
Expand Down
7 changes: 3 additions & 4 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/home/dylan/src/flutter"
export "FLUTTER_APPLICATION_PATH=/home/dylan/src/arcadeframe"
export "FLUTTER_ROOT=/Users/khalidsalah/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/khalidsalah/IgniteCS/arcadeFrame"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
export "FLUTTER_FRAMEWORK_DIR=/home/dylan/src/flutter/bin/cache/artifacts/engine/ios"
export "FLUTTER_FRAMEWORK_DIR=/Users/khalidsalah/flutter/bin/cache/artifacts/engine/ios-release"
export "FLUTTER_BUILD_NAME=1.0.2"
export "FLUTTER_BUILD_NUMBER=3"
4 changes: 3 additions & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '10.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -37,6 +37,7 @@ target 'Runner' do
# referring to absolute paths on developers' machines.
system('rm -rf .symlinks')
system('mkdir -p .symlinks/plugins')
use_frameworks!

# Flutter Pods
generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
Expand Down Expand Up @@ -64,6 +65,7 @@ post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
64 changes: 41 additions & 23 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
PODS:
- auto_orientation (0.0.1):
- Flutter
- Firebase/Analytics (6.15.0):
- Firebase/Core
- Firebase/Core (6.15.0):
Expand All @@ -15,6 +13,8 @@ PODS:
- firebase_core (0.0.1):
- Firebase/Core
- Flutter
- firebase_core_web (0.1.0):
- Flutter
- FirebaseAnalytics (6.2.1):
- FirebaseCore (~> 6.6)
- FirebaseInstanceID (~> 4.3)
Expand Down Expand Up @@ -46,11 +46,11 @@ PODS:
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/UserDefaults (~> 6.5)
- Flutter (1.0.0)
- flutter_webview_plugin (0.0.1):
- Flutter
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- games_services (0.0.1):
- Flutter
- GoogleAppMeasurement (6.2.1):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
Expand Down Expand Up @@ -84,29 +84,38 @@ PODS:
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
- native_device_orientation (0.0.1):
- Flutter
- path_provider (0.0.1):
- Flutter
- PromisesObjC (1.2.8)
- share (0.0.1):
- Flutter
- sqflite (0.0.1):
- Flutter
- FMDB (~> 2.7.2)
- uni_links (0.0.1):
- Flutter
- url_launcher (0.0.1):
- Flutter
- url_launcher_macos (0.0.1):
- Flutter
- url_launcher_web (0.0.1):
- Flutter
- webview_flutter (0.0.1):
- Flutter

DEPENDENCIES:
- auto_orientation (from `.symlinks/plugins/auto_orientation/ios`)
- firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_webview_plugin (from `.symlinks/plugins/flutter_webview_plugin/ios`)
- native_device_orientation (from `.symlinks/plugins/native_device_orientation/ios`)
- firebase_core_web (from `.symlinks/plugins/firebase_core_web/ios`)
- Flutter (from `.symlinks/flutter/ios-release`)
- games_services (from `.symlinks/plugins/games_services/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)
- share (from `.symlinks/plugins/share/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- uni_links (from `.symlinks/plugins/uni_links/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- url_launcher_macos (from `.symlinks/plugins/url_launcher_macos/ios`)
- url_launcher_web (from `.symlinks/plugins/url_launcher_web/ios`)
- webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)

SPEC REPOS:
Expand All @@ -127,53 +136,62 @@ SPEC REPOS:
- PromisesObjC

EXTERNAL SOURCES:
auto_orientation:
:path: ".symlinks/plugins/auto_orientation/ios"
firebase_analytics:
:path: ".symlinks/plugins/firebase_analytics/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_core_web:
:path: ".symlinks/plugins/firebase_core_web/ios"
Flutter:
:path: ".symlinks/flutter/ios"
flutter_webview_plugin:
:path: ".symlinks/plugins/flutter_webview_plugin/ios"
native_device_orientation:
:path: ".symlinks/plugins/native_device_orientation/ios"
:path: ".symlinks/flutter/ios-release"
games_services:
:path: ".symlinks/plugins/games_services/ios"
path_provider:
:path: ".symlinks/plugins/path_provider/ios"
share:
:path: ".symlinks/plugins/share/ios"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
uni_links:
:path: ".symlinks/plugins/uni_links/ios"
url_launcher:
:path: ".symlinks/plugins/url_launcher/ios"
url_launcher_macos:
:path: ".symlinks/plugins/url_launcher_macos/ios"
url_launcher_web:
:path: ".symlinks/plugins/url_launcher_web/ios"
webview_flutter:
:path: ".symlinks/plugins/webview_flutter/ios"

SPEC CHECKSUMS:
auto_orientation: 2941c44ebe5c3d41016001597ab03e81a92a26ce
Firebase: 5d77105d9740a07ca6b16927ca971db7e860faaf
firebase_analytics: d83001d25b9a58ca5eda8db0ef566c02d7af5258
firebase_core: ae55ea92448ec8675d325da4db22cf3b4d58a54d
firebase_analytics: dacdcfc524d722fff13dcff942f0dfa47e6be567
firebase_core: 0d8be0e0d14c4902953aeb5ac5d7316d1fe4b978
firebase_core_web: d501d8b946b60c8af265428ce483b0fff5ad52d1
FirebaseAnalytics: e83e64b1231dedcd9ddd4bdecd9bcfd6ba341679
FirebaseCore: 4aeb81ff53dcd9a3634ca725dc1fb8c2a4622046
FirebaseCoreDiagnostics: 5e78803ab276bc5b50340e3c539c06c3de35c649
FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850
FirebaseInstallations: 575cd32f2aec0feeb0e44f5d0110a09e5e60b47b
FirebaseInstanceID: 6668efc1655a4052c083f287a7141f1ead12f9c2
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
flutter_webview_plugin: ed9e8a6a96baf0c867e90e1bce2673913eeac694
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
games_services: 3b31bee07acbbd3c844c619f90026e9f815bf139
GoogleAppMeasurement: a08a43b8677b95ed51fcef880e36737334d804fd
GoogleDataTransport: 574a983e829327d7c18f2627f65d9e80164ea8a4
GoogleDataTransportCCTSupport: cad3cd6cdbdbad6b5c2c9206ec413402755faaaa
GoogleUtilities: f8de7ddf8c706f58e9b405d53e38bbdaa2731e5a
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
native_device_orientation: e24d00be281de72996640885d80e706142707660
path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
PromisesObjC: c119f3cd559f50b7ae681fa59dc1acd19173b7e6
share: 0b2c3e82132f5888bccca3351c504d0003b3b410
sqflite: ff1d9da63c06588cc8d1faf7256d741f16989d5a
uni_links: d97da20c7701486ba192624d99bffaaffcfc298a
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
url_launcher_macos: fd7894421cd39320dce5f292fc99ea9270b2a313
url_launcher_web: e5527357f037c87560776e36436bf2b0288b965c
webview_flutter: 1aa7604e6cdb451a9b7ed2c37d5454c0b440246b

PODFILE CHECKSUM: aff02bfeed411c636180d6812254b2daeea14d09
PODFILE CHECKSUM: cb39ef15e348177453c7f7eb4f439a7f5e400392

COCOAPODS: 1.8.4
Loading