Search Results for: node

Game development tutorial: Swift and SpriteKit – Part 2 Using Sprites (and by default SKNodes)

  As you can imagine by the name “SpriteKit”, Sprites are a pretty core part of creating a game using SpriteKit.  We are going to continue building on the minimal application we created in the previous part.  I want to point out, this isn’t the recommended way of working with SpriteKit, it is instead the […]

Game development tutorial: Swift and SpriteKit – Part 2 Using Sprites (and by default SKNodes) Read More

Node server side handling of Handlebar templates

  In my prior post introducing the bones of our YUI based level editor, I showed the following way of loading in a template from the server: initializer:function(){ var that=this, request = Y.io(‘/scripts/views/templates/person.Template’,{ on:{ complete:function(id,response){ var template = Y.Handlebars.compile(response.responseText); that.get(‘container’).setHTML(template(that.get(‘model’).getAttrs([‘name’,’age’,’height’]))); } } }); }   This works, but it is less than ideal.  There are […]

Node server side handling of Handlebar templates Read More

Scroll to Top