This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TriggerCounterTeleport : MonoBehaviour | |
{ | |
public Transform[] requiredAreasToVisit; | |
public bool[] requiredAreasVisited; | |
public Transform teleportPositionMarker; | |
public Transform thingToTeleport; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><strong> <img src="https://bbhosted.cuny.edu/bbcswebdav/pid-50136002-dt-content-rid-393874696_1/xid-393874696_1" width="381" height="286" alt="Simpsons Ralph Waving" style="display: block; margin-left: auto; margin-right: auto;" /> </strong></p> | |
<p><span style="background-color: #ffff00;"><span style="background-color: #ffff00;"><strong><a href="https://docs.google.com/document/d/1L04okO07IQhSsQ-Grvo31oP-VpiRiyIOPLf21PVlF78/edit?usp=sharing" target="_top">Syllabus with Course Overview</a> </strong></span></span></p> | |
<p><strong style="font-size: 13px;">How to Begin the Course on Day 0 (5 steps)</strong></p> | |
<p>Please read carefully through these instructions to begin the course. All course content is hosted entirely via Ryver, which is a team communication platform similar to Slack and Discord. There are desktop and mobile applications which I recommend downloading, but it will also work in your web browser. <strong>It's imperative that you get set up in Ryver before the semester begins so as to not fall be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background yes | |
use_xft yes | |
xftfont HandelGotD:size=8 | |
xftalpha 0.5 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Basic3D : MonoBehaviour { | |
public GameObject mover; | |
public Vector3 movementAmount; | |
// Use this for initialization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float xPos, yPos, xSpeed, ySpeed, gravity; | |
int size; | |
PImage west = new PImage(); | |
PImage drake = new PImage(); | |
void setup(){ | |
size(1280,720); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import megamu.mesh.*; | |
int numPoints = 20; | |
float[][] points = new float[numPoints][2]; | |
PVector[] vPoints = new PVector[numPoints]; | |
float[] xSpeed = new float[numPoints]; | |
float[] ySpeed = new float[numPoints]; | |
Voronoi myVoronoi; | |
Delaunay myDelaunay; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class BasicControl : MonoBehaviour { | |
Animator myAnim; | |
int current; | |
// Use this for initialization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int howMany = 100; | |
//set up new arrays(lists) of on/off state, x and y positions. use howMany to set up the right number of positions | |
int[] ellipseX = new int[howMany]; //array(list) of x positions | |
int[] ellipseY = new int[howMany]; //array of y positions | |
int[] ellipseSize = new int[howMany]; //array of diameters | |
int[] xSpeed = new int[howMany]; //array of xSpeeds | |
boolean[] on = new boolean[howMany]; //array of on/off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class ScreenShake : MonoBehaviour { | |
//generic shake script | |
// Use this for initialization | |
void Start () { | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TimedAction : MonoBehaviour { | |
//initial goTime means that's when it will start happening | |
public float goTime = 30; | |
//interval is how frequently it will run after that | |
public float interval = 3; |
NewerOlder