<?xml version="1.0" encoding="UTF-8"?> 
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel> 
	<title>Glitch Developer Blog</title> 
	<atom:link href="http://developer.glitch.com/blog/feed/" rel="self" type="application/rss+xml" /> 
	<link>http://developer.glitch.com/blog/</link> 
	<description>Making stuff for Glitch.</description> 
	<lastBuildDate>Thu, 20 Jun 2013 05:36:26 +0000</lastBuildDate> 
	<language>en</language> 
	<sy:updatePeriod>hourly</sy:updatePeriod> 
	<sy:updateFrequency>1</sy:updateFrequency> 
	<generator>http://glitch.com/</generator> 
	<image> 
		<url>http://developer.glitch.com/img/public/logo.png</url> 
		<title>Glitch Developer Blog</title> 
		<link>http://developer.glitch.com/blog/</link> 
	</image> 
	<item> 
		<title>Building Glitch Run in iOS</title> 
		<link>http://www.glitch.com/blog/2011/11/22/building-glitch-run-in-ios/</link> 
		<pubDate>Wed, 23 Nov 2011 00:55:59 +0000</pubDate> 
		<dc:creator></dc:creator>
		<guid isPermaLink="false">/blog/2011/11/22/building-glitch-run-in-ios/</guid>
		<description>&lt;p&gt;Glitch Run In previous blog posts, we’ve seen how to perform authentication with Glitch in iOS and how to animate Glitch Avatars. With just those two things under our belt, we can starting doing some really interesting things &amp;#8211; and what better place to start than building a game. In this post, we’ll see how we can take a basic [...]&lt;/p&gt;
</description>
		<content:encoded>&lt;p&gt;&lt;strong&gt;Glitch Run&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In previous blog posts, we’ve seen how to perform authentication with Glitch in iOS and how to animate Glitch Avatars. With just those two things under our belt, we can starting doing some really interesting things &amp;#8211; and what better place to start than building a game. In this post, we’ll see how we can take a basic game concept, turn it into a working app, and then imbue it with a little Glitch magic to give it that little extra something.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Concept&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The first step in building a game &amp;#8211; and, it must be said, one of the trickier parts &amp;#8211; is coming up with a great idea. No doubt you’ve got many great ideas of your own, but to keep this post to a manageable size, we’re going to keep things pretty simple. You’ve probably seen a number of games along the lines of Canabalt or the The Impossible Game, where you play a character running through a world populated by obstacles that you have to jump over. Controls are minimal &amp;#8211; in fact there’s only one action to remember &amp;#8211; you tap on the screen to jump. The gameplay is very simple, and is a perfect choice for our example app.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/2011/11/22/building-glitch-run-in-ios/&quot; class=&quot;more-link&quot;&gt;Read More&amp;hellip;&lt;/a&gt;&lt;/p&gt;
</content:encoded>
	</item> 
	<item> 
		<title>Avatar Animations in iOS</title> 
		<link>http://www.glitch.com/blog/2011/11/10/avatar-animations-in-ios/</link> 
		<pubDate>Thu, 10 Nov 2011 22:20:33 +0000</pubDate> 
		<dc:creator></dc:creator>
		<guid isPermaLink="false">/blog/2011/11/10/avatar-animations-in-ios/</guid>
		<description>&lt;p&gt;If you take a brief look at the Glitch API, you’ll see that it’s very easy to get a PNG image of your player’s avatar. The URL to the image is returned by a call to players.info, and if you want different sized versions, you can find those within players.fullInfo. players.info: &amp;#8220;avatar_url&amp;#8221; : &amp;#8220;http:\/\/c2.glitch.bz\/avatars\/2011-10-09\/519a4838c399f998f3a425e8ae7ccea4_1318173267_172.png&amp;#8221; players.fullInfo: &amp;#8220;avatar&amp;#8221; : { &amp;#8220;172&amp;#8243; : [...]&lt;/p&gt;
</description>
		<content:encoded>&lt;p&gt;If you take a brief look at the Glitch API, you’ll see that it’s very easy to get a PNG image of your player’s avatar. The URL to the image is returned by a call to players.info, and if you want different sized versions, you can find those within players.fullInfo.&lt;/p&gt;
&lt;p&gt;players.info:&lt;/p&gt;
&lt;pre&gt;&quot;avatar_url&quot; : &quot;http:\/\/c2.glitch.bz\/avatars\/2011-10-09\/519a4838c399f998f3a425e8ae7ccea4_1318173267_172.png&quot;&lt;/pre&gt;
&lt;p&gt;players.fullInfo:&lt;/p&gt;
&lt;pre&gt;&quot;avatar&quot; : {
&quot;172&quot; : &quot;http:\/\/c2.glitch.bz\/avatars\/2011-10-09\/519a4838c399f998f3a425e8ae7ccea4_1318173267_172.png&quot;,
&quot;100&quot; : &quot;http:\/\/c2.glitch.bz\/avatars\/2011-10-09\/519a4838c399f998f3a425e8ae7ccea4_1318173267_100.png&quot;,
&quot;50&quot; : &quot;http:\/\/c2.glitch.bz\/avatars\/2011-10-09\/519a4838c399f998f3a425e8ae7ccea4_1318173267_50.png&quot;
}&lt;/pre&gt;
&lt;p&gt;Static images are nice, but what you’re after is a fully animated character, just like in Glitch. One that walks and runs, climbs and jumps; one that falls asleep; one that looks bored and scratches his butt from time to time. All of that is possible with players.getAnimations. The iOS SDK makes the call to players.getAnimations a piece of cake. In this article we’ll take a closer look at just how we do that and make some sense out of the response.&lt;br /&gt;
Animating your avatar works just like watching a film at the cinema &amp;#8211; static images are shown in rapid succession, giving the illusion of movement. With Glitch avatars, these images are designed to be shown at thirty images per second and they’re bundled together into a set of spritesheets. A typical spritesheet consists of a set of individual frames from an animation, all stitched together into one big image &amp;#8211; something like this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/2011/11/10/avatar-animations-in-ios/&quot; class=&quot;more-link&quot;&gt;Read More&amp;hellip;&lt;/a&gt;&lt;/p&gt;
</content:encoded>
	</item> 
	<item> 
		<title>Getting Started with the Glitch AS3 SDK</title> 
		<link>http://www.glitch.com/blog/2011/11/07/getting-started-with-the-glitch-as3-sdk/</link> 
		<pubDate>Mon, 7 Nov 2011 19:34:22 +0000</pubDate> 
		<dc:creator>Kristel Ottis</dc:creator>
		<guid isPermaLink="false">/blog/2011/11/07/getting-started-with-the-glitch-as3-sdk/</guid>
		<description>&lt;p&gt;Note: Guest author Bradley Adams is the creator of the Glitch AS3 SDK. It&amp;#8217;s easy to start interacting with the Glitch API in your Flash + AS3 apps. To start, you&amp;#8217;ll need to understand Glitch authentication. Using Glitch&amp;#8217;s authentication system, you will need to get an access token (using the proper scope) for the user currently using your app. This access [...]&lt;/p&gt;
</description>
		<content:encoded>&lt;p&gt;&lt;em&gt;Note: Guest author &lt;a href=&quot;http://www.glitch.com/profiles/PUV99QHSN8D2ERD/&quot;&gt;Bradley Adams&lt;/a&gt; is the creator of the Glitch AS3 SDK.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s easy to start interacting with the Glitch API in your Flash + AS3 apps.&lt;/p&gt;
&lt;p&gt;To start, you&amp;#8217;ll need to understand &lt;a href=&quot;http://developer.glitch.com/docs/auth&quot;&gt;Glitch authentication&lt;/a&gt;. Using Glitch&amp;#8217;s authentication system, you will need to get an access token (using the &lt;a href=&quot;http://developer.glitch.com/docs/scopes/&quot;&gt;proper scope&lt;/a&gt;) for the user currently using your app. This access token is passed into your app through FlashVars or through other means &amp;#8211; possibly an ExternalInterface callback, but this is up to you.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/2011/11/07/getting-started-with-the-glitch-as3-sdk/&quot; class=&quot;more-link&quot;&gt;Read More&amp;hellip;&lt;/a&gt;&lt;/p&gt;
</content:encoded>
	</item> 
	<item> 
		<title>Glitch Run Port to XNA: Part 2</title> 
		<link>http://www.glitch.com/blog/2011/10/31/glitch-run-port-to-xna-part-2/</link> 
		<pubDate>Mon, 31 Oct 2011 21:57:27 +0000</pubDate> 
		<dc:creator>Justin Prostebby</dc:creator>
		<guid isPermaLink="false">/blog/2011/10/31/glitch-run-port-to-xna-part-2/</guid>
		<description>&lt;p&gt;Part 2 &amp;#8211; Working in XNA We covered how to call the API in the last tutorial, but we stopped at the point of actually doing something with the response.  In this post, I’ll show how to use that data to load and display an animated Glitch avatar. For your viewing pleasure, here are some common datatypes and classes in [...]&lt;/p&gt;
</description>
		<content:encoded>&lt;div&gt;
&lt;p&gt;Part 2 &amp;#8211; Working in XNA&lt;/p&gt;
&lt;p&gt;We covered how to call the API in the last tutorial, but we stopped at the point of actually doing something with the response.  In this post, I’ll show how to use that data to load and display an animated Glitch avatar.&lt;/p&gt;
&lt;p&gt;For your viewing pleasure, here are some common datatypes and classes in XNA:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.vector2.aspx&quot;&gt;Vector2 Structure&lt;/a&gt; &amp;#8211; 2d location&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.rectangle.aspx&quot;&gt;Rectangle Structure&lt;/a&gt; &amp;#8211; 2d rectangle&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.spritebatch.aspx&quot;&gt;SpriteBatch Class&lt;/a&gt; &amp;#8211; used to draw textures and text to the screen&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.texture2d.aspx&quot;&gt;Texture2D Class&lt;/a&gt; &amp;#8211; holds Texture(image) info.&lt;/p&gt;
&lt;p&gt;At the end of the previous tutorial, I grabbed the animation data from the API, but had not utilized it. I handed it to a function called On_AnimationDataLoaded. This function pulls all of the spritesheet information, packaging it into an easy to access object.&lt;/p&gt;
&lt;pre&gt;Dictionary Sheets = responseDict[&quot;sheets&quot;] as Dictionary;&lt;/pre&gt;
&lt;p&gt;I then loop over all of the spritesheets returned and create a nice little object to hold them all.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/2011/10/31/glitch-run-port-to-xna-part-2/&quot; class=&quot;more-link&quot;&gt;Read More&amp;hellip;&lt;/a&gt;&lt;/div&gt;
</content:encoded>
	</item> 
	<item> 
		<title>Developer Meetup October</title> 
		<link>http://www.glitch.com/blog/2011/10/28/developer-meetup-october/</link> 
		<pubDate>Fri, 28 Oct 2011 19:36:09 +0000</pubDate> 
		<dc:creator>Myles Grant</dc:creator>
		<guid isPermaLink="false">/blog/2011/10/28/developer-meetup-october/</guid>
		<description>&lt;p&gt;To everyone that made it out to our first Glitch Developer Meetup, we extend a giant &amp;#8220;Thank you!&amp;#8221; It was awesome meeting all of you. For those of you that couldn&amp;#8217;t make it, or live outside our area, here is a recap of everything that went on. Tiny Speck&amp;#8217;s Cal Henderson gave a presentation that covered the evolution of game [...]&lt;/p&gt;
</description>
		<content:encoded>&lt;p&gt;To everyone that made it out to our first Glitch Developer Meetup, we extend a giant &amp;#8220;Thank you!&amp;#8221; It was awesome meeting all of you. For those of you that couldn&amp;#8217;t make it, or live outside our area, here is a recap of everything that went on.&lt;/p&gt;
&lt;p&gt;Tiny Speck&amp;#8217;s Cal Henderson gave a presentation that covered the evolution of game APIs, explained the current state of the Glitch API, and showcased some of the existing Glitch API creations.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://c1.glitch.bz/wp-uploads/dev/2011/10/CalPresenting2_1319825271.jpg&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-115&quot; title=&quot;Cal Presenting&quot; src=&quot;http://c1.glitch.bz/wp-uploads/dev/2011/10/CalPresenting2_1319825271.jpg&quot; alt=&quot;&quot; width=&quot;3078&quot; height=&quot;1652&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/2011/10/28/developer-meetup-october/&quot; class=&quot;more-link&quot;&gt;Read More&amp;hellip;&lt;/a&gt;&lt;/p&gt;
</content:encoded>
	</item> 
	</channel>
</rss>