Note: This repository is not under active development.
AnyYolk is a fun HTML5 game powered by Parse. The game uses CSS 3 animations and the highscore is submitted via facebook authentication and stored on Parse. You can check out the live version on the AnyYolk website.
- Sign up for Parse and create a new Parse Application.
- Copy paste your
Application ID
andJavaScript Key
in theParse.initialize()
function in theindex.html
file.
Parse.initialize("APPLICATION_ID", "CLIENT_KEY");
- Install the Parse command line tool using
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
- Run the
parse new cloudCode
command from the root directory to initialize the cloud code with your Parse app keys (follow the on screen instructions). - Navigate to the
/cloudCode
directory usingcd cloudCode
and run theparse deploy
command to deploy the Cloud Code.
- Create a new Facebook application and under the app's settings, under the Mobile Web header, set the Mobile Site URL to your localhost web server.
- Update the Facebook App ID in the
Parse.FacebookUtils.init
function.
Parse.FacebookUtils.init({
appId : 'FACEBOOK_APP_ID',
...
AnyYolk uses Sass and Compass to generate its CSS. You will find the main SCSS file in sass/screen.scss
. To generate the css from this file, install Compass and run the compass watch
command from the root directory.