Frog The Door Games


  • Home
  • Vintage Hero
  • Alawishus Pixel
  • Space Racer
  • Cryptogram
  • Other Stuff
  • Contact

Fixed Position Virtual Thumbsticks

8/3/2010

1 Comment

 
Looking at the new samples on the creators.xna.com I see they have an example for using virtual thumb sticks in a Windows Phone 7 game. I like it, but I decided I wanted a version with the thumbs sticks fixed in place, much like you'd see in an iPhone shooter like Call of Duty: World at War: Zombies. Here's a screen of the result.
Picture

The first thing I decided was to not make the Virtual Thumbstick class static, but instead a DrawableGameComponet. While not consistent with other XNA input implementations, it allows you to add one or more thumbsticks to the list of components and let them load, draw and update without calling any methods. You can simply look at the thumbstick position, see if it's greater than zero, and determine what to do with it when it is.

Read More
1 Comment
    RSS Youtube Twitter Facebook

    Games

    Vintage Hero
    Alawishus Pixel
    Space Racer
    Crytpogram


    Tweets by @frogthedoor



    Archive

    August 2017
    July 2017
    February 2017
    October 2014
    September 2014
    July 2013
    June 2012
    May 2012
    March 2012
    January 2012
    December 2011
    October 2011
    September 2011
    August 2011
    July 2011
    May 2011
    March 2011
    February 2011
    January 2011
    November 2010
    September 2010
    August 2010
    July 2010
    June 2010
    May 2010
    April 2010


    Categories

    All
    Alawishus Pixel
    Cryptogram
    Development
    Press
    Programming
    Screen Shots
    Setlist
    Space Racer
    Tutorial
    Video
    Vintage Hero
    Windows Phone
    Windows Phone 7
    Xna

    RSS Feed



Powered by Create your own unique website with customizable templates.