iTween 2.0 coming soon!


iTween is still in progress but here’s a very short teaser on what to expect: Watch it here.

Hex Color Picker


Makes Coda a ton easier. Why doesn’t OSX have this by default?
Hex Color Picker

Custom Post Types in WordPress


Hot damn! Check it out.

Root Motion Computer for Unity

Totally awesome tool for Unity: The Root Motion Computer

Best game developed in Unity to date: Cordy


Fantastic work.

Hash help for Unity

Always forget how to iterate “properly” through a hash in Unity… so:

function Awake () {
	for (var child : Transform in transform) {
    	Global.footPlacements.Add(child.name,child);
	}
	for (var d : DictionaryEntry in Global.footPlacements){
	print(d.Key + " " + d.Value);
	}
}

I hate that we need to cast the hash objects as a non-recognizable type in UnityScript. Oh well.

Parsing YouTube’s JSON data in Flash

To save other people from this headache:

import com.adobe.serialization.json.JSON;

var loader :URLLoader = new URLLoader();

var vid : String = "qE5hpp4YaH4";
loader.load(new URLRequest("http://gdata.youtube.com/feeds/api/videos/" + vid + "?v=2&alt=json-in-script&callback=remove"))

loader.addEventListener(Event.COMPLETE, onLoaded)

function onLoaded(e:Event):void{
	var youTubeDataString : String = e.target.data
	youTubeDataString=youTubeDataString.split("remove(").join("");
	youTubeDataString=youTubeDataString.split(");").join("");
	var youTubeDataObject : Object =JSON.decode(youTubeDataString)
	trace("Title: " + youTubeDataObject.entry.title.$t)
	var thumbnails : Object = youTubeDataObject.entry.media$group.media$thumbnail;
	trace("Thumbnail: " + youTubeDataObject.entry.media$group.media$thumbnail[thumbnails.length-1].url)
	trace("Description: " + youTubeDataObject.entry.media$group.media$description.$t)
}

The thumbnail section of this code grabs the HQ version which is 480×360 and is the last entry in the response JSON’s media$thumbnail area.

Good info: http://911-need-code-help.blogspot.com/2010/01/retrieve-youtube-video-title.html

iTween is going strong!

iTween is getting a ton of coverage and usage since its release. We now have a C# version and it’s documentation should be available when either Pat or I get some time.

Thanks for all of the support everyone! Let me know if you have any issues!

iTween for Unity3D is ready!


Still working on the documentation and getting a list together of additions I’d like to put in. But this version is more than capable and ready to rock.
Grab it at it’s new home: http://www.pixelplacement.com/iTween

I hate CSS… 960 makes me hate it a lot less.


Fantastic framework for CSS work. Grab it here.

Next Page »