BrianPeek.com

A Compendium of Random Uselessness
in Search

FPS mouse movement

Last post Tue, Jul 29 2008 8:51 PM by GameQ. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Tue, Jul 29 2008 7:51 PM

    • sashah
    • Top 100 Contributor
    • Joined on Tue, Jul 29 2008
    • Posts 1

    FPS mouse movement

    Hi Just wondering if this library has been used to control an FPS mouse using the IR??? Much like the many scripts that have been developed using GlovePIE. I really want to build a nice custom interface and GUI using this library rather than modding GlovePIE scripts all the time!!! Has anyone done some code that can control a mouse in an FPS game?? thanks
  • Tue, Jul 29 2008 8:51 PM In reply to

    • GameQ
    • Top 50 Contributor
    • Joined on Tue, Jul 29 2008
    • Posts 4

    Re: FPS mouse movement

    The library is "simply" a piece of code that talks to a Wiimote that is sending data to a bluetooth receiver. The library will give you all data that the Wiimote is sending (IR, accelerometer's, buttons) in nice easy to access function calls. What is done with that data is in the programmers hands. I do not personally do much programming with the Windows SDK, but if you can write C# (or C++ if you want to write a wrapper around this library) code that can manipulate a the windows mouse, go for it.

    But it wont be very good. PC FPS games use an jittering mouse mechanic for looking. The game centers the mouse. The user moves the pointer, the game reads how far away from the center it is, and rotates the players camera in respect to that. Re-centers the mouse, and repeats the next frame.

    The Wiimote is not ideal in this case, because there is no way to automaticy "re-center" the IR, unless you strap a machine to the players arm that will physically move it back to the center in less then 1/60th of a second. There are only two good ways to use Wiimote for FPS, the bounding box method seen in Metroid and Red Steel, or good ol' joystick. Since the crosshair in stuck in the center of the screen, bounding box is out, and joysticks are... well... joysticks.

    ~Quinn 

Page 1 of 1 (2 items)
Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems