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
Initializing client with transport "websocket" | |
node: ../src/node.cc:1210: ssize_t node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding): Assertion `b[1] == 0' failed. |
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
someSprites //your list of sprites you want to check through | |
Vector2 checkPoint = new Vector2(155,100); //the point you want to check | |
List<FSprite> overlapSprites = new List<FSprite>(); //a list of sprites that contain the point | |
foreach(FSprite sprite in someSprites) | |
{ | |
//"this" should be whatever node you're currently in, or Futile.stage | |
Vector2 localPoint = sprite.LocalToLocal(this, checkPoint); |
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
package ca.struct | |
{ | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
[SWF (width=500,height=400,backgroundColor=0x000000,frameRate=60)] | |
public class BitmapHierarchyTester extends Sprite | |
{ |
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; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
public class Thing | |
{ | |
public float a; | |
public float b; | |
public float c; | |
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
<grid rows="7" cols="7"> | |
<pieces> | |
<destination pos="0,0" sides="r" colors="p"/> | |
<splitter pos="3,0" side="b"/> | |
<station pos="6,0" side="l" colors="o"/> | |
<factory pos="0,3" sides="tb" color="r"/> | |
<rock pos="1,3"/> | |
<rock pos="2,3"/> | |
<rock pos="3,3"/> | |
<rock pos="4,3"/> |
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; | |
using System; | |
public class FNodeLink : MonoBehaviour | |
{ | |
public static float METERS_TO_POINTS = 64.0f; | |
public static float POINTS_TO_METERS = 1.0f/METERS_TO_POINTS; | |
private FNode _node; |
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
///// Example 1 - C:Valid, C#:Error, AS3:Warning ///// | |
bool isHappy = true; | |
if(true) | |
{ | |
bool isHappy = true; | |
} | |
///// Example 2 - C:Valid, C#:Error, AS3:Warning ///// |
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; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Timers; |
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; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
//USAGE: | |
//someArray.Log(); | |
//someArray.Log("a name"); | |
//someList.Log(); | |
//someList.Log("a name"); |
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; | |
using System.Collections.Generic; | |
public class AudioClipType | |
{ | |
static public List<AudioClipType> allAudioClipTypes = new List<AudioClipType>(); | |
static public AudioClipType SnakeEat = new AudioClipType("snake_eat","wav",1.0f); | |
static public AudioClipType UIPress = new AudioClipType("ui_press","wav",1.0f); | |
static public AudioClipType Explosion = new AudioClipType("explosion","wav",1.0f); |
OlderNewer