Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<head>
<style>
body {
padding:0;
margin:0;
height: 100%;
}
html{
position: absolute;
<!DOCTYPE html>
<!-- //https://en.wikipedia.org/wiki/List_of_fairy_tales
-->
<head>
<style>
body {
<!DOCTYPE html>
<!-- //https://en.wikipedia.org/wiki/List_of_fairy_tales
-->
<head>
<style>
body {
padding: 0;
margin: 0;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<head>
<style>
body {
padding:0;
margin:0;
height: 100%;
}
html, #map{
position: absolute;
<!DOCTYPE html>
<head>
<style>
body {
padding:0;
margin:0;
height: 100%;
}
html, #map{
position: absolute;
//reference: https://www.youtube.com/watch?v=7dCtacifmU8
using UnityEngine;
using System.Collections;
public class Pause : MonoBehaviour {
public bool paused;
// Use this for initialization
void Start () {
public class Racket : MonoBehaviour {
public float speed = 30;
public string axis = "Vertical";
//public string axis2 = "Horizontal";
private Rigidbody2D rb;
// Use this for initialization
void Start () {
// means we only look up rigidbody once
// Reference: http://pixelnest.io/tutorials/2d-game-unity/menus/
using UnityEngine;
using System.Collections;
public class start : MonoBehaviour {
// Use this for initialization
void OnGUI () {
const int buttonWidth = 200;
const int buttonHeight = 60;
<!-- Link for map ids: https://www.mapbox.com/developers/api/maps/#mapids -->
<!-- Link for inspiration: https://www.mapbox.com/gallery/# -->
<!-- Dunkin Donuts Data from: http://www.poi-factory.com/node/5193 -->
<!-- http://www.tutorialspoint.com/html/html_images.htm -->
<!DOCTYPE html>
<html lang="en">
<head>
<style type="text/css">