Skip to content

Instantly share code, notes, and snippets.

Avatar

Greg Borenstein atduskgreg

View GitHub Profile
View possible_classes.txt
11.252J Computer Games and Simulations for Investigation and Education http://student.mit.edu/catalog/m11b.html#11.252
CMS.809 Transmedia Storytelling: Modern Science Fiction http://student.mit.edu/catalog/mCMSa.html#CMS.809
MAS.864 The Nature of Mathematical Modeling
View gist:8498097
NSOpenGLPixelFormatAttribute attr[] =
{
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAccelerated,
NSOpenGLPFADepthSize, 24,
NSOpenGLPFAMultisample,
NSOpenGLPFASampleBuffers, 1,
NSOpenGLPFASamples, 4,
(NSOpenGLPixelFormatAttribute) 0
};
View gist:0389c6cbd6fb09180464
using UnityEngine;
using System.Collections;
public class interact_boulder : MonoBehaviour {
public GUISkin boxText;
public bool showBox;
public float GUIScreenWidth = Screen.width/2;
public float GUIScreenHeight = Screen.height/2;
public float GUIScreenToolWidth = Screen.width - 5;