Fork me on GitHub

Mouse Trail

Posted on: 01-11-10 | By: David | In: Curltable | Comments: RSS 2.0

To improve the feedback of the turntable, especially for the plate, a bit I wrote a simple DrawableGameComponent which draw’s a mouse trail. Simply call it in your game via:

1
Cursor c = new Cursor(this);

The component will register itself. You may need to adjust the elasticity, friction and the scaling of each Trail Point in the component to fit your needs.


Download: MouseTrail 1.0
Screenshots: MouseTrail in Curltable, Standalone

In addition I setup a little multitouch device like the one from here and used the TUIO library and the TUIO C# Client to have multiple Cursors. You will need to download the CCV from the NUIGroup too.


Download: MouseTrail MultiTouch

Feel free to use it in your Game.

Tags: , , , , , , , , , , ,

  • email
  • Twitter
  • Facebook
  • Digg
  • MySpace
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Google Bookmarks
  • Live
  • Technorati
  • MisterWong
  • Mixx
  • NewsVine

Leave a Reply