iOS Game Development Tutorial: Using the Accelerometer with Sparrow 2.0

iPhone_WoodBGwMarbleWe recently answered the question, “How do I access accelerometer data?”.  If you have not read this article or you are not familiar with accessing accelerometer data then please pause here and take a minute to read the article.  In today’s tutorial we will take this new knowledge and apply it to build an app to simulate a ball rolling on a table.  This technique would be used to create a Labyrinth type game.

First we will setup our Xcode […]

iOS Game Development Answers: How do I access accelerometer data?

ne of the most anticipated features in mobile computing throughout all of history has been the iPhone’s accelerometer.  The ability to receive instantaneous data about the linear acceleration changes of a device along the primary axes in three-dimensional space has been revolutionary.  In particular using this input for iOS game development.  Keep reading and we will answer the question:  How do I access accelerometer data in iOS?

In the early days, starting with iOS 2.0, a shared object UIAccelerometer provides accelerometer data. Simply specify to the UIAccelerometer the interval at which you would like to receive events and […]

Migration of HelloWorld iOS game from Sparrow 1.4 to Sparrow 2.0 – Part II

SparrowLogoThis is the second part of a two-part series.  If you have not read part one you can find it here: “Migration of HelloWorld iOS game from Sparrow 1.4 to Sparrow 2.0 – Part I

As a quick recap,  We are migrating Andreas Wålm’s HelloWorld iOS game to Sparrow framework 2.0.  It was originally written using ARC, CocoaPods, Universal, Sparrow 1.4.

Now that we have the new initialization process in place let’s change the Game class.

Change the Game Class

The Game class represents our root game object and is a subclass of

Migration of HelloWorld iOS game from Sparrow 1.4 to Sparrow 2.0 – Part I

SparrowLogoThis is a two-part article.  Be sure to read the second part “Migration of HelloWorld iOS game from Sparrow 1.4 to Sparrow 2.0 – Part II“.

Sparrow is a pretty awesome Free and Open Source game engine for iOS. If you are gearing up to develop a game or just want to start learning game development as a hobby then Sparrow is a great place to start. It is a pure Objective-C library that has […]

Execute CMD files directly from Visual Studio

This will be the first post to start a category about links to resources that have helped me with various development efforts.  My primary reason for starting this category is to have a sort of blogged favorites listing.  I will also discuss how I have applied this information in my own efforts and any extra twist or tweak that I may have added.  I hope you find the links and information helpful in your own endeavors! Now on to how to execute a .CMD file directly from Visual Studio along with why I wanted to.

What started the quest

We develop a […]

Team Build Error – “contains more than the allowed 259 characters. Type or select a shorter path.”

We use Team Foundation Server as our code repository and Team Foundation Server’s Team Build to do automated nightly builds.  We have configured Team Build for check-ins to trigger a new build.  After check-ins of a large amount of code yesterday for one of our new SQL Server 2008 Database Projects, I arrived at the office today to find a big Build Failed Build Failed icon in my task bar notification area from my friend Team Foundation Build Notification (part of the Microsoft Team Foundation […]

By |December 10th, 2009|Slider, TFS|0 Comments

When the ASP.Net Ajax Update Panel does not Work Check xhtmlConformance Mode

So you have used update panels before.  And the same code you may have used in an AJAX enabled website does not work when you put it into a Web Application.

I struggled with this for several hours before discovering that if you have the following line in your web.config file it breaks ASP.Net AJAX.

I have not researched the reason behind this but I plan to do so and will give an update when I find more information.  Just know that you can comment out this line or change the mode from Legacy and your Update Panel should […]

By |January 31st, 2008|ASP.Net|0 Comments

How to modify Reporting Services CSV export Behavior

So you are trying to change the Reporting Services CSV export behavior.  This article will outline two specific behavior changes:

  • How to turn off exporting of the header record
  • How to change the encoding to ASCII

By default Reporting Services exports a CSV file encoded as Unicode and has a header record.  Lets start with turning off the header record.

NOTE: make a backup of any config file before making any changes.

  1. First find the Instance ID of the Report Server for which you want to make the change.  You can do this by opening the Reporting Services Configuration Manager: All Programs – Microsoft Visual […]