View Single Post
Old February 8th, 2008   #4 (permalink)
cualquiercosa
Registered User
 
Join Date: Jan 2008
Location: spain
Posts: 10
Ideas

hi,
Squall-Leonhart can you give me more info about??
i think it would be done of almost 3 ways,passing angle as argument
one is as pluggin,only add the ecuation of rotation (do it software)
other is similar but using shader (for do it in video card with shaders)
and the 3 is using render to texture on opengl (for cards without shaders)

The angle is calculate according the input,for example in a fist version using glovepie in windows,and a mouse or a wiimote,(or other devices),or keyboard but it would be more difficult,and pass the filter and the emulator as input.
After do it with SDL for portability and dont need a 3st program.

And for rumble,send a signal when emulator detect rumble funtion ,and pass to input device.


An example of yoshi motion in windows with glovepie (using yoshi cracked version,and not angle):

//yoshi.PIE
// Control yoshi with the mouse!
//Keymaps control position

Keyboard.Z=mouse.LeftButton
Keyboard.X=mouse.RightButton
Keyboard.A=mouse.DirectInputX < 0.5 inches OR mouse.DirectInputY < 0.5 inches
Keyboard.S=mouse.DirectInputX > 0.5 inches OR mouse.DirectInputY > 0.5 inches



And a example for make rumble the wiimote (it is on glovepie scripts

wiibrator : if press up on wiimote it activate rumble.when press down it close.



if wiimote.Up
wiimote.Rumble=1
endif

if wiimote.Dowm
wiimote.Rumble=0
endif


http://carl.kenner.googlepages.com/glovepie_download

and info about rumble and tilt

Specifications
cualquiercosa is offline   Reply With Quote