Feb
07
2009

Touchpad control

Here is an example of me using the touchpad I made to control the game. It is slow to respond becuase I recorded this on an old computer. I will test it again once I get my computer fixed.

Get the Flash Player to see this player.

I’ve also included the flash file which can be controled with a mouse. Click here to see a larger version

[kml_flashembed movie="http://zikayn.com/fmp/wp-content/uploads/8.swf" height="550" width="600" /]

Previously the character was controlled using the keyboard. I had to change the way the character moves so it follows the mouse cursor because the touch pad simply moves the mouse cursor around the screen. I coded it so that the character would only follow the X position of the mouse, meaning the character would only follow the mouse moving left and right and not up and down.

Written by Jordan in: Final Major Project |

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com