Pages: 1
Welcome to the official Govepie Scratch discussion! If you have any questions about glovepie, just ask them here!!
Did you know that you can play most scratch projects with a wiimote? All you need, is the program Glovepie, and you'll be well on your way to playing most scratch games with your wiimote! Glovepie is a simple program, that simply put, let's you assign a key press, or mouse movement, with your wiimote. For an example: Could you imagine playing minecraft with your wiimote? That'd be pretty epic, huh? What if you could control your computer with your wiimote. You could do a TON with that. You could even control your favorite music player with your wiimote. For an example, you could make the plus button make the music get louder, the minus button make it quieter, the left and right arrows o change song, they one and two buttons to get to your favorite play list and back to all of the other music, and the A button to play/pause. You could be ANYWHERE in range, (Pretty far) and you could control the music. You could even use your wiimote in powerpoint presentations! There are no limitations that you have with glovepie!
What should you post below? Anything related to glovepie. Any questions, scripts, ideas, tutorials ect. Just post them here. I'll put the top, and useful posts right in this post, so you can easily come back to them when ever you want! I hope you guys enjoy controlling your computer with glovepie

Offline
Here's a really neat script I found that makes almost any wiimote controllable with a wiimote. (Note: I got this script from: squarephoenix.com/glovepie_scripts.html You can find a few other scripts here as well!)
This script should work with any media player that supports the special keyboard keys for Play, Pause, Stop, Next Track, Previous Track, Volume, and Mute. Your keyboard does not need these special keys for the script to work. With some programs, like Windows Media Player 11, you can use the Wiimote to control your music without having to keep the media player in the foreground.
// created and hosted by the owner of www.squarephoenix.com
// please do not try to claim this work as your own
var.lit = 200ms
If Wiimote.One then
var.locked = 1
endif
If Wiimote.A && Wiimote.B then
var.locked = 0
endif
If var.locked == 1 then
Wiimote.Leds = 15
wait var.lit*4
Wiimote.Leds = 0
wait var.lit*4
else
if Wiimote.Plus then
press(NextTrack)
Wiimote.Led4 = 1
wait var.lit
Wiimote.Led4 = 0
release(NextTrack)
endif
if Wiimote.Minus then
press(PrevTrack)
Wiimote.Led1 = 1
wait var.lit
Wiimote.Led1 = 0
release(PrevTrack)
endif
if Wiimote.A then
press(PlayPause)
Wiimote.Leds = 15
wait var.lit
Wiimote.Leds = 0
release(PlayPause)
endif
if Wiimote.Home then
press(Mute)
wait var.lit
release(Mute)
endif
if Wiimote.Down then
press(VolumeDown)
wait 50ms
release(VolumeDown)
press(VolumeDown)
wait 50ms
release(VolumeDown)
press(VolumeDown)
wait 50ms
release(VolumeDown)
endif
if Wiimote.Up then
press(VolumeUp)
wait 50ms
release(VolumeUp)
press(VolumeUp)
wait 50ms
release(VolumeUp)
press(VolumeUp)
wait 50ms
release(VolumeUp)
endif
if Wiimote.Up then
Wiimote.Led1 = 1
wait var.lit/4
Wiimote.Led1 = 0
Wiimote.Led2 = 1
wait var.lit/4
Wiimote.Led2= 0
Wiimote.Led3 = 1
wait var.lit/4
Wiimote.Led3 = 0
Wiimote.Led4 = 1
wait var.lit/4
Wiimote.Leds = 0
endif
if Wiimote.Down then
Wiimote.Led4 = 1
wait var.lit/4
Wiimote.Led4 = 0
Wiimote.Led3 = 1
wait var.lit/4
Wiimote.Led3= 0
Wiimote.Led2 = 1
wait var.lit/4
Wiimote.Led2 = 0
Wiimote.Led1 = 1
wait var.lit/4
Wiimote.Leds = 0
endif
if Wiimote.Two then
press(Keyboard.MediaStop)
wait var.lit
release(Keyboard.MediaStop)
endif
endif
Offline
Cool, cool! There was another discussion about connecting your wiimotes to Scratch, but it's probably buried.
The script looks like Ruby surprisingly enough.
Well, nice find!
Offline
Magnie wrote:
Cool, cool! There was another discussion about connecting your wiimotes to Scratch, but it's probably buried.
The script looks like Ruby surprisingly enough.
Well, nice find!
Do you have any scripts?

Offline
elfin8er wrote:
Magnie wrote:
Cool, cool! There was another discussion about connecting your wiimotes to Scratch, but it's probably buried.
The script looks like Ruby surprisingly enough.
Well, nice find!Do you have any scripts?
No, I don't have a wii or wiimote.
Offline
Magnie wrote:
elfin8er wrote:
Magnie wrote:
Cool, cool! There was another discussion about connecting your wiimotes to Scratch, but it's probably buried.
The script looks like Ruby surprisingly enough.
Well, nice find!Do you have any scripts?
No, I don't have a wii or wiimote.
![]()
You should pick one up. They're worth the ten to fifteen bucks.

Offline
I've always been interested in this, but I have a mac. Has anybody tried this with DarwiinRemote? (A mac version of glovepie).
)Offline
Minecraft on the wiimote
Epicness.

Offline
bendad wrote:
I've always been interested in this, but I have a mac. Has anybody tried this with DarwiinRemote? (A mac version of glovepie).
Has anyone tried it for ubuntu as well?

Offline
Coolness! How does it connect with Scratch?
Offline
elfin8er wrote:
bendad wrote:
I've always been interested in this, but I have a mac. Has anybody tried this with DarwiinRemote? (A mac version of glovepie).
Has anyone tried it for ubuntu as well?
I tried wminput and played Minecraft with it a while ago. I don't really like doing it on Ubuntu any more because sometimes when I plug my Bluetooth adapter in, I get a black screen with a panic error.
Offline
nathanprocks wrote:
elfin8er wrote:
bendad wrote:
I've always been interested in this, but I have a mac. Has anybody tried this with DarwiinRemote? (A mac version of glovepie).
Has anyone tried it for ubuntu as well?
I tried wminput and played Minecraft with it a while ago. I don't really like doing it on Ubuntu any more because sometimes when I plug my Bluetooth adapter in, I get a black screen with a panic error.
I haven't even been able to find a program. Just things that do specific programs. Not glovepie it's self.

Offline
technoboy10 wrote:
Coolness! How does it connect with Scratch?
Do some kind of script like:
when space pressed move 10 stepsand then in glove pie, you'd just make it so when you hit the A button on the wiimote, it emulates the space bar on your keyboard.

Offline
elfin8er wrote:
technoboy10 wrote:
Coolness! How does it connect with Scratch?
Do some kind of script like:
when space pressed move 10 stepsand then in glove pie, you'd just make it so when you hit the A button on the wiimote, it emulates the space bar on your keyboard.
I think you can also control Scratch with the Kinect with GlovePIE.
Offline
bendad wrote:
I've always been interested in this, but I have a mac. Has anybody tried this with DarwiinRemote? (A mac version of glovepie).
Me. The IR sensor is sorta flickery and the whole thing's way too unreliable to work with Scratch.
Offline
elfin8er wrote:
Hmm. I'm having some trouble here. I used to be able to do this very well, but now by wiimote wont stay connect, or will fail completely. Any suggestions?
Weird... It works fine for me.
Controlling your computer with a Wiimote and Kinect... What next? PS Vita? Lol controlling it with a PS Vita would be cool!
Offline
Is it free?

Offline
Can you provide directions on how to connect the Wiimote to the Glovepie emulator and connect the emulator to Scratch? Any kind of directions, as long as it's CLEAR and it WORKS. Please reply soon and thanks!
Offline
I've made my own script to do most of the controls you would need for minecraft:
wiimote.Leds = 5
Key.w = Wiimote1.Right
Key.Escape = Wiimote1.Home
Key.a = Wiimote1.Up
Key.s = Wiimote1.Left
Key.d = Wiimote1.Down
Key.e = Wiimote.A
Key.t = Wiimote.One
Key.BackSpace = Wiimote1.minus
Key.LShift = Wiimote1.B
Key.Space = Wiimote1.Two
Mouse.RightButton = Wiimote1.Nunchuk.ZButton
Mouse.LeftButton = Wiimote1.Nunchuk.CButton
Key.Enter = Wiimote.plus
I'm a noob and I don't know how to do the official HTML for the code, so there it is.
Offline
Mr_Roboman4321 wrote:
I've made my own script to do most of the controls you would need for minecraft:
wiimote.Leds = 5
Key.w = Wiimote1.Right
Key.Escape = Wiimote1.Home
Key.a = Wiimote1.Up
Key.s = Wiimote1.Left
Key.d = Wiimote1.Down
Key.e = Wiimote.A
Key.t = Wiimote.One
Key.BackSpace = Wiimote1.minus
Key.LShift = Wiimote1.B
Key.Space = Wiimote1.Two
Mouse.RightButton = Wiimote1.Nunchuk.ZButton
Mouse.LeftButton = Wiimote1.Nunchuk.CButton
Key.Enter = Wiimote.plus
I'm a noob and I don't know how to do the official HTML for the code, so there it is.
You mean bbcode? That's kind of cool what you have there. I made one a bit ago that made it so you could use the nunchuck to look around, the keypad on the wiimote to move, and you could even shake the nunchuck, like a pick, to harvest/mine.

Offline
elfin8er wrote:
Mr_Roboman4321 wrote:
I've made my own script to do most of the controls you would need for minecraft:
wiimote.Leds = 5
Key.w = Wiimote1.Right
Key.Escape = Wiimote1.Home
Key.a = Wiimote1.Up
Key.s = Wiimote1.Left
Key.d = Wiimote1.Down
Key.e = Wiimote.A
Key.t = Wiimote.One
Key.BackSpace = Wiimote1.minus
Key.LShift = Wiimote1.B
Key.Space = Wiimote1.Two
Mouse.RightButton = Wiimote1.Nunchuk.ZButton
Mouse.LeftButton = Wiimote1.Nunchuk.CButton
Key.Enter = Wiimote.plus
I'm a noob and I don't know how to do the official HTML for the code, so there it is.You mean bbcode? That's kind of cool what you have there. I made one a bit ago that made it so you could use the nunchuck to look around, the keypad on the wiimote to move, and you could even shake the nunchuck, like a pick, to harvest/mine.
Cool... Can I have the script?
Offline
Pages: 1